Skip to content

Commit

Permalink
float16 dep
Browse files Browse the repository at this point in the history
  • Loading branch information
mht-sharma committed Sep 27, 2024
1 parent b2cd1b6 commit 7cb49f6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def forward(self, hidden_states, adapter_data):
if (
SYSTEM == "rocm"
and self.hidden_act == "silu"
and hidden_states.dtype == torch.float16
and hidden_states.shape[0] == 1
and not self.quantize
):
Expand Down

0 comments on commit 7cb49f6

Please sign in to comment.