mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 06:28:48 +00:00
fixed FeedForward
This commit is contained in:
@@ -637,7 +637,7 @@ class FeedForward(nn.Module):
|
||||
|
||||
@torch.compile(disable=disable_selective_torch_compile)
|
||||
def forward(self, x):
|
||||
return self.w2(F.silu(self.w1(x)*self.w3(x)))
|
||||
return self.w2(F.silu(self.w1(x))*self.w3(x))
|
||||
|
||||
|
||||
class JointTransformerBlock(GradientCheckpointMixin):
|
||||
|
||||
Reference in New Issue
Block a user