Support NemotronH_Omni_Reasoning_V3 in SGLang - #35599
Conversation
|
/tag-and-rerun-ci |
1 similar comment
|
/tag-and-rerun-ci |
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
init_moe_gemm_config only looked for hf_config.text_config, so VLMs whose language sub-config is named llm_config (NemotronH_Omni_Reasoning_V3) fell back to the top-level config, found no MoE top-k attribute, and skipped initialize_moe_config entirely. get_moe_runner_backend() then returned auto instead of the configured backend, leaving NVFP4 MoE weights prepared for CUTLASS while the runner resolved to FlashInfer TRTLLM: NotImplementedError: Unsupported moe_runner_backend for NVFP4 MoE: MoeRunnerBackend.FLASHINFER_TRTLLM. Fall back to hf_text_config, which resolves llm_config / language_config / thinker_config and returns the top-level config when there is no sub-config. Signed-off-by: elvischenv <219235043+elvischenv@users.noreply.github.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> (cherry picked from commit 64ff8e9)
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
2b023ca to
d794cad
Compare
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
9bd55ae to
de33e6e
Compare
|
/tag-and-rerun-ci extra |
|
@rystewart-nvidia could you fix the conflicts? thanks |
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
|
/rerun-failed-ci |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0545f5c4b0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: rystewart-nvidia <rystewart@nvidia.com>
Signed-off-by: rystewart-nvidia <rystewart@nvidia.com>
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
|
/rerun-failed-ci |
|
/rerun-failed-ci |
elvischenv
left a comment
There was a problem hiding this comment.
@rystewart-nvidia could you fix the conflicts? thanks
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
Signed-off-by: Ryan Stewart <rystewart@nvidia.com>
|
/rerun-failed-ci |
Signed-off-by: Ryan Stewart <rystewart@nvidia.com> Signed-off-by: rystewart-nvidia <rystewart@nvidia.com> Co-authored-by: elvischenv <219235043+elvischenv@users.noreply.github.com> Co-authored-by: Po-Han Huang (NVIDIA) <53919306+nvpohanh@users.noreply.github.com>
Motivation
The new Nemotron checkpoint uses the
NemotronH_Omni_Reasoning_V3architecture, which SGLang does not currently recognize. It falls back to the generic Transformers implementation, and the embedded MTP and quantized vision weights do not load correctly.Modifications
NemotronH_Omni_Reasoning_V3as a multimodal model using the existing Nano Nemotron VL implementation.language_model.weight prefix.Most of this reuses the existing Nemotron-H and Nano Nemotron VL paths.
Accuracy Tests
Speed Tests and Profiling
This PR is mainly adding model support. Runtime tests included CUDA graphs and speculative decoding to make sure those paths work.
Checklist
CI States
Latest PR Test (Base): ⏳ Run #34506937330
Latest PR Test (Extra): ❌ Run #34506936523
Latest PR Test (AMD ROCm 10): ❌ Run #34506937053