Skip to content

Commit

Permalink
Jamba: fix left-padding test (#30389)
Browse files Browse the repository at this point in the history
fix test
  • Loading branch information
gante authored Apr 22, 2024
1 parent f3b3533 commit 6c7335e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/jamba/test_modeling_jamba.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def _prepare_model_kwargs(input_ids, attention_mask, signature):
return model_kwargs

for model_class in decoder_only_classes:
config, input_ids, attention_mask, _ = self._get_input_ids_and_config()
config, input_ids, attention_mask = self._get_input_ids_and_config()
model = model_class(config).to(torch_device).eval()
signature = inspect.signature(model.forward).parameters.keys()

Expand Down

0 comments on commit 6c7335e

Please sign in to comment.