guowenxiang commited on
Commit
a310b79
·
verified ·
1 Parent(s): 4eb4d55

Update ldm/modules/diffusionmodules/flag_large_dit_moe.py

Browse files
ldm/modules/diffusionmodules/flag_large_dit_moe.py CHANGED
@@ -481,7 +481,7 @@ class FeedForward(nn.Module):
481
  dim, hidden_dim, bias=False
482
  )
483
 
484
- @torch.compile
485
  def _forward_silu_gating(self, x1, x3):
486
  return F.silu(x1) * x3
487
 
 
481
  dim, hidden_dim, bias=False
482
  )
483
 
484
+ # @torch.compile
485
  def _forward_silu_gating(self, x1, x3):
486
  return F.silu(x1) * x3
487