Skip to content

Commit 6f5a787

Browse files
committed
test
1 parent f8338c5 commit 6f5a787

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ignite/distributed/utils/test_native.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
)
2626

2727

28-
_torch_version_lt_113 = Version(torch.__version__) < Version("1.13.0")
28+
_torch_version_lt_1132 = Version(torch.__version__) < Version("1.13.2")
2929

3030
def _test_native_distrib_single_node_launch_tool(backend, device, local_rank, world_size, init_method=None, **kwargs):
3131
import os
@@ -232,9 +232,9 @@ def test_idist_all_reduce_nccl(distributed_context_single_node_nccl):
232232

233233

234234
@pytest.mark.distributed
235-
@pytest.mark.skipif(not has_native_dist_support, reason="Skip if no native dist support")
236-
@pytest.mark.skipif(_torch_version_lt_113, reason="Skip if older pytorch version")
237235
@pytest.mark.order(-1)
236+
@pytest.mark.skipif(not has_native_dist_support, reason="Skip if no native dist support")
237+
@pytest.mark.skipif(_torch_version_lt_1132, reason="Skip if older pytorch version")
238238
def test_idist_all_reduce_gloo(distributed_context_single_node_gloo):
239239
device = idist.device()
240240
_test_distrib_all_reduce(device)

0 commit comments

Comments
 (0)