Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 23, 2021
1 parent 9ce794c commit dd01e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/test_tpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def test_reduce(rank):


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

0 comments on commit dd01e03

Please sign in to comment.