Repository navigation
[ci][deps] Pin Windows CI to torch 2.11 so the gloo backend initializes - #66760
Merged
Merged
Conversation
torch 2.10.0+cpu Windows wheels are still built without libuv, so ProcessGroupGloo fails with "makeDeviceForHostname(): unsupported gloo device" and //python/ray/tests:test_experimental_collective fails on every Windows postmerge run since #65909. torch 2.11 is the first release whose Windows wheel ships the gloo libuv transport again. Restore the Windows-only relax/expand depset pair, pinned to torch==2.11.0 / torchvision==0.26.0. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: elliot-barn <[email protected]>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
elliot-barn
force-pushed
the
windows-torch211-gloo
branch
from
October 7, 2026 00:39
6c1949d to
056176b
Compare
sai-miduthuri
approved these changes
Oct 8, 2026
elliot-barn
added a commit
that referenced
this pull request
Oct 9, 2026
…loo backend initializes (#66760) (#66858) Cherry-pick of #66760 onto releases/2.60.0. Conflict resolution notes (the branch predates #65909, which is deliberately NOT picked — no fleet-wide torch 2.10 bump here): - Took the incoming side of the config/requirements conflicts: Windows pin moves 2.7.0 → 2.11.0, `windows_tests_torch27_*` depset renamed to `windows_tests_torch_*`, torch27 lock renamed to `windows-tests-torch-ci_depset_py3.10.lock`. - Did NOT take master's generated lock content: master's base Windows lock has drifted from this branch (dl-cpu/test-requirements changes from #65909). Instead regenerated the derived locks on this branch with `bazelisk run //ci/raydepsets:raydepsets -- build ci/raydepsets/configs/ci_windows.depsets.yaml` — base locks reproduced byte-identically, relaxed lock unchanged, and the torch lock now pins `torch==2.11.0+cpu` / `torchvision==0.26.0+cpu`. `--check` passes ("Lock files are up to date"). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
//python/ray/tests:test_experimental_collectivehas failed on every full Windows postmerge run (:ray: core: :windows: python tests [g19_s5]) since #65909 bumped torch to 2.10.0 and retired the Windows torch 2.7 special case. Postmerge build 20086 (dbaa45f0ae, the commit just before #65909) passes. Build 20084 (7219dacfb6, #65909 itself) and every full run after it (20071 … 20130) fail.The first subtest's real error:
After that, every later subtest fails with
TimeoutError: Timed out waiting for GLOO rendezvous metadata.#65909 assumed pytorch/gloo#472 shipped in torch 2.10, but the 2.10.0 Windows wheel is still built without libuv. I checked
torch/lib/torch_cpu.dllin each cp310win_amd64wheel from download.pytorch.org/whl/cpu:transport@gloosymbolsuv.dlltorch 2.11 is the first release with the gloo libuv transport back, so this restores the Windows-only relax/expand depset pair that #65909 removed, pinned to
torch==2.11.0/torchvision==0.26.0instead of 2.7. The rest of the fleet stays on 2.10. Remove the Windows pin once the repo-wide pin reaches 2.11.python/requirements/windows-requirements.txt: Windows-only torch pin, restored.ci_windows.depsets.yaml:relaxed_windows_tests_ci_depsetandwindows_tests_torch_ci_depsetrestored.windows.build.wanda.yamlandbuild_base.shnow consumewindows-tests-torch-ci_depset_py3.10.lock.The new lock differs from
windows-tests-ci_depset_py3.10.lockin exactly two pins:torch2.10.0+cpu → 2.11.0+cpu andtorchvision0.25.0+cpu → 0.26.0+cpu.Testing
bazel run //ci/raydepsets:raydepsets -- build ci/raydepsets/configs/ci_windows.depsets.yaml→ exit 0--check→ exit 0, "Lock files are up to date."pre-commit runon the changed files → passedflaky :windows: core testsstep run on premerge, becausetest_experimental_collectiveis currently tagged flaky:windowsbuildinstalledtorch==2.11.0+cpu.//python/ray/tests:test_experimental_collectivepassed on the first attempt (83.3s); nomakeDeviceForHostname/ gloo rendezvous errors.Additional information
Not a duplicate: no open PR mentions
test_experimental_collectiveor Windows torch/gloo.AI assistance (Claude Code) was used for this change.
🤖 Generated with Claude Code