Fix swiglu parameter order (#767)

This commit is contained in:
Tarjei Mandt
2026-01-17 09:13:23 -05:00
committed by GitHub
parent c27c94a0ff
commit 5261ab85ee
+1 -1
View File
@@ -154,7 +154,7 @@ class SwiGLU(nn.Module):
super().__init__()
def __call__(self, x, gate):
return swiglu(x, gate)
return swiglu(gate, x)
class SwitchGLU(nn.Module):