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 a5ee7ae commit bd29426Copy full SHA for bd29426
tests/ignite/engine/test_create_supervised.py
@@ -481,7 +481,7 @@ def test_create_supervised_trainer_on_cuda():
481
_test_create_mocked_supervised_trainer(model_device=model_device, trainer_device=trainer_device)
482
483
484
-@pytest.mark.skipif(not torch.backends.mps.is_available(), reason="Skip if no MPS")
+@pytest.mark.skipif(not (_torch_version_le_112 and torch.backends.mps.is_available()), reason="Skip if no MPS")
485
def test_create_supervised_trainer_on_mps():
486
model_device = trainer_device = "mps"
487
_test_create_supervised_trainer_wrong_accumulation(model_device=model_device, trainer_device=trainer_device)
0 commit comments