Skip to content

launcher: bump TRT-LLM to 1.3.0rc20, pin vLLM to v0.22.0, fix max_seq…#1982

Merged
ChenhanYu merged 2 commits into
NVIDIA:mainfrom
noeyy-mino:noeyy/bump-containers-fix-max-seq-len
Jul 22, 2026
Merged

launcher: bump TRT-LLM to 1.3.0rc20, pin vLLM to v0.22.0, fix max_seq…#1982
ChenhanYu merged 2 commits into
NVIDIA:mainfrom
noeyy-mino:noeyy/bump-containers-fix-max-seq-len

Conversation

@noeyy-mino

@noeyy-mino noeyy-mino commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

bump TRT-LLM to 1.3.0rc20, pin vLLM to v0.22.0, fix max_seq_len for Qwen3.5-4B

What does this PR do?

Type of change: Bug fix, new feature

  • Upgrade TRT-LLM container from 1.3.0rc10 to 1.3.0rc20 across all
    Qwen3-8B, Qwen3-30B-A3B, Kimi-K2.5, and gpt-oss-20b launcher configs.
  • Replace Kimi-K2.5 aarch64-specific vLLM image (v0.22.0-aarch64) with
    the multi-arch v0.22.0 tag, which resolves to amd64/arm64 automatically.
  • Fix Qwen3.5-4B throughput_32k runs: raise max_seq_len from 40960 to
    65536 to accommodate outlier prompts (~46.6K tokens) that caused
    VLLMValidationError and aborted the entire benchmark run.
  • Fix specdec_bench_mtp_vllm.yaml: remove reference to non-existent
    runtime_params_throughput_32k.yaml; use --max_seq_len 65536 instead

Usage

cd Model-Optimizer/tools/launcher
uv run launch.py --yaml examples/Qwen/Qwen3-8B/megatron_lm_ptq_local.yaml hf_local=/mnt/hf-local --yes

Testing

N/A

  • Is this change backward compatible?: N/A
  • If you copied code from any other sources or added a new PIP dependency, did you follow guidance in CONTRIBUTING.md: N/A
  • Did you write any new necessary tests?:N/A
  • Did you update Changelog?: N/A
  • Did you get Claude approval on this PR?: N/A

Additional Information

N/A

Summary by CodeRabbit

  • Improvements
    • Updated launcher example pipelines and the default launcher Slurm container to the newer TensorRT-LLM 1.3.0rc20 image.
    • Updated Kimi-K2.5 workflows to use the multi-architecture vLLM 0.22.0 image (removing prior architecture-specific variants).
    • Increased the Qwen3.5-4B long-context benchmark maximum sequence length to 65,536 tokens and simplified the corresponding throughput configuration.

@noeyy-mino
noeyy-mino requested a review from a team as a code owner July 16, 2026 08:16
@noeyy-mino
noeyy-mino requested a review from ChenhanYu July 16, 2026 08:18
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 7cc6c918-0716-4a0a-8ee7-4b7410da7f00

📥 Commits

Reviewing files that changed from the base of the PR and between dcc4aaa and 9c8b5af.

📒 Files selected for processing (4)
  • tools/launcher/examples/Qwen/Qwen3-8B/eagle3_quick_check.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_offline_eagle3.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_offline_eagle3_ptq.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_ptq.yaml

📝 Walkthrough

Walkthrough

Launcher defaults and example Slurm workflows now use updated TensorRT-LLM and vLLM container images. Qwen3.5-4B throughput benchmarks explicitly set a maximum sequence length of 65536.

Changes

Launcher configuration

Layer / File(s) Summary
Default Slurm container
tools/launcher/slurm_config.py
Updates the slurm_factory default TensorRT-LLM image from rc8 to rc20.
Example workflow container images
tools/launcher/examples/Qwen/..., tools/launcher/examples/moonshotai/..., tools/launcher/examples/openai/...
Updates TensorRT-LLM and vLLM image references across example workflows, including removal of quotes from two nightly image values.
Long-context benchmark arguments
tools/launcher/examples/Qwen/Qwen3.5-4B/specdec_bench.yaml, tools/launcher/examples/Qwen/Qwen3.5-4B/specdec_bench_mtp_vllm.yaml
Sets the throughput benchmark maximum sequence length to 65536 and removes reliance on the prior runtime-parameter setting.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: chenhanyu, h-guo18, kevalmorabia97

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: TRT-LLM upgrade, vLLM pinning, and max sequence length fixes.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Security Anti-Patterns ✅ Passed Only Python diff is a slurm container default bump; no torch.load/allow_pickle/trust_remote_code/eval/exec/nosec or dependency changes found.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
⚔️ Resolve merge conflicts
  • Resolve merge conflict in branch noeyy/bump-containers-fix-max-seq-len

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot 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.

Warning

CodeRabbit couldn't request changes on this pull request because it doesn't have sufficient GitHub permissions.

Please grant CodeRabbit Pull requests: Read and write permission and re-run the review.

👉 Steps to fix this

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash.yaml`:
- Line 93: Pin the vLLM smoke-test container from nightly to v0.22.0 in both
tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash.yaml:93-93 and
tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash_multi_node.yaml:96-96
by updating each container reference to the v0.22.0 image, using the multi-arch
variant if that is the established image elsewhere in the PR.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 8a333021-0ee0-4c0b-bc03-754659162969

📥 Commits

Reviewing files that changed from the base of the PR and between cba8a5c and dcc4aaa.

📒 Files selected for processing (21)
  • tools/launcher/examples/Qwen/Qwen3-30B-A3B/hf_streaming_dflash_multi_node.yaml
  • tools/launcher/examples/Qwen/Qwen3-30B-A3B/hf_streaming_eagle3_multi_node.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_eagle3_dryrun.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_online_eagle3.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash_multi_node.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_eagle3.yaml
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_eagle3_multi_node.yaml
  • tools/launcher/examples/Qwen/Qwen3.5-4B/specdec_bench.yaml
  • tools/launcher/examples/Qwen/Qwen3.5-4B/specdec_bench_mtp_vllm.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/hf_dflash_dryrun.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/hf_eagle3_dryrun.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/hf_offline_dflash.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/hf_streaming_dflash.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/hf_streaming_dflash_multi_node.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/hf_streaming_eagle3.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/hf_streaming_eagle3_multi_node.yaml
  • tools/launcher/examples/moonshotai/Kimi-K2.5/specdec_bench.yaml
  • tools/launcher/examples/openai/gpt-oss-20b/hf_streaming_dflash_multi_node.yaml
  • tools/launcher/examples/openai/gpt-oss-20b/hf_streaming_eagle3_multi_node.yaml
  • tools/launcher/slurm_config.py

slurm_config:
_factory_: "slurm_factory"
container: "vllm/vllm-openai:nightly"
container: vllm/vllm-openai:nightly

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.

🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

vLLM smoke-test containers still float on nightly, not pinned to v0.22.0.

The PR objective states vLLM is being pinned to v0.22.0, but these two workflows still reference the unpinned vllm/vllm-openai:nightly tag for their vLLM smoke-test task, making runs non-reproducible.

  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash.yaml#L93-L93: pin container to vllm/vllm-openai:v0.22.0 (or the multi-arch v0.22.0 image used elsewhere in this PR).
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash_multi_node.yaml#L96-L96: same fix — pin to vllm/vllm-openai:v0.22.0.
📍 Affects 2 files
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash.yaml#L93-L93 (this comment)
  • tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash_multi_node.yaml#L96-L96
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash.yaml` at line 93,
Pin the vLLM smoke-test container from nightly to v0.22.0 in both
tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash.yaml:93-93 and
tools/launcher/examples/Qwen/Qwen3-8B/hf_streaming_dflash_multi_node.yaml:96-96
by updating each container reference to the v0.22.0 image, using the multi-arch
variant if that is the established image elsewhere in the PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @ChenhanYu @h-guo18, For the vLLM container, can we use the latest tag—i.e., vllm/vllm-openai:latest—so that it always points to the newest vLLM release version? This way, we wouldn’t need to frequently update the YAML file.

@noeyy-mino
noeyy-mino force-pushed the noeyy/bump-containers-fix-max-seq-len branch from 9c8b5af to 1748dbf Compare July 16, 2026 09:13
…_len for Qwen3.5-4B

Signed-off-by: noeyy-mino <174223378+noeyy-mino@users.noreply.github.com>
Signed-off-by: noeyy-mino <174223378+noeyy-mino@users.noreply.github.com>
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.62%. Comparing base (cba8a5c) to head (1748dbf).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1982      +/-   ##
==========================================
+ Coverage   76.59%   76.62%   +0.03%     
==========================================
  Files         525      525              
  Lines       59253    59253              
==========================================
+ Hits        45385    45404      +19     
+ Misses      13868    13849      -19     
Flag Coverage Δ
regression 14.88% <ø> (-0.14%) ⬇️
unit 54.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ChenhanYu

Copy link
Copy Markdown
Collaborator

/claude review

@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 review passed — no blocking issues found. LGTM

Scope: All 25 changed files reviewed (config-only PR: TRT-LLM/vLLM container tag bumps + max_seq_len fixes). No modelopt/ source touched.

Findings: CRITICAL: 0, IMPORTANT: 0, SUGGESTION: 0

Notable verifications:

  • The removed --runtime_params common/specdec_bench/runtime_params_throughput_32k.yaml reference in specdec_bench_mtp_vllm.yaml points to a file that does not exist anywhere in the repo. Since run.py opens --runtime_params unconditionally, the prior config would have crashed on load — replacing it with --max_seq_len 65536 is a genuine fix, and --max_seq_len correctly maps to max_model_len for the VLLM engine both files use.
  • The 40960 → 65536 bump in specdec_bench.yaml matches the stated need to accommodate ~46.6K-token outlier prompts.
  • Kimi-K2.5 vLLM images moved from the aarch64-specific v0.22.0-aarch64 tag to the multi-arch v0.22.0, and the accompanying comment was updated consistently.

Risk level: Low. No functional/algorithm/state/export code changed; changes are container references and benchmark CLI args. Container tag validity (rc20 availability) can't be verified from the diff and is left to CI/runtime.

Note: CodeRabbit's observation that Qwen3-8B dflash configs still reference vllm/vllm-openai:nightly is pre-existing (this PR only removed the surrounding quotes there) and not introduced by these changes.

@ChenhanYu
ChenhanYu merged commit f10d518 into NVIDIA:main Jul 22, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants