Skip to content

Commit

Permalink
Remove torch compile (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
josejg authored Apr 9, 2024
1 parent 53160f4 commit f12bc8a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llmfoundry/models/layers/ffn.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ def __init__(
**self.fc_kwargs,
)

@torch.compile
def forward(self, x: torch.Tensor) -> torch.Tensor:
return self.down_proj(self.act(self.gate_proj(x)) * self.up_proj(x))

Expand Down

0 comments on commit f12bc8a

Please sign in to comment.