Skip to content

Commit f050b16

Browse files
pritamdamaniafacebook-github-bot
authored andcommittedJan 23, 2020
Move pytorch distributed tests to separate folder for contbuild. (pytorch#30445)
Summary: Pull Request resolved: pytorch#30445 Create distributed and rpc directories under caffe/test for better management of unit tests. Differential Revision: D18702786 fbshipit-source-id: e9daeed0cfb846ef68806f6decfcb57c0e0e3606
1 parent e735395 commit f050b16

File tree

96 files changed

+362
-349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+362
-349
lines changed
 

‎.jenkins/pytorch/multigpu-test.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131

3232
python tools/download_mnist.py --quiet -d test/cpp/api/mnist
3333
OMP_NUM_THREADS=2 TORCH_CPP_TEST_MNIST_PATH="test/cpp/api/mnist" build/bin/test_api
34-
time python test/run_test.py --verbose -i distributed
35-
time python test/run_test.py --verbose -i c10d
36-
time python test/run_test.py --verbose -i c10d_spawn
34+
time python test/run_test.py --verbose -i distributed/test_distributed
35+
time python test/run_test.py --verbose -i distributed/test_c10d
36+
time python test/run_test.py --verbose -i distributed/test_c10d_spawn
3737
assert_git_not_dirty

‎.jenkins/pytorch/test.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,22 @@ elif [[ "${BUILD_ENVIRONMENT}" == *-NO_AVX2-* ]]; then
131131
fi
132132

133133
test_python_nn() {
134-
time python test/run_test.py --include nn --verbose
134+
time python test/run_test.py --include test_nn --verbose
135135
assert_git_not_dirty
136136
}
137137

138138
test_python_ge_config_simple() {
139-
time python test/run_test.py --include jit_simple --verbose
139+
time python test/run_test.py --include test_jit_simple --verbose
140140
assert_git_not_dirty
141141
}
142142

143143
test_python_ge_config_legacy() {
144-
time python test/run_test.py --include jit_legacy jit_fuser_legacy --verbose
144+
time python test/run_test.py --include test_jit_legacy test_jit_fuser_legacy --verbose
145145
assert_git_not_dirty
146146
}
147147

148148
test_python_all_except_nn() {
149-
time python test/run_test.py --exclude nn jit_simple jit_legacy jit_fuser_legacy --verbose --bring-to-front quantization quantized quantized_tensor quantized_nn_mods
149+
time python test/run_test.py --exclude test_nn test_jit_simple test_jit_legacy test_jit_fuser_legacy --verbose --bring-to-front test_quantization test_quantized test_quantized_tensor test_quantized_nn_mods
150150
assert_git_not_dirty
151151
}
152152

0 commit comments

Comments
 (0)