[fix] fix dsv3_router_gemm filter (#7750)

This commit is contained in:
JieXin Liang
2025-07-04 00:25:32 +08:00
committed by GitHub
parent 1e0e549766
commit ac49dac009

View File

@@ -233,7 +233,8 @@ class MoEGate(nn.Module):
)
if (
hidden_states.shape[0] < 4
_is_cuda
and hidden_states.shape[0] < 4
and hidden_states.shape[1] == 7168
and self.weight.shape[0] == 256
and _device_sm >= 90