Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
pglorio committed Sep 11, 2024
1 parent e0cb9fe commit 1df30bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/zamba/modeling_zamba.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def cuda_kernels_forward(
if attention_mask is not None and not torch.all(attention_mask == 1):
hidden_states = hidden_states * attention_mask.unsqueeze(1)

# 3. State Space Model sequence transformation
# 3. SSM sequence transformation
# 3.a. input varying initialization of time_step, B and C

hidden_states = hidden_states.reshape(
Expand Down

0 comments on commit 1df30bb

Please sign in to comment.