Skip to content

cp: [r3.1.0] build(speechlm2): bump the vllm extra to vLLM 0.33.0 - #16755

Merged
chtruong814 merged 1 commit into
NVIDIA-NeMo:r3.1.0from
svcnemo-autobot:chore/cherrypick-16666-to-r3.1.0
Nov 28, 2026
Merged

chtruong814 merged 1 commit into
NVIDIA-NeMo:r3.1.0from
svcnemo-autobot:chore/cherrypick-16666-to-r3.1.0

Conversation

@svcnemo-autobot

Copy link
Copy Markdown
Contributor

Background

No details provided.

What changed

No details provided.

Details

No details provided.

Tested

No details provided.

Merge-conflict resolutions

  • .claude/skills/finetune-speech-llm/SKILL.md: Applied the source's vLLM 0.33.0 guidance while keeping the target's VLLM_WORKER_MULTIPROC_METHOD=spawn instruction. Compared both conflict sides and the source patch.
  • docs/source/speechlm2/nemotron_transcribe.rst: Kept the file absent because it does not exist on r3.1.0. The source only changes a version reference in that page; importing the entire page would add documentation outside this backport. Verified the target tree and the source hunk.
  • uv.lock: Manually combined the landed vLLM 0.33.0 dependency routing with target-specific dependency choices. Kept the target's Apache TVM FFI 0.1.11 override and package block, Black 26.10.1, TransformerEngine 2.21.0, and telemetry integration. Used the source side of conflicting dependency-routing hunks and normalized Apache TVM FFI references to the single retained version. Static inspection found 419 unique package identities with all resolved dependency references present. Compared selected source package versions and artifacts, allowing target-specific marker routing, and verified retained target package blocks for Apache TVM FFI, Black, and the telemetry integration.

* fix(speechlm2): forward vLLM's extra arguments through the MTP config hook

vLLM 0.33 calls SpeculativeConfig.hf_config_override with a
transformers_mtp_overrides keyword. The SpeechLM replacement accepted only
hf_config, so building any draft model config raised TypeError once the
plugin was registered. Forward extra arguments to vLLM's hook unchanged.

Signed-off-by: Valentin Mendelev <[email protected]>

* fix(speechlm2): disable vLLM 0.33's FP32-weight router GEMM in the precision guard

vLLM 0.33 adds GateLinear.allow_ll_fp32w_gemm. vLLM sets it while the gate
is still BF16, so it stays off after the guard promotes the router to FP32.
Disable it explicitly with the other specialized router GEMMs so the router
keeps the dispatch the guard was validated with.

Signed-off-by: Valentin Mendelev <[email protected]>

* build(speechlm2): bump the vllm extra to vLLM 0.33.0

vLLM 0.33.0 pins torch 2.14.0 and requires Python 3.11 to 3.14. The vllm
extra stays in its own uv conflict group, so the training extras keep
their Torch stack; the only shared change is multidict 7.2.1, which vLLM
0.33 requires and the locked aiohttp accepts. The plugin's minimum
supported vLLM stays 0.32.0. Update the serving, DFlash, quantization and
fine-tuning docs to the new pin.

Signed-off-by: Valentin Mendelev <[email protected]>

* docs(speechlm2): name vLLM 0.33 in the fine-tuning tutorials and skill

The tutorial notebooks, the tutorials README and the finetune-speech-llm skill
still named vLLM 0.32 (the skill 0.28) as the serving release; they now name
0.33.0, the version the vllm extra pins.

Signed-off-by: Valentin Mendelev <[email protected]>

---------

Signed-off-by: Valentin Mendelev <[email protected]>
(cherry picked from commit 33739be)
Signed-off-by: svcnemo-autobot <[email protected]>
@svcnemo-autobot
svcnemo-autobot requested a review from a team as a code owner November 27, 2026 18:25
@copy-pr-bot

copy-pr-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@svcnvidia-nemo-ci svcnvidia-nemo-ci added cherry-pick dependencies Pull requests that update a dependency file force-run-all force-run-speech-ci python:uv Pull requests that update python:uv code labels Nov 27, 2026
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

/ok to test 14a97fc

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This backports vLLM 0.33.0 to r3.1.0, updates serving guidance, forwards the native speculative-config hook arguments, and disables another specialized router GEMM. It is not ready because the new forwarding regression test is skipped by the standard SpeechLM2 jobs. After that is fixed, the dependency upgrade still needs maintainer approval under the repository rubric.

I reviewed all 32 changed files and connected callers with delegated runtime, dependency, and documentation reviews. Static lock inspection found 419 unique package identities with no dangling dependency references. The release-specific Apache TVM FFI, Black, and telemetry records are preserved. The notebook changes contain no executable-code changes.

Validation was read-only, as the selected skill requires. I used 766267172432.dkr.ecr.us-east-1.amazonaws.com/nemo-speech:nemo_container-45915039953, the default-branch CI image because the head's build was still running when I selected it. git diff --check, Python syntax inspection, and JSON/TOML checks passed; no PR code, tests, or behavioral probes ran. Native vLLM 0.33 serving and GPU compatibility were not verified. I relied on successful head checks for DCO, check_isort_and_black, code-linting / Nemo_Linting_Test, and release wheel build/test/validation. At my latest read, 51 checks had succeeded, two were skipped, and the container build was still in progress; this is not a complete CI pass.

Note: formal approval is not available for this request, so this review is posted as a comment only.

Review generated by codex. This was a full review. Request a full review with /review reset=true.

assert original_calls == [hf_cfg]
assert salm_module._ORIGINAL_VLLM_HF_CONFIG_OVERRIDE is _recording_native

def test_patched_override_forwards_native_hook_arguments(self, monkeypatch):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Blocking; correctness issue in regression coverage; introduced by this PR.

The new forwarding regression test is skipped by the standard SpeechLM2 jobs, although it does not need vLLM. It inherits the class-wide skipif(not _HAS_VLLM). Those jobs use the all/CUDA/compiled image, which excludes the conflicting vllm extra. The test setup directly runs the suite without adding vLLM, so this test will report vLLM not installed instead of protecting the hook fix.

Move only this fake-only test to module scope beside the lightweight helper tests, remove its self parameter, and replace the class helper with:

hf_cfg = SimpleNamespace(model_type="unrelated")

Keep the recording native hook and existing assertions. This path avoids vLLM imports because the original hook is injected and the config has no architecture to normalize. Keep the class guard for the integration tests that import vLLM; do not add the conflicting serving stack to the training image.

Acceptance: the moved test must pass rather than skip in the standard CI image without vLLM. The same test must fail against the base wrapper's one-argument signature, while the existing optional integration tests stay guarded.

@github-actions

Copy link
Copy Markdown
Contributor

[🤖]: Hi @svcnemo-autobot 👋,

We wanted to let you know that a CICD pipeline for this PR just finished successfully.

So it might be time to merge this PR or get some approvals.

@chtruong814
chtruong814 merged commit 06912b4 into NVIDIA-NeMo:r3.1.0 Nov 28, 2026
162 checks passed

This branch was previously deployed

2 inactive deployments
public — 14a97fc1 Deployed Nov 27, 2026 by copy-pr-bot[bot] via release / finalize / publish-docs #2644
test — 14a97fc1 Deployed Nov 27, 2026 by copy-pr-bot[bot] via cicd-wait-in-queue #22310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick dependencies Pull requests that update a dependency file force-run-all force-run-speech-ci python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants