Skip to content

Commit e1f1fbe

Browse files
authored
Skip MPS tests (#8474)
1 parent 4393f7d commit e1f1fbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def pytest_collection_modifyitems(items):
4949
# There are special cases though, see below
5050
item.add_marker(pytest.mark.skip(reason=CUDA_NOT_AVAILABLE_MSG))
5151

52-
if needs_mps and not torch.backends.mps.is_available():
52+
# TODO: uncoment when MPS works again - see FIXME in setup.py
53+
if needs_mps: # and not torch.backends.mps.is_available():
5354
item.add_marker(pytest.mark.skip(reason=MPS_NOT_AVAILABLE_MSG))
5455

5556
if IN_FBCODE:

0 commit comments

Comments
 (0)