Skip to content

Commit

Permalink
Enabled gloo backend in test_distributed unit tests for ROCm (#40395)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #40395

Reviewed By: ngimel

Differential Revision: D25181692

Pulled By: mrshenli

fbshipit-source-id: 29f478c974791efc0acea210c8c9e574944746a5
  • Loading branch information
jithunnair-amd authored and facebook-github-bot committed Nov 26, 2020
1 parent db1b0b0 commit f1c9856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
'WORLD_SIZE': '2' if torch.cuda.device_count() == 2 else '3',
'TEST_REPORT_SOURCE_OVERRIDE': 'dist-nccl'
}
if not TEST_WITH_ROCM and dist.is_gloo_available():
if dist.is_gloo_available():
DISTRIBUTED_TESTS_CONFIG['gloo'] = {
'WORLD_SIZE': '2' if torch.cuda.device_count() == 2 else '3',
'TEST_REPORT_SOURCE_OVERRIDE': 'dist-gloo'
Expand Down

0 comments on commit f1c9856

Please sign in to comment.