File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -717,17 +717,19 @@ def _export_llama(modelname, args) -> str: # noqa: C901
717
717
# pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
718
718
backend_options = generate_htp_compiler_spec (use_fp16 = False )
719
719
# pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
720
- partitioner = QnnPartitioner (
721
- # pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
722
- generate_qnn_executorch_compiler_spec (
723
- # pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`.
724
- soc_model = QcomChipset .SM8650 , # default to SM8650
725
- backend_options = backend_options ,
726
- debug = False ,
727
- saver = False ,
728
- ),
729
- skip_node_id_set = {},
730
- skip_node_op_set = {},
720
+ partitioners .append (
721
+ QnnPartitioner (
722
+ # pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
723
+ generate_qnn_executorch_compiler_spec (
724
+ # pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`.
725
+ soc_model = QcomChipset .SM8650 , # default to SM8650
726
+ backend_options = backend_options ,
727
+ debug = False ,
728
+ saver = False ,
729
+ ),
730
+ skip_node_id_set = {},
731
+ skip_node_op_set = {},
732
+ )
731
733
)
732
734
# pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
733
735
_transform (builder_exported_to_edge .export_program ())
You can’t perform that action at this time.
0 commit comments