Repository navigation
[https://nvbugs/6812588][fix] Cherry-pick #20019 to release/1.3: bound Qwen3.5 batch/seq len in multi-node disagg tests - #20023
Merged
reasonsolo merged 1 commit intoOct 9, 2026
Merged
reasonsolo merged 1 commit into
reasonsolo merged 1 commit into
Conversation
…de disagg tests The multi-node disaggregated serving tests run Qwen3.5-4B with the default max_batch_size (2048) and max_seq_len (262144). The hybrid model's V2 cache manager reserves recurrent state for every resident sequence up front (~54 GB per GPU), which does not fit on 80 GB H100s with free_gpu_memory_fraction=0.8, so the ctx/gen servers fail to start. Cap max_batch_size to 128 and max_seq_len to 8192, which the tests' 10-token completions never approach. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Lizhi Zhou <[email protected]> (cherry picked from commit 21a2243)
reasonsolo
requested review from
bo-nv,
cascade812,
chuangz0 and
tongyuantongyu
October 9, 2026 04:56
JunyiXu-nv
approved these changes
Oct 9, 2026
Contributor
|
Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements. |
Collaborator
Author
|
/bot run --disable-fail-fast |
reasonsolo
enabled auto-merge (squash)
October 9, 2026 05:10
Collaborator
|
PR_Github #76891 [ run ] triggered by Bot. Commit: |
chuangz0
approved these changes
Oct 9, 2026
Collaborator
|
PR_Github #76891 [ run ] completed with state |
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Cherry-pick of #20019 to release/1.3 (fix commit only; release/1.3 has no H100 waivers for this bug).
On H100,
test_e2e.py::test_openai_disagg_multi_nodes_completion*fail on release/1.3 even though it already contains the UCX/NIXL fix (#19544). Since #18654, these tests run Qwen3.5-4B with the defaultmax_batch_size(2048) andmax_seq_len(262144). For this hybrid model, the V2 cache manager reserves recurrent state up front for every resident sequence (max_batch_size * pp_size), which is about 54 GB per GPU. Withfree_gpu_memory_fraction=0.8that doesn't fit on an 80 GB H100, so the ctx/gen servers exit during startup:ValueError: The V2 Mamba GPU cache quota is too small for live recurrent states and attention pages: got 51936015974 bytes, need at least 53969223680 bytes.RuntimeError: Executor creation failed due to insufficient GPU memory.This PR caps
max_batch_size=128andmax_seq_len=8192in both multi-node test workers (the tests only send 10-token completions).Test Coverage
Built release/1.3 (2bafd95, the commit QA tested) and ran on H100 PCIe 80 GB.
trtllm-servewith the test's config:V2 Mamba GPU cache quota is too small)_test_disagg_serving_multi_nodes_service_discovery.py::test_completion[etcd]on 2 nodes (the test behindtest_openai_disagg_multi_nodes_completion_service_discovery[etcd]):2..Bug: https://nvbugspro.nvidia.com/bug/6812588
🤖 Generated with Claude Code
Dev Engineer Review
The inspected diff changes only import formatting and removes an unnecessary f-string in
_test_disagg_serving_multi_nodes.py. It does not change runtime behavior. Both test files already contain themax_batch_size=128andmax_seq_len=8192settings in the inspectedHEAD, so the stated memory-cap changes are not present in this diff.QA Engineer Review
The diff modifies one test file. It adds, removes, or changes no test functions, IDs, selectors, or waivers. The existing multi-node completion test still checks a response beginning with
2.; the service-discovery test still checks ten completions. Neither filename appears in the searchedtests/integration/test_lists/paths. Coverage verdict: needs follow-up because the claimed configuration change is not part of the inspected diff. Test execution results were not provided.Per-File QA Perspective
tests/unittest/llmapi/apps/_test_disagg_serving_multi_nodes.py: The diff makes formatting-only edits; it does not alter test behavior. The file was not found in the searched CI or manual-QA test lists.