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 5802c2e commit af40004Copy full SHA for af40004
tests/models/test_modeling_common.py
@@ -124,11 +124,8 @@ def test_cached_files_are_used_when_no_internet(self):
124
if p1.data.ne(p2.data).sum() > 0:
125
assert False, "Parameters not the same!"
126
127
+ @unittest.skipIf(torch_device == "mps", reason="Test not supported for MPS.")
128
def test_one_request_upon_cached(self):
- # TODO: For some reason this test fails on MPS where no HEAD call is made.
129
- if torch_device == "mps":
130
- return
131
-
132
use_safetensors = False
133
134
with tempfile.TemporaryDirectory() as tmpdirname:
0 commit comments