Repository navigation
[train][ci] Extending timeout for torchft-nightly ci tests - #63789
Conversation
Signed-off-by: elliot-barn <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request downgrades the torchft-nightly dependency from version 2026.5.15 to 2025.7.27 in both the requirements file and the dependency lock file. Additionally, it removes several unused OpenTelemetry-related dependencies, such as opentelemetry-exporter-otlp-proto-http and opentelemetry-exporter-otlp-proto-common. I have no feedback to provide as there are no review comments to assess.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
TimothySeah
left a comment
There was a problem hiding this comment.
I don't see any test_torch_trainer logs in premerge - do you know where I can find them to confirm that it passed?
Can you also explain why you picked torchft-nightly==2025.7.27? There are a decent number of torchft commits after that point (https://github.com/meta-pytorch/torchft/commits/main/), and I also worked with the torchft team to merge meta-pytorch/torchft#317 which fixed meta-pytorch/torchft#283.
This reverts commit 6f1cf42. Signed-off-by: elliot-barn <[email protected]>
test_torchft_linear_replica_failure[1-1-False-3-1] fails because the surviving replica cannot re-form the gloo process group within the 5s timeout after a peer replica dies on a loaded CI machine. The reconfigure times out (DistStoreError: wait timeout after 5000ms), the process group is never initialized, and torchft's allreduce skip-path returns a bare Future whose `_fut` attribute the DDP comm hook asserts on -- surfacing as `AttributeError: 'Future' object has no attribute '_fut'` and a WorkerGroupError that the test (expect_error=False) does not expect. Raise the gloo ProcessGroupGloo and PGTransport timeouts to 30s and the Manager timeout to 60s so the post-failure reconfigure has enough wall-clock to complete, keeping inner PG waits <= the outer quorum timeout. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: elliot-barn <[email protected]>
d7bc334 to
2869144
Compare
The torchft target test_torch_trainer is classified FLAKY in the branch test DB, so the regular premerge step skips it (test_targets.difference (flaky_tests)) and reports "No tests to run". Add --run-flaky-tests to the torchft step so the flaky target is selected (intersection with the flaky set) and we get a real pass/fail on the gloo-timeout recovery fix. REVERT before merge: once the test is un-flaked this flips back to "No tests to run", and the step is a hard gate, not soft_fail. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: elliot-barn <[email protected]>
TimothySeah
left a comment
There was a problem hiding this comment.
Thanks a bunch! Don't forget to change the PR title.
…ct#63789) Extending timeout for torchft-nightly ci tests passing test: https://buildkite.com/anyscale/rayturbo/builds/12936/canvas?sid=019e8a9b-21b5-4b16-9d3a-2a628af5186e&tab=output --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
…ct#63789) Extending timeout for torchft-nightly ci tests passing test: https://buildkite.com/anyscale/rayturbo/builds/12936/canvas?sid=019e8a9b-21b5-4b16-9d3a-2a628af5186e&tab=output --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
…ct#63789) Extending timeout for torchft-nightly ci tests passing test: https://buildkite.com/anyscale/rayturbo/builds/12936/canvas?sid=019e8a9b-21b5-4b16-9d3a-2a628af5186e&tab=output --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: 400Ping <[email protected]>
Extending timeout for torchft-nightly ci tests
passing test: https://buildkite.com/anyscale/rayturbo/builds/12936/canvas?sid=019e8a9b-21b5-4b16-9d3a-2a628af5186e&tab=output