Skip to content

Commit 861ef05

Browse files
zhaojuanmaofacebook-github-bot
authored andcommitted
Remove rpc fork and dist autograd fork tests from PyTorch repo (pytorch#29827)
Summary: Pull Request resolved: pytorch#29827 There are known issues for "fork tests + OMP" in Pytorch, rpc and dist autograd tests use OMP thread pools, this caused rpc fork and dist autograd fork tests to be flaky. So remove these fork tests from PyTorch repo. rpc spawn and dist autograd spawn tests are still running. Test Plan: unit tests Differential Revision: D18507384 fbshipit-source-id: 9e239f13850832b4b84724828537f73512f3fca9
1 parent 8351350 commit 861ef05

File tree

4 files changed

+1
-61
lines changed

4 files changed

+1
-61
lines changed

test/run_test.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,11 @@
6464
'function_schema',
6565
]
6666

67-
# skip < 3.3 because mock is added in 3.3 and is used in rpc_fork and rpc_spawn
67+
# skip < 3.3 because mock is added in 3.3 and is used in rpc_spawn
6868
# skip python2 for rpc and dist_autograd tests that do not support python2
6969
if PY33:
7070
TESTS.extend([
71-
'rpc_fork',
7271
'rpc_spawn',
73-
'dist_autograd_fork',
7472
'dist_autograd_spawn',
7573
'dist_optimizer_spawn',
7674
])

test/test_dist_autograd_fork.py

-21
This file was deleted.

test/test_dist_optimizer_fork.py

-16
This file was deleted.

test/test_rpc_fork.py

-21
This file was deleted.

0 commit comments

Comments
 (0)