Skip to content

Commit

Permalink
Fix distributed test paths when running periodic multigpu job (#89225)
Browse files Browse the repository at this point in the history
Some distributed tests are moved to a new location after #88698. This is currently failing periodic multigpu job:

* https://github.com/pytorch/pytorch/actions/runs/3484486207/jobs/5829301159
* https://github.com/pytorch/pytorch/actions/runs/3484486207/jobs/5829301093

Pull Request resolved: #89225
Approved by: https://github.com/clee2000
  • Loading branch information
huydhn authored and pytorchmergebot committed Nov 17, 2022
1 parent f057a45 commit fbbf368
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .jenkins/pytorch/multigpu-test.sh
Expand Up @@ -8,11 +8,6 @@
source "$(dirname "${BASH_SOURCE[0]}")/common.sh"

echo "Testing pytorch"
if [ -n "${CI}" ]; then
# TODO move this to docker
# Pin unittest-xml-reporting to freeze printing test summary logic, related: https://github.com/pytorch/pytorch/issues/69014
pip_install "unittest-xml-reporting<=3.2.0,>=2.0.0"
fi

# Disabling tests to see if they solve timeout issues; see https://github.com/pytorch/pytorch/issues/70015
# python tools/download_mnist.py --quiet -d test/cpp/api/mnist
Expand All @@ -28,8 +23,8 @@ time python test/run_test.py --verbose -i distributed/rpc/cuda/test_tensorpipe_a
# FSDP tests
for f in test/distributed/fsdp/*.py ; do time python test/run_test.py --verbose -i "${f#*/}" ; done
# ShardedTensor tests
time python test/run_test.py --verbose -i distributed/_shard/checkpoint/test_checkpoint
time python test/run_test.py --verbose -i distributed/_shard/checkpoint/test_file_system_checkpoint
time python test/run_test.py --verbose -i distributed/checkpoint/test_checkpoint
time python test/run_test.py --verbose -i distributed/checkpoint/test_file_system_checkpoint
time python test/run_test.py --verbose -i distributed/_shard/sharding_spec/test_sharding_spec
time python test/run_test.py --verbose -i distributed/_shard/sharding_plan/test_sharding_plan
time python test/run_test.py --verbose -i distributed/_shard/sharded_tensor/test_megatron_prototype
Expand Down

0 comments on commit fbbf368

Please sign in to comment.