Skip to content

Commit

Permalink
make explicit gpu dep
Browse files Browse the repository at this point in the history
  • Loading branch information
molbap committed Jan 13, 2025
1 parent b8c34d9 commit e2cb0b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/models/bamba/test_modeling_bamba.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from transformers import AutoTokenizer, BambaConfig, is_torch_available
from transformers.testing_utils import (
require_torch,
require_torch_gpu,
slow,
torch_device,
)
Expand Down Expand Up @@ -493,6 +494,7 @@ def _prepare_model_kwargs(input_ids, attention_mask, signature):

@slow
@require_torch
@require_torch_gpu
class BambaModelIntegrationTest(unittest.TestCase):
model = None
tokenizer = None
Expand Down

0 comments on commit e2cb0b9

Please sign in to comment.