-
Notifications
You must be signed in to change notification settings - Fork 215
[WIP] agentic: add Kimi Mooncake LMCacheMP disagg recipe #1924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
YukioZzz
wants to merge
5
commits into
main
Choose a base branch
from
yichaozhu/kimi-agentic-MooncakeLMCacheMP
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3ff3823
agent: add Kimi Mooncake LMCacheMP disagg recipe
YukioZzz aa0bf28
agent: tune Kimi Mooncake LMCacheMP recipe
YukioZzz ce37299
ci: remove mi355x disagg runner 06
YukioZzz a24aba6
ci: clean multinode workspace before checkout
YukioZzz 044054c
fix: align Kimi agentic disagg recipe
YukioZzz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1366,6 +1366,56 @@ kimik2.5-fp4-mi355x-vllm-disagg: | |
| additional-settings: | ||
| - "DECODE_NODES=2" | ||
|
|
||
| # Agentic multinode 1P1D bring-up: Mooncake(tcp) carries the current-request | ||
| # prefill->decode KV transfer; LMCacheMP is enabled only on the prefill engine | ||
| # for local host-DRAM L2 prefix reuse. Decode intentionally uses Mooncake only | ||
| # to avoid decode-side LMCache lookup/retrieve racing the remote-prefill load. | ||
| # Keep the vLLM GPU memory target aligned with the known-working Mooncake+ | ||
| # LMCacheMP recipe. Lower values leave too little KV capacity for 262k agentic | ||
| # traces and collapse even low-concurrency warmup into capacity waits. | ||
| kimik2.5-fp4-mi355x-vllm-disagg-agentic: | ||
| image: yukiozzz/kimi-lmc-mc-rocm:dmabuf | ||
| model: amd/Kimi-K2.5-MXFP4 | ||
| model-prefix: kimik2.5 | ||
| runner: mi355x-disagg | ||
| precision: fp4 | ||
| framework: vllm-disagg | ||
| multinode: true | ||
| disagg: true | ||
| scenarios: | ||
| agentic-coding: | ||
| - duration: 1800 | ||
| search-space: | ||
| - spec-decoding: "none" | ||
| conc-list: [ 8, 16, 32 ] | ||
| prefill: | ||
| num-worker: 1 | ||
| tp: 8 | ||
| ep: 1 | ||
| dp-attn: false | ||
| additional-settings: | ||
| - "PREFILL_NODES=1" | ||
| - "ROUTER_TYPE=mc-proxy" | ||
| - "PREFILL_KV_CONNECTOR=mooncake-lmcachemp" | ||
| - "DECODE_KV_CONNECTOR=mooncake" | ||
| - "MC_PROTOCOL=tcp" | ||
| - "ENABLE_PREFIX_CACHING=1" | ||
| - "MAX_MODEL_LEN=262144" | ||
| - "WEKA_LOADER_OVERRIDE=semianalysis_cc_traces_weka_with_subagents_060826_256k" | ||
| - "LMCACHE_L1_SIZE_GB=1200" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how about moving to env.sh |
||
| - "LMCACHE_L1_INIT_SIZE_GB=20" | ||
| - "LMCACHE_L1_READ_TTL_SECONDS=7200" | ||
| - "LMCACHE_CHUNK_SIZE=256" | ||
| - "LMCACHE_MAX_WORKERS=8" | ||
| - "LMCACHE_MP_MQ_TIMEOUT=1200" | ||
| decode: | ||
| num-worker: 1 | ||
| tp: 8 | ||
| ep: 1 | ||
| dp-attn: false | ||
| additional-settings: | ||
| - "DECODE_NODES=1" | ||
|
|
||
| dsr1-fp4-mi355x-sglang-disagg: | ||
| image: lmsysorg/sglang-rocm:v0.5.12-rocm720-mi35x-20260519 | ||
| model: amd/DeepSeek-R1-0528-MXFP4-v2 | ||
|
|
||
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we eliminate the private image ?