Skip to content

Commit 40b5111

Browse files
eigen-kfacebook-github-bot
authored andcommitted
Move ReplaceAtenConvolutionWithCadenceConvolutionPass to common section. (pytorch#14231)
Summary: Move ReplaceAtenConvolutionWithCadenceConvolutionPass to the common section. This diff changes the order of application of this pass for both Helios and Jarvis. Reviewed By: DrJessop Differential Revision: D82045868
1 parent 1c4f2e4 commit 40b5111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/cadence/aot/replace_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2250,6 +2250,7 @@ class CommonReplacePasses:
22502250
ReplaceMMWithAddMMPass,
22512251
ReplaceRepeatWithCatPass,
22522252
ReplaceFullLikeWithFullPass,
2253+
ReplaceAtenConvolutionWithCadenceConvolutionPass,
22532254
]
22542255

22552256

@@ -2282,7 +2283,6 @@ class CadenceReplaceOpsInGraph:
22822283
RemoveNopSelectOpPass,
22832284
ReplacePadWithCatPass,
22842285
ReplaceConstantPadNdWithSlicePass,
2285-
ReplaceAtenConvolutionWithCadenceConvolutionPass,
22862286
ReplaceConvWithChannelLastConvPass,
22872287
ReplaceTrivialConvWithLinear,
22882288
ReplaceConvWithIm2RowAndLinear,

0 commit comments

Comments
 (0)