[fix] fix dsv3_router_gemm filter (#7750)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user