Commit 72499e3
Fix ReduceSumSquare: use axes as input tensor per ONNX spec
Per ONNX opset 18+, ReduceSumSquare axes is an optional input tensor,
not an attribute. Changed axes=[-1] (keyword arg → attribute) to [-1]
(positional arg → input tensor) to match the spec.
Affected files:
- _gated_deltanet.py: L2 normalization of Q and K (2 sites)
- qwen3_tts_tokenizer.py: nearest-neighbor codebook lookup (2 sites)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>1 parent c1cdd3b commit 72499e3
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| |||
0 commit comments