SIGN IN SIGN UP

[Operator Mechanism] Reject `token_dim == 0` in `moe_permute` / `moe_unpermute` (#79470)

* 🐛 Reject token_dim == 0 in moe_permute/moe_unpermute

* 🎨 Pre commit

* 🎨 Move code to avoid contain_unknown_dim jump

* 🎨 Fix early return, add tests

* 🐛 Add check in xpu
苍
č‹å¤Šč’ committed
4f91f53af1841ff827fef98578de0be466cfe534
Parent: 9424709
Committed by GitHub <noreply@github.com> on 7/16/2026, 6:24:50 AM