Skip to content

[sglang-miles] Add SGLANG_DISABLE_MULTIMEM_AG to force the NCCL all-gather path - #36110

Merged
yueming-yuan merged 1 commit into
sglang-milesfrom
yueming/multimem-ag-env-gate
Aug 24, 2026
Merged

[sglang-miles] Add SGLANG_DISABLE_MULTIMEM_AG to force the NCCL all-gather path#36110
yueming-yuan merged 1 commit into
sglang-milesfrom
yueming/multimem-ag-env-gate

Conversation

@yueming-yuan

@yueming-yuan yueming-yuan commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

Motivation

On GB300 NVL72 running 8 colocated tp8 engines (miles RL, DeepSeek-V4-Flash-0731), the multimem all-gather's symmetric-memory rendezvous is unreliable when many engines initialize concurrently: some ranks time out after 600s ("multimem all-gather disabled (wait timeout ...)") and others deadlock inside the rendezvous right after "Registering N cuda graph addresses", which blocks engine init forever (the ray init handle never resolves and the whole colocate bring-up hangs).

Modifications

Add an SGLANG_DISABLE_MULTIMEM_AG env (default off, no behavior change) that forces MultimemAllGatherer to the NCCL fallback path, skipping the symm-mem rendezvous entirely. Correctness is unaffected — the NCCL path is the existing fallback the gatherer already uses whenever multimem is unavailable.

Validated on the 8-node GB300 bringup: with the gate set, all 8 engines initialize reliably and training runs (6+ consecutive rollout/train cycles).


CI States

Latest PR Test (Base): ❌ Run #32698829006
Latest PR Test (Extra): ❌ Run #32698828336
Latest PR Test (AMD ROCm 7.2): ➖ No AMD PR run found for this commit.

@yueming-yuan
yueming-yuan force-pushed the yueming/multimem-ag-env-gate branch from d7906d4 to 013aa7f Compare August 24, 2026 06:48
@yueming-yuan
yueming-yuan merged commit a6100a0 into sglang-miles Aug 24, 2026
71 of 81 checks passed
@yueming-yuan
yueming-yuan deleted the yueming/multimem-ag-env-gate branch August 24, 2026 06:49
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