Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaton committed Mar 29, 2021
1 parent d178e1d commit 40015dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utilities/test_xla_device_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def sleep_fn(sleep_time: float) -> bool:


@patch('pytorch_lightning.utilities.xla_device.TPU_CHECK_TIMEOUT', 3)
@pytest.mark.skipif(not _XLA_AVAILABLE, reason="test requires torch_xla to be present")
def test_result_returns_within_timeout_seconds():
"""Check that pl_multi_process returns within 3 seconds"""
fn = xla_utils.pl_multi_process(sleep_fn)
Expand Down

0 comments on commit 40015dd

Please sign in to comment.