Skip to content

Commit dd01e03

Browse files
committed
...
1 parent 9ce794c commit dd01e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models/test_tpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def test_reduce(rank):
350350

351351

352352
@pytest.mark.parametrize("clip_val", [0, 10])
353-
@RunIf(tpu=True)
353+
@pytest.mark.skipif(not _TPU_AVAILABLE, reason="test requires TPU machine")
354354
@pl_multi_process_test
355355
@mock.patch("pytorch_lightning.accelerators.tpu.xla_clip_grad_norm_")
356356
def test_tpu_precision_16_clip_gradients(mock_clip_grad_norm, clip_val, tmpdir):

0 commit comments

Comments
 (0)