Skip to content

Commit 794a90d

Browse files
committed
print qnn graph
1 parent 47c2f2e commit 794a90d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/models/llama/export_llama_lib.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,10 @@ def _export_llama(args) -> LLMEdgeManager: # noqa: C901
800800
# pyre-fixme[16]: Module `backends` has no attribute `qualcomm`.
801801
canonicalize_program(builder.edge_manager.exported_program())
802802

803+
print("lfq: exported program after to_backend")
804+
print(builder.edge_manager.exported_program().graph_module)
805+
print(builder.edge_manager.exported_program().graph_module.print_readable())
806+
803807
builder = builder.to_executorch()
804808

805809
if args.profile_memory:

0 commit comments

Comments
 (0)