Skip to content

Commit

Permalink
Fix missing canonicalize_program in qnn (#8188)
Browse files Browse the repository at this point in the history
* fix

* lint fix
  • Loading branch information
metascroy authored Feb 4, 2025
1 parent 2cfba1a commit ee6f2d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backends/qualcomm/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,10 @@ def set_spec(module, options):
return max_sf_size


def canonicalize_program(obj):
update_spill_fill_size(obj)


def get_decomp_table() -> Dict[torch._ops.OperatorBase, Callable]:
source_decompositions = core_aten_decompositions()
# The below super ops are supported by QNN
Expand Down

0 comments on commit ee6f2d9

Please sign in to comment.