Skip to content

[WIP][AMD][AgentX] Kimi-K3 vLLM 1P1D DSpark disagg on MI355X - #2675

Closed
YukioZzz wants to merge 2 commits into
SemiAnalysisAI:mainfrom
YukioZzz:yichaozhu/k3-rocm-agentx-disagg
Closed

[WIP][AMD][AgentX] Kimi-K3 vLLM 1P1D DSpark disagg on MI355X#2675
YukioZzz wants to merge 2 commits into
SemiAnalysisAI:mainfrom
YukioZzz:yichaozhu/k3-rocm-agentx-disagg

Conversation

@YukioZzz

@YukioZzz YukioZzz commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

[WIP] Adds the Kimi-K3 MXFP4 1P1D disaggregated AgentX arm on MI355X (cluster:mi355x-amds):

  • Recipe key: kimik3-fp4-mi355x-vllm-disagg-agentic-mtp
  • Topology: 1P (TP8) × 1D (TP8), MoRIIO KV transfer, DSpark speculative decoding (num_speculative_tokens=2, synthetic AL 2.51)
  • KV tier: none @ conc 1; vLLM SimpleCPUOffloadConnector @ conc 8/12/16 (dram-utilization: 0.50)
  • Engine image: vllm/vllm-openai-rocm:nightly-ac7509e2b1db40fec2f03dde1ed4e9dfdc2338c9
  • Router: vllm/vllm-router:nightly-20260809-d2ba586

Harness changes are scoped to what is required to run this arm:

  • vLLM #51052k3_moriio_51052.patch applied in-container for Kimi-K3 hybrid MLA/KDA over MoRIIO
  • feat(mori-io): add sync transfer wait API ROCm/mori#341 — per-node derived image with IOEngine.wait_all for MoRIIO write mode (READ fallback if build fails on any node)
  • Container bring-upapply_k3_container_patches.sh (gfx950 AITER / Triton MLA / KV-pool fixes)
  • Agentic multinodetrace_replay.sh, MoRIIO + SimpleCPU offload wiring in server_vllm.sh, log collection + CI artifact upload

Supersedes the debug-heavy commit history on the prior branch; one squashed commit on current main.

Validation (End-to-End Tests, branch pre-squash)

conc 12 row used dram-utilization: 0.80 (2,399 GB) from a rescan config; the committed master recipe uses 0.50 for the conc 8/12/16 sweep.

All runs: 1P1D TP8, DSpark MTP, MoRIIO write path, 3600 s agentic trace replay on MI355X.

Test plan

  • Re-run E2E on yichaozhu/k3-rocm-agentx-disagg with the squashed commit (kimik3-fp4-mi355x-vllm-disagg-agentic-mtp master config)
  • Confirm conc 1 (no offload) and conc 8/12/16 (DRAM offload @ 0.50) green through benchmark + artifact upload
  • GSM8K / agentic eval arm (real block verification) when eval job is enabled
  • /reuse-sweep-run after full green sweep with evals passing

Related

@claude claude Bot 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.

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.

…nalysisAI#2602)

Add the agentic trace-replay recipe, models_vllm.yaml serve body, container
patches, and harness wiring for Kimi-K3 MXFP4 1P1D disaggregated serving.
MoRIIO #51052 hybrid-transfer support lands in the following commit.
@YukioZzz
YukioZzz force-pushed the yichaozhu/k3-rocm-agentx-disagg branch from f427482 to 3fd103e Compare August 19, 2026 10:00
Apply vLLM #51052 MoRIIO hybrid-state transfer for Kimi-K3 1P1D: unified diff
patch, wait_all image prep, Kimi-K3 MoRI queue sizing, MultiConnector DRAM tier,
and write-mode batch barrier. Drops the drafter-invariant kv_cache_utils hunk
because draft engines run prefill init and layer counts match the target.
@YukioZzz
YukioZzz force-pushed the yichaozhu/k3-rocm-agentx-disagg branch from 3fd103e to 4e824dd Compare August 19, 2026 11:04
@functionstackx

Copy link
Copy Markdown
Collaborator

lots of patches in this PR, please upstream the patches before reopenning per the AgentX guidelines to avoid flooding the mi355 queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants