Repository navigation
Conversation
Signed-off-by: kliuae <kuanfu.liu@embeddedllm.com> Co-authored-by: Claude Opus <noreply@anthropic.com>
Signed-off-by: kliuae <kuanfu.liu@embeddedllm.com>
Signed-off-by: kliuae <kuanfu.liu@embeddedllm.com> Co-authored-by: Claude Opus <noreply@anthropic.com>
Signed-off-by: kliuae <kuanfu.liu@embeddedllm.com> Co-authored-by: Claude Opus <noreply@anthropic.com>
Signed-off-by: kliuae <kuanfu.liu@embeddedllm.com> Co-authored-by: Claude Opus <noreply@anthropic.com>
Signed-off-by: kliuae <kuanfu.liu@embeddedllm.com> Co-authored-by: Claude Opus <noreply@anthropic.com>
Signed-off-by: kliuae <kuanfu.liu@embeddedllm.com> Co-authored-by: Claude Opus <noreply@anthropic.com>
Contributor
🏷️ CI GuideRuns automatically on every eligible PR before approval:
Heavy model tests:
|
This branch has not been deployed
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.
Motivation
This PR adds support for GLM-5.3-Flash in ATOM-vLLM mode, with prefix caching, LMCache KV offloading, and MTP speculative decoding. Currently only tested on single-node MI355X x8, TP8, fp8 KV cache.
Technical Details
Plugin
LMCache offload
MTP
Test Plan
Model: zai-org/GLM-5.3-Flash, single node MI355X x8, TP8
Accuracy
Server command
LMCache server command
lm_eval was run twice on each LMCache configured servers. In between the two runs, the HBM prefix cache was reset (
curl -X POST http://localhost:8000/reset_prefix_cache), so that the second run can only reuse prefixes by loading them from LMCache.lm_eval command
Agentic workload with shared prefix was used to evaluate the effectiveness of KV cache offloading. The workload used has 128 shared prefixes of 27648 tokens, 4608 unique tokens and 512 output tokens per request, at concurrency 16, lasting for 900s.
Server command: the accuracy server commands, appended with
--max-model-len 65536 --max-num-seqs 64 --max-num-batched-tokens 16384 --enable-prompt-tokens-details, in four configurations--no-enable-prefix-caching--enable-prefix-caching--enable-prefix-caching --num-gpu-blocks-override 2048--num-gpu-blocks-override 2048(the last two with MTP 3)
Benchmark command
Test Result
lm_eval with gsm8k, 20-shot
MTP 3 mean acceptance length: 3.47 - 3.48
Shared-prefix performance, MI355X TP8
MTP 3 mean acceptance length: 2.57, with and without LMCache
Submission Checklist