Skip to content

Commit e8d2009

Browse files
authored
Add previous logging for to_edge model in export_llama (#8889)
1 parent e83d0f2 commit e8d2009

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extension/llm/export/builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ def to_edge_transform_and_lower(
448448
compile_config=edge_config,
449449
constant_methods=self.metadata,
450450
)
451+
if self.verbose:
452+
logging.info(f"Exported graph:\n{self.edge_manager.exported_program()}")
451453
return self
452454

453455
def to_executorch(

0 commit comments

Comments
 (0)