We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c699d7a commit 961a8e5Copy full SHA for 961a8e5
tests/models/test_modeling_common.py
@@ -753,7 +753,7 @@ def test_deprecated_kwargs(self):
753
" from `_deprecated_kwargs = [<deprecated_argument>]`"
754
)
755
756
- @require_torch_gpu
+ @require_torch_accelerator
757
def test_cpu_offload(self):
758
config, inputs_dict = self.prepare_init_args_and_inputs_for_common()
759
model = self.model_class(**config).eval()
0 commit comments