File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -800,6 +800,11 @@ 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, graph_module" )
804+ print (builder .edge_manager .exported_program ().graph_module )
805+ print ("lfq: exported program after to_backend, print_readable" )
806+ print (builder .edge_manager .exported_program ().graph_module .print_readable ())
807+
803808 builder = builder .to_executorch ()
804809
805810 if args .profile_memory :
Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ def export(self) -> "LLMEdgeManager":
193193 dynamic_shapes = dynamic_shape ,
194194 strict = True ,
195195 )
196+ print ("lfq: exported_module " , exported_module .graph_module )
196197 else :
197198 logging .info ("Exporting with:" )
198199 logging .info (f"inputs: { self .example_inputs } " )
You can’t perform that action at this time.
0 commit comments