Skip to content

[GLM-5.3-Flash] Route kpool indexer top-k through the shared SparseIndexerTopk dispatcher - #57546

Merged
chaunceyjiang merged 3 commits into
vllm-project:mainfrom
chaunceyjiang:glm53-kpool-shared-topk-dispatcher
Sep 20, 2026
Merged

chaunceyjiang merged 3 commits into
vllm-project:mainfrom
chaunceyjiang:glm53-kpool-shared-topk-dispatcher

Conversation

@chaunceyjiang

@chaunceyjiang chaunceyjiang commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

Purpose

[GLM-5.3-Flash] Route kpool indexer top-k through the shared SparseIndexerTopk dispatcher

Test Plan

VLLM_ENGINE_READY_TIMEOUT_S=3600 vllm serve  /mnt/nvme/shared/models/ZhipuAI/GLM-5.3-Flash \                      
  --tensor-parallel-size 4 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":5}' \
  --tool-call-parser glm47 --enable-auto-tool-choice --reasoning-parser glm45 \
  --max-num-seqs 8 --load-format instanttensor

lm_eval run \
  --model local-completions \
  --model_args model=/mnt/nvme/shared/models/ZhipuAI/GLM-5.3-Flash,base_url=http://127.0.0.1:8000/v1/completions,num_concurrent=64,tokenized_requests=False \
  --tasks gsm8k \
  --num_fewshot 5 \
  --batch_size 1 \
  --gen_kwargs temperature=0 \
  --output_path /home/chauncey/vllm/downloads/glm5.3_flash_profile/gsm8k_lm_eval \
  --log_samples \
  --seed 12345


Test Result


|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value |   |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match|↑  |0.9174|±  |0.0076|
|     |       |strict-match    |     5|exact_match|↑  |0.9166|±  |0.0076|


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.

  SparseIndexerTopk dispatcher

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>

@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 Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@mergify mergify Bot added the glm label Sep 18, 2026

@JaredforReal JaredforReal 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.

LGTM

@chaunceyjiang chaunceyjiang added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 20, 2026
@chaunceyjiang

Copy link
Copy Markdown
Member Author

/ci run

@github-actions

Copy link
Copy Markdown

❌ This PR is 69 commits behind upstream main. Your branch must contain every commit currently on upstream main. No new CI build was started. Merge or rebase onto the latest main, then rerun /ci run. To test this branch at your own risk, use /ci run --allow-stale.

@chaunceyjiang

Copy link
Copy Markdown
Member Author

/ci run --allow-stale

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #90024 for commit 5ef6a3161fff.

⚠️ This PR is 70 commits behind upstream main. Running CI at your own risk because --allow-stale was requested; outdated CI configuration may cause failures. Before merging, merge or rebase onto the latest main, then rerun /ci run on the latest PR commit.

@chaunceyjiang

Copy link
Copy Markdown
Member Author

/ci run --allow-stale

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #90057 for commit 540764f1dd5a.

…dexerTopk dispatcher

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
@chaunceyjiang

Copy link
Copy Markdown
Member Author

/ci run --allow-stale

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #90060 for commit 3c50194eaed5.

⚠️ This PR is 1 commit behind upstream main. Running CI at your own risk because --allow-stale was requested; outdated CI configuration may cause failures. Before merging, merge or rebase onto the latest main, then rerun /ci run on the latest PR commit.

@chaunceyjiang
chaunceyjiang enabled auto-merge (squash) September 20, 2026 11:08
@chaunceyjiang
chaunceyjiang merged commit bf01fc4 into vllm-project:main Sep 20, 2026
152 checks passed
JaredforReal added a commit to JaredforReal/vllm that referenced this pull request Sep 30, 2026
Resolve conflicts with vllm-project#57546 (kpool top-k routed through SparseIndexerTopk,
AUTO_COOPERATIVE_MAX_ROWS): keep both the gvr_2 wide-row check and the
cooperative row-limit chain in _resolve_auto and in the resolution test.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
michael-gpu pushed a commit to practical-inference/vllm-ampere-extended that referenced this pull request Oct 20, 2026
…dexerTopk dispatcher (vllm-project#57546)

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

glm ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants