Skip to content

Commit 961a8e5

Browse files
committed
add more
1 parent c699d7a commit 961a8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models/test_modeling_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ def test_deprecated_kwargs(self):
753753
" from `_deprecated_kwargs = [<deprecated_argument>]`"
754754
)
755755

756-
@require_torch_gpu
756+
@require_torch_accelerator
757757
def test_cpu_offload(self):
758758
config, inputs_dict = self.prepare_init_args_and_inputs_for_common()
759759
model = self.model_class(**config).eval()

0 commit comments

Comments
 (0)