Skip to content

Commit

Permalink
reenable ddp test
Browse files Browse the repository at this point in the history
  • Loading branch information
lsy323 committed Sep 26, 2023
1 parent bf60c10 commit 7f8bd10
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function run_stablehlo_compile {

function run_xla_backend_mp {
echo "Running XLA backend multiprocessing test: $@"
NCCL_DEBUG=INFO MASTER_ADDR=localhost MASTER_PORT=6000 run_test "$@"
MASTER_ADDR=localhost MASTER_PORT=6000 run_test "$@"
}

function run_torch_op_tests {
Expand Down Expand Up @@ -218,8 +218,7 @@ function run_mp_op_tests {
run_xla_backend_mp "$CDIR/test_torch_distributed_all_reduce_xla_backend.py"
run_xla_backend_mp "$CDIR/test_torch_distributed_multi_all_reduce_xla_backend.py"
run_xla_backend_mp "$CDIR/test_torch_distributed_reduce_scatter_xla_backend.py"
# Skip for cuda dev container experiment.
# run_xla_backend_mp "$CDIR/test_ddp.py"
run_xla_backend_mp "$CDIR/test_ddp.py"
run_xla_backend_mp "$CDIR/test_fsdp_auto_wrap.py"
run_xla_backend_mp "$CDIR/test_torch_distributed_fsdp_meta.py"
}
Expand Down

0 comments on commit 7f8bd10

Please sign in to comment.