Update gate.py

This commit is contained in:
Atream 2025-03-20 14:54:01 +08:00 committed by GitHub
parent 32a91c78c1
commit 633af5d235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,7 +215,7 @@ class KMoEGateDeepSeekV3(BaseInjectedModule, KMoEGateBase):
self.gate_linear = None
def forward(self, hidden_states) -> torch.Tensor:
if self.is_windows:
if True or self.is_windows:
return self.orig_module.forward(hidden_states)
bsz, seq_len, h = hidden_states.shape