Skip to content

Commit

Permalink
Merge branch 'tpu/checkpoint' of https://github.com/kaushikb11/pytorc…
Browse files Browse the repository at this point in the history
…h-lightning into tpu/checkpoint
  • Loading branch information
kaushikb11 committed Mar 25, 2021
2 parents 80f15c1 + e18dfe4 commit 4c69b62
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 @@ -357,9 +357,9 @@ def test_reduce(rank):
xmp.spawn(test_reduce, nprocs=8, start_method='fork')


@pytest.mark.parametrize("clip_val", [10])
@RunIf(tpu=True)
@pl_multi_process_test
@pytest.mark.parametrize("clip_val", [10])
@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 4c69b62

Please sign in to comment.