Skip to content

Commit 92633a6

Browse files
authored
Remove CheckerPass from ort_fusion (#2560)
Since onnxruntime defines `SimplifiedLayerNormalization` incorrectly in the standard domain, the checker will fail. Fixing this for Olive.
1 parent 8944f04 commit 92633a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

onnxscript/rewriter/ort_fusions/_core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def optimize_for_ort(
150150
common_passes.LiftConstantsToInitializersPass(lift_all_constants=False, size_limit=1),
151151
common_passes.RemoveInitializersFromInputsPass(),
152152
common_passes.ShapeInferencePass(),
153-
common_passes.CheckerPass(),
154153
)
155154
assert passes.in_place
156155
result = passes(model)

0 commit comments

Comments
 (0)