Repository navigation
cp: [r3.1.0] build(speechlm2): bump the vllm extra to vLLM 0.33.0 - #16755
chtruong814 merged 1 commit into
Conversation
* 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]>
|
/ok to test 14a97fc |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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.
|
[🤖]: 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. |
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'sVLLM_WORKER_MULTIPROC_METHOD=spawninstruction. Compared both conflict sides and the source patch.docs/source/speechlm2/nemotron_transcribe.rst: Kept the file absent because it does not exist onr3.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.