Skip to content

Commit ee4a41e

Browse files
chunnienccopybara-github
authored andcommitted
Add back CanonicalizePass before OptimizeLayoutTransposesPass
PiperOrigin-RevId: 750231632
1 parent 0db3444 commit ee4a41e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ai_edge_torch/_convert/conversion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def _run_convert_passes(
3737
passes = [
3838
fx_passes.CastInputsBf16ToF32Pass(),
3939
fx_passes.BuildInterpolateCompositePass(),
40+
fx_passes.CanonicalizePass(),
4041
fx_passes.OptimizeLayoutTransposesPass(),
4142
fx_passes.CanonicalizePass(),
4243
fx_passes.BuildAtenCompositePass(),

0 commit comments

Comments
 (0)