Skip to content

Commit 94fc92f

Browse files
clee2000pytorchmergebot
authored andcommitted
exclude distributed tests from windows
Fixes #ISSUE_NUMBER helps w/ pytorch#76838 exclude distributed tests from windows b/c minimal interest in maintaining distributed for windows Pull Request resolved: pytorch#76848 Approved by: https://github.com/janeyx99
1 parent 1c776d2 commit 94fc92f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.jenkins/pytorch/win-test-helpers/test_python.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ if not errorlevel 0 (
77
)
88

99
pushd test
10-
python run_test.py --exclude-jit-executor --verbose
10+
python run_test.py --exclude-jit-executor --exclude-distributed-tests --verbose
1111
popd
1212
if ERRORLEVEL 1 exit /b 1

.jenkins/pytorch/win-test-helpers/test_python_first_shard.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo Copying over test times file
2323
copy /Y "%PYTORCH_FINAL_PACKAGE_DIR_WIN%\.pytorch-test-times.json" "%TEST_DIR_WIN%"
2424

2525
echo Run nn tests
26-
python run_test.py --exclude-jit-executor --shard 1 2 --verbose
26+
python run_test.py --exclude-jit-executor --exclude-distributed-tests --shard 1 2 --verbose
2727
if ERRORLEVEL 1 goto fail
2828

2929
popd

.jenkins/pytorch/win-test-helpers/test_python_second_shard.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ echo Copying over test times file
1010
copy /Y "%PYTORCH_FINAL_PACKAGE_DIR_WIN%\.pytorch-test-times.json" "%TEST_DIR_WIN%"
1111

1212
pushd test
13-
python run_test.py --exclude-jit-executor --shard 2 2 --verbose
13+
python run_test.py --exclude-jit-executor --exclude-distributed-tests --shard 2 2 --verbose
1414

1515
popd
1616

0 commit comments

Comments
 (0)