From a93be78e25937f0919b49fb391bf1e5bd1cb6a38 Mon Sep 17 00:00:00 2001 From: Chen Lai Date: Thu, 3 Apr 2025 10:20:08 -0700 Subject: [PATCH] forward fix (#9864) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/9864 forward fix for https://github.com/pytorch/executorch/pull/9643 Reviewed By: kirklandsign Differential Revision: D72353830 --- examples/models/llama/export_llama_lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/models/llama/export_llama_lib.py b/examples/models/llama/export_llama_lib.py index 86e30f0ac62..8e6d4fefb0e 100644 --- a/examples/models/llama/export_llama_lib.py +++ b/examples/models/llama/export_llama_lib.py @@ -904,6 +904,7 @@ def _to_edge_and_lower_llama( # noqa: C901 if args.verbose: print_delegation_info(builder.edge_manager.exported_program().graph_module) if args.num_sharding > 0 and args.qnn: + # pyre-ignore: Undefined import [21]: Could not find a module corresponding to import `executorch.backends.qualcomm.utils.utils`. from executorch.backends.qualcomm.utils.utils import canonicalize_program canonicalize_program(builder.edge_manager.exported_program())