Repository navigation
Conversation
This was referenced Nov 5, 2026
ashhart
added a commit
that referenced
this pull request
Nov 10, 2026
The recipe still said gather warms every peer and that there is no switchless RoCE relay. Gather's warm-up is now one all-gather (#2569), ring's touches only its neighbours (#2126), and TF_TP_ROCE_RELAY=1 relays gathers on a four-rank ring with no opposite links (#2352). Add the NCCL settings the ring needs: the engine sets NCCL_CUMEM_ENABLE and NCCL_RUNTIME_CONNECT to 0 when unset (cuda_native.zig:244,247).
ashhart
added a commit
that referenced
this pull request
Nov 10, 2026
The recipe still said gather warms every peer and that there is no switchless RoCE relay. Gather's warm-up is now one all-gather (#2569), ring's touches only its neighbours (#2126), and TF_TP_ROCE_RELAY=1 relays gathers on a four-rank ring with no opposite links (#2352). Add the NCCL settings the ring needs: the engine sets NCCL_CUMEM_ENABLE and NCCL_RUNTIME_CONNECT to 0 when unset (cuda_native.zig:244,247).
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.
Refs #1971, the warm-up half only.
What this changes
At startup, GLM on CUDA posts a warm-up exchange to every other rank, while a ring only ever talks to its next and previous neighbours. On a switchless ring there's no direct link to the opposite node, so that warm-up can't complete. Startup now passes the existing
ranks.Settings.ringselector into the warm-up: a ring visits only its next and previous ranks, once each at TP=2. Split and gather keep every other peer.The 4 MiB message, buffer offsets, allocation size, stream and position before weight loading are unchanged. An opened group is ended after a failed posting, and nothing posts after it.
No new flag, relay,
fabric/tpcode, transport default, checkpoint arithmetic or kernel. This fixes the warm-up, not the rest of a four-node ring.Checks, all host-only
Not run: any ring. We have no switchless ring here, so the check on real hardware would have to come from someone who does.