Skip to content

references: multinode.md for models split over GPUs or hosts - #10

Open
swbiggart wants to merge 1 commit into
sybil-solutions:mainfrom
swbiggart:multinode
Open

swbiggart wants to merge 1 commit into
sybil-solutions:mainfrom
swbiggart:multinode

Conversation

@swbiggart

@swbiggart swbiggart commented Nov 21, 2026 •

Copy link
Copy Markdown

What this adds

The skill lists multi-GPU in its scope, but nothing covers the links between ranks. This adds
references/multinode.md (35 lines), which SKILL.md points to only when a model is split over GPUs or hosts:

  • fabric checks before measuring, including NCCL's chosen transport and an ib_write_bw floor;
  • communication time and the bus-bandwidth units, and profiling collectives as transfer against wait;
  • comparing only within one session;
  • three levers and two gotchas.

Every session reads three new things: three trigger words in SKILL.md's description (tensor parallel, NCCL, multi-node), one inventory line and one references line. The README gets one references line and one sources line.
No scripts and no other reference changes.

Evidence

Inkling-2-Small at TP4 on four GB10 hosts, NCCL 2.30.7 over RoCE v2, on TensorFold with the
inkling2-sparks recipe's patches. The first rows are from an earlier
switchless ring (both ConnectX-7 ports per host, one NIC throttled) and earlier whole-expert builds. The switch figure
is from the release fabric (one port per host).

Claim Measured Source
One re-probed NIC throttles the ring ~10 Gb/s per PCIe half against ~98 (every rail sending); ring all-gathers held to ~3.1 GB/s bus bandwidth receipt §1–2
Fixing it 3.1 GB/s on the throttled ring → 22.1 GB/s on a switch with every host rebooted; no healthy ring measured receipt §2
Transfer against wait 68 ms TP4 decode step (one profile, throttled ring, eager, whole experts): 13.2–15.4 ms in all-gathers, ~1.6 ms of it transfer receipt §4
Both GB10 PCIe functions in NCCL_IB_HCA ib_write_bw 111.9 Gb/s on one device, 98.0 + 98.0 on both; cold prompts +26.5–28.1% (Qwen3.8-Flash-Next TP2, two GB10s, one cable, mean of 2 starts) TensorFold #2969
Reduce before you gather 5.81 → 3.43 MiB per prompt token; cold prefill +26.5–26.8% (two GB10s), +30.9–33.9% (two RTX PRO 6000s in one host); not alternated; same bits TensorFold #2977

The receipt gist (pinned to a revision) holds the raw outputs behind the first three rows: the ib_write_bw runs, the
all-gather sweeps, and the per-rank profile summary with the script that computed it. Host names are replaced. The two
TensorFold pull requests link their own raw data. Most figures are single runs, and the receipt says so.

Not verified

  • The fabric checks and the NCCL_IB_HCA lever on NVLink, PCIe inside one host, or InfiniBand. Only reduce-before-gather
    was also measured inside one host (two RTX PRO 6000s over PCIe).
  • A healthy four-host ring, or a balanced expert layout end to end.
  • No hardware was used for this PR; every number comes from earlier runs.

Disclosure: I wrote the inkling2-sparks recipe and the two TensorFold pull requests cited.

A short reference read only when a model is split over several GPUs or hosts:
fabric checks before measuring, communication time and transfer against wait,
in-session comparison, and the levers and traps of the links between ranks.
SKILL.md and README.md point to it. Evidence: Inkling-2-Small TP4 on four GB10
hosts over 200G RoCE, and Qwen3.8-Flash-Next TP2 on GB10 and RTX PRO 6000 pairs.
@swbiggart swbiggart changed the title Multi-node: fabric preflight, a communication ceiling and interconnect levers (4× GB10, TP4) references: multinode.md for models split over GPUs or hosts Nov 21, 2026
@swbiggart

Copy link
Copy Markdown
Author

I've cut this down a lot. The first version was too heavy for what the skill is, so I force-pushed a smaller one (one
commit, 3 files, +42 −2), and the description now matches it.

What changed

  • One reference, loaded only when needed. All the multi-GPU/multi-node text is now in references/multinode.md
    (35 lines), and SKILL.md points to it only when a model is split over GPUs or hosts. ceilings.md,
    methodology.md, levers.md and gotchas.md are back to main. Every session reads only three trigger words, an
    inventory line and a references line.
  • Settings over engine work. I dropped the levers that are engine code: the RDMA mailbox, quantized exchange
    codes, compute/communication overlap, split experts, control-link polling. What's left are things an agent can check
    or set: fabric checks, NCCL's chosen transport, NCCL_IB_HCA. The one engine change I kept ("reduce before you
    gather") is tagged [S: TensorFold] and framed as "if you can change the engine".
  • Narrower tags. [G] is kept only for fixing a degraded link. The switch-over-ring item went, since no healthy
    ring was measured. Balanced expert layouts are now a diagnosis under communication time, since no balanced layout
    was measured end to end.
  • No scripts. comm_ceiling.py and fabric_check.sh are out. I can offer them as a separate PR, with tests under
    tests/, if you want them.
  • No results row. The README row compared a release with the previous release's published figures, not an
    interleaved A/B, so it didn't belong beside the other rows. The README now gets one references line and one
    sources line.
  • A fix to my own advice. The first version suggested queue.sh ctl cand cand ctl, which reuses names, so with
    queue.sh as it is on main the second run of each overwrites the first one's log. It now says
    ctl-a cand-a cand-b ctl-b.

Evidence

The numbers are a subset of the first version's. The cluster numbers come from the receipt gist, now updated to match
this version, pinned to a revision, and with the raw outputs behind them: the ib_write_bw runs, the all-gather
sweeps, and the per-rank profile summary with its script. Host names are replaced. The two-rank numbers come from
ashhart/TensorFold#2969 and ashhart/TensorFold#2977, which link their own raw data. Most figures are single runs, and the receipt says so.

Happy to trim further or move things if you'd rather the content lived elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant