Commit ad8a8b0
Skip numerical validation when onnx lacks RMSNormalization schema
Serializing fused models with RMSNormalization requires onnx opset >= 23.
On older onnx versions, tests now fall back to structural checks only
(fusion count + op type assertions still run).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent cb617c0 commit ad8a8b0
File tree
1 file changed
+15
-6
lines changed- onnxscript/rewriter/rules/fusion
1 file changed
+15
-6
lines changedLines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
121 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
122 | 129 | | |
123 | | - | |
| 130 | + | |
| 131 | + | |
124 | 132 | | |
125 | 133 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
130 | 139 | | |
131 | 140 | | |
132 | 141 | | |
| |||
0 commit comments