Skip to content

Commit d7bdffa

Browse files
Shen Ligchanan
authored andcommitted
[v1.5 Patch] Disable flaky test_backward_node_failure_python_udf test in dist_autograd_test.py
This test is flaky on 1.5 release branch. Below is a failed CI run: https://app.circleci.com/pipelines/github/pytorch/pytorch/157331/workflows/b3e0bd6b-6c55-4d14-bde8-96b8345cf9e2/jobs/5190025
1 parent 9ba0a89 commit d7bdffa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

torch/testing/_internal/distributed/rpc/dist_autograd_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,10 +1411,7 @@ def _wait_backward_done():
14111411
time.sleep(0.1)
14121412

14131413
@dist_init(clean_shutdown=False)
1414-
@unittest.skipIf(
1415-
IS_MACOS,
1416-
"Test is flaky on MacOS since libuv error handling is not as robust as TCP",
1417-
)
1414+
@unittest.skip("Test is flaky, see https://github.com/pytorch/pytorch/issues/35099")
14181415
def test_backward_node_failure_python_udf(self):
14191416
# Set a short timeout to quickly time out failed RPCs.
14201417
rpc._set_rpc_timeout(timedelta(milliseconds=5000))

0 commit comments

Comments
 (0)