Repository navigation
feat(vlm): auto-select CUDA VMM on multi-node MNNVL - #33936
Merged
Merged
Conversation
mickqian
marked this pull request as ready for review
August 7, 2026 04:31
mickqian
requested review from
JustinTong0323,
Ying1123,
hnyls2002,
merrymercy,
xiezhq-hermann,
yhyang201 and
yuan-luo
as code owners
August 7, 2026 04:31
Collaborator
Author
|
/tag-and-rerun-ci extra |
mickqian
requested review from
sogalin,
wisclmy0611 and
zijiexia
as code owners
August 7, 2026 10:34
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
saturn-acc
pushed a commit
to saturn-acc/sglang
that referenced
this pull request
Aug 16, 2026
chencjcj
pushed a commit
to chencjcj/sglang
that referenced
this pull request
Aug 17, 2026
(cherry picked from commit d747bd0) Conflict resolution: both conflicts took upstream's version. - server_args.py: _handle_multimodal_feature_transport's auto-select branch was rewritten wholesale (gains the is_multimodal gate and the multi-node MNNVL/IMEX path); this base only had the flat single-node cuda_ipc branch. - test_server_args.py: adjacent new test cases covering the rewritten branch.
chencjcj
added a commit
to chencjcj/sglang
that referenced
this pull request
Aug 17, 2026
The sgl-project#33936 cherry-pick resolved a conflict in TestMultimodalFeatureTransport by taking upstream's side for the new test cases, but the hunk that added the _set_model_type staticmethod landed in a separate, non-conflicting region that was lost. All 7 call sites failed with AttributeError. Restores the helper verbatim from d747bd0. The class's method set now matches upstream exactly.
Atituiset
pushed a commit
to Atituiset/sglang
that referenced
this pull request
Sep 10, 2026
This branch was successfully deployed
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.
Summary
cuda_vmmfor validated multi-node GB200/GB300 MNNVL deployments when an IMEX channel is mounted.cuda_ipc, and keepcpuas the explicit opt-out and safe fallback.CUDA VMM exports a POSIX FD on one node and a CUDA FABRIC handle on multi-node MNNVL. Consumers still stage remote HBM into local HBM before ViT; the optimization removes the host payload path, not that local staging copy.
Compatibility and memory policy
SGLANG_MM_FEATURE_CACHE_MBremains the shared hard HBM budget for bothcuda_ipcandcuda_vmm(1 GiB by default, split across tokenizer workers).SGLANG_USE_CUDA_IPC_TRANSPORTremains a deprecated compatibility alias forcuda_ipc; it is false forcuda_vmmandcpu.SGLANG_USE_IPC_POOL_HANDLE_CACHEremains CUDA-IPC-only and defaults on.--keep-mm-feature-on-deviceremains a deprecated alias for--mm-feature-transport cuda_ipc.Auto-selection gates
Automatic
cuda_vmmrequires NVIDIA CUDA, a multimodal model that opts in,nnodes > 1, a GB200/GB300 MNNVL device,/dev/nvidia-caps-imex-channels/channel0, and no PD disaggregation. Unsupported models and missing IMEX use CPU. Explicitcuda_vmmretains the upstream validation for model support, pipeline parallelism, Rust server, and CUDA availability.Validation
51ade4ab596bpassed a real-weight single-node H200 smoke test: Qwen3-VL-2B, TP8 encoder DP, explicitcuda_vmm, 16/16 random-image requests successful. With conflictingSGLANG_USE_CUDA_IPC_TRANSPORT=1, the explicit flag won, the compatibility env was cleared, the shared 1024 MiB budget was retained, and startup selected the expected POSIX-FD handle.rx xpusinventory reported 0 available GPUs and 0 free nodes on both GB300 clusters and both B300 clusters. A single-node H200/B200 run cannot validate the multi-node CUDA FABRIC handle or the MNNVL auto-selection gate.CI States
Latest PR Test (Base): ✅ Run #31236621632
Latest PR Test (Extra): ❌ Run #31236621542