[CI] Stabilize GLM-5.2 PCP evaluation - #51015
Merged
Merged
Conversation
Enable expandable CUDA allocator segments for the TP1/PCP4 GLM-5.2 eval so the 32K-token FlashInfer MoE workspace can reuse reserved memory. Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: khluu <khluu000@gmail.com>
Member
Author
|
/runci |
Member
Author
|
/ci run |
khluu
marked this pull request as ready for review
August 4, 2026 20:54
khluu
requested review from
AndreasKaratzas,
mgoin and
vadiklyutiy
as code owners
August 4, 2026 20:54
Member
Author
|
/ci run |
|
✅ CI is already running for this commit: https://buildkite.com/vllm/ci/builds/82253 |
LucasWilkinson
approved these changes
Aug 4, 2026
LucasWilkinson
left a comment
Collaborator
There was a problem hiding this comment.
LGTM; thank you!
khluu
added a commit
that referenced
this pull request
Aug 7, 2026
Signed-off-by: khluu <khluu000@gmail.com> Co-authored-by: OpenAI Codex <codex@openai.com> (cherry picked from commit a5149b2)
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.
Summary
--max-num-batched-tokens 32768, which is needed to exercise the large-batch PCP path;Root cause
The pytest-level error in Buildkite #81913 is only a 20-minute server-start timeout. The worker log shows the actual failure during the profile run:
The allocation comes from FlashInfer CUTLASS MoE's
FusedMoeRunner::getWorkspaceInfo. The same signature is present in Buildkite #80082, before the recent Kimi/K3 changes, so this is not a recent model-runner regression or a bad B200 node.The TP1/PCP4 configuration became memory-tight when
--max-num-batched-tokens 32768was added in #49294. Successful runs such as Buildkite #80689 show that the workload's real peak fits: 159.66 GiB total non-KV memory on a 178.35 GiB B200. The intermittent OOM occurs because a roughly 24 GiB cached allocator segment cannot satisfy the next slightly larger 24.43 GiB FlashInfer workspace request. Expandable segments let that reserved memory grow/reuse instead of requiring a second contiguous allocation.Duplicate-work check
No open PR was found for the GLM-5.2 PCP FlashInfer MoE startup OOM using searches for
GLM-5.2 PCP OOM,lm-eval-pcp-4xb200, andexpandable_segments GLM.Testing
git diff --checkgit commit: passeddgxB200-14with exit status 0PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True: profile run passed with 130.49 GiB of weights and a 28.33–30.23 GiB torch peak, the server started, and all 1,319 GSM8K examples passedThe allocator-only change does not alter model inputs, kernels, or numerics. The B200 model evaluation passed on the first validation iteration.
AI assistance
AI assistance was used for Buildkite log analysis, root-cause isolation, implementation, and drafting this description.