Skip to content

Commit 03abd81

Browse files
jaglinuxfacebook-github-bot
authored andcommitted
[ROCm] Enable skipped distributed global tests (#48023)
Summary: The PR #47898 fixes the global tests. Hence enabling the tests. Signed-off-by: Jagadish Krishnamoorthy <jagdish.krishna@gmail.com> Pull Request resolved: #48023 Reviewed By: malfet, H-Huang Differential Revision: D25347289 Pulled By: rohan-varma fbshipit-source-id: 2b519a3046eae1cf1bfba98a125c09b4a6b01fde
1 parent 9bb87fa commit 03abd81

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

torch/testing/_internal/distributed/distributed_test.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,6 @@ def test_broadcast(self):
989989
"Only Gloo and Nccl backend supports CUDA allReduce",
990990
)
991991
@skip_if_no_gpu
992-
@skip_if_rocm
993992
def test_broadcast_cuda(self):
994993
group, group_id, rank = self._init_global_test()
995994
rank_to_GPU = self._init_multigpu_helper()
@@ -1240,7 +1239,6 @@ def test_reduce_sum_cuda_twice(self):
12401239

12411240
@skip_if_no_gpu
12421241
@require_backend({"gloo", "nccl"})
1243-
@skip_if_rocm
12441242
def test_all_reduce_result_cuda(self):
12451243
group, group_id, rank = self._init_global_test()
12461244
rank_to_GPU = self._init_multigpu_helper()
@@ -1383,7 +1381,6 @@ def test_all_reduce_sum_cuda(self):
13831381
"Only Gloo and NCCL backends will have CUDA allReduce tested",
13841382
)
13851383
@skip_if_no_gpu
1386-
@skip_if_rocm
13871384
def test_all_reduce_sum_cuda_async(self):
13881385
group, group_id, rank = self._init_global_test()
13891386
rank_to_GPU = self._init_multigpu_helper()
@@ -2340,7 +2337,6 @@ def _test_barrier_helper(
23402337

23412338
@skip_if_no_gpu
23422339
@unittest.skipIf(BACKEND == "mpi", "MPI doesn't supports GPU barrier")
2343-
@skip_if_rocm
23442340
def test_barrier_cuda(self):
23452341
group, group_id, rank = self._init_global_test()
23462342
rank_to_GPU = self._init_multigpu_helper()

0 commit comments

Comments
 (0)