Skip to content

[Bugfix] Load and apply Nemotron Super final vision LayerNorm - #61401

Merged
tomeras91 merged 1 commit into
vllm-project:mainfrom
natsala13:fix/nemotron-super-35-vl-make-sure-all-layers-are-loaded
Oct 13, 2026
Merged

tomeras91 merged 1 commit into
vllm-project:mainfrom
natsala13:fix/nemotron-super-35-vl-make-sure-all-layers-are-loaded

Conversation

@natsala13

Copy link
Copy Markdown
Contributor

Continuing @shaunkotek's work from #59664; we are taking it from here in this PR. This branch rebases Shaun's change onto upstream main without changing the patch. The original description and validation claims are copied below; tests were not rerun as part of the rebase.

Overview

Nemotron Super vision checkpoints include vision_projector.vision_final_layernorm.{weight,bias}, but the native loader silently discards these tensors and omits the layer from feature extraction. Load and apply the final vision LayerNorm.

Claims

  • Load the final vision layer norm in nemotron vl encoder, if it is part of the model

Validation

  • Verify that the model loads the layer
  • Sanity accuracy - GSM8K and video-mme-ci-short-100-evs_0_5, no significant gain/loss of accuracy (we know the final layer has little effect on most use cases)

Pull Request Checklist
  • I used vLLM's /pr-checklist skill. (Mandatory for agents, optional for humans).

  • AI assistance was used during the creation of this PR.

  • Design Fit: Minimizes impact on core components, reuses existing functionality, and justifies added complexity.

  • Testing and Validation: Validates the change and ensures any added tests are meaningful and reliable, with CI coverage or documented CI resource constraints and validation performed outside CI.

  • Code Quality and Style: Keeps code and comments clear and concise, and updates relevant documentation and examples.

  • Pull Request Contents: Includes a brief summary and relevant links, supports claims with evidence, explains root causes and implementation trade-offs, and follows the contributing guide.

Signed-off-by: Shaun Kotek - Nvidia <skotek@nvidia.com>

Signed-off-by: Shaun Kotek <skotek@nvidia.com>
@natsala13
natsala13 requested a review from tomeras91 as a code owner October 13, 2026 11:09

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@mergify mergify Bot added multi-modality Related to multi-modality (#4194) bug Something isn't working labels Oct 13, 2026

@tomeras91 tomeras91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Same change as in #59664

@natsala13

Copy link
Copy Markdown
Contributor Author

/ci run

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #94461 for commit 7e033dac4153.

@tomeras91 tomeras91 added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 13, 2026
@github-actions

Copy link
Copy Markdown

✅ @natsala13, CI is now available for this PR.

  • /ci run starts upstream CI; /amd-ci run starts AMD CI only.
  • Your branch must contain every commit currently on its upstream target branch. Merge or rebase onto the latest target branch, then rerun the command. Append --allow-stale to a run command to test an outdated branch at your own risk.
  • /ci retry retries failed jobs in the CI build for the current PR head. If the current head has no CI build, it starts a new CI build for the current head containing only jobs that failed in the latest earlier CI build for this PR.
  • /amd-ci retry retries failed jobs in AMD CI for the current PR head. Use /amd-ci run when the current head has no AMD CI build.
  • /ci cancel cancels scheduled or running CI builds for this PR branch; /amd-ci cancel does the same for AMD CI only.

@tomeras91
tomeras91 enabled auto-merge (squash) October 13, 2026 11:39
@natsala13

Copy link
Copy Markdown
Contributor Author

/ci retry

@github-actions

Copy link
Copy Markdown

✅ Queued 1 failed job(s) for retry in Buildkite CI #94461.

@tomeras91
tomeras91 merged commit 0838cd6 into vllm-project:main Oct 13, 2026
169 of 173 checks passed
@vllm-agent

Copy link
Copy Markdown
Collaborator

Post-merge CI coverage audit found that the changed regression file was not executed by the PR build.

In exact build #94461, the H200 Multimodal Models Standard 4 lane did run, but its command is pytest ... models/multimodal -m core_model. Direct logs show 195 items collected, 179 deselected, and only 16 selected; none of the tests/models/multimodal/test_nano_nemotron_vl.py cases ran. The new LayerNorm test (and the existing tests in that file) has no core_model marker. The dedicated Nemotron 3 Super eval lane was also blocked.

This is a test-wiring gap, not evidence that the source fix is wrong. Please add the file/cases to an automatically executed lane (for example, by applying the intended marker if Standard 4 is the correct home) and rerun that exact lane so the regression is actually gated.

@tomeras91 tomeras91 added this to the v0.32.0 cherry picks milestone Oct 14, 2026
khluu pushed a commit that referenced this pull request Oct 14, 2026
Signed-off-by: Shaun Kotek <skotek@nvidia.com>
Co-authored-by: Shaun Kotek - Nvidia <skotek@nvidia.com>
AndreasKaratzas pushed a commit to AndreasKaratzas/vllm that referenced this pull request Oct 16, 2026
…roject#61401)

Signed-off-by: Shaun Kotek <skotek@nvidia.com>
Co-authored-by: Shaun Kotek - Nvidia <skotek@nvidia.com>

Signed-off-by: Andreas Karatzas <AndreasKaratzas@users.noreply.github.com>
michael-gpu pushed a commit to practical-inference/vllm-ampere-extended that referenced this pull request Oct 20, 2026
…roject#61401)

Signed-off-by: Shaun Kotek <skotek@nvidia.com>
Co-authored-by: Shaun Kotek - Nvidia <skotek@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working multi-modality Related to multi-modality (#4194) ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants