Skip to content

Commit ee6f2d9

Browse files
authored
Fix missing canonicalize_program in qnn (#8188)
* fix * lint fix
1 parent 2cfba1a commit ee6f2d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backends/qualcomm/utils/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,10 @@ def set_spec(module, options):
287287
return max_sf_size
288288

289289

290+
def canonicalize_program(obj):
291+
update_spill_fill_size(obj)
292+
293+
290294
def get_decomp_table() -> Dict[torch._ops.OperatorBase, Callable]:
291295
source_decompositions = core_aten_decompositions()
292296
# The below super ops are supported by QNN

0 commit comments

Comments
 (0)