Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,37 @@ override_tp4_c40:
CONC: '40'
KV_OFFLOADING: dram

override_tp4_c58:
roles:
agg:
args:
tensor-parallel-size: 4
page-size: 128
expert-parallel-size: 4
enable-hierarchical-cache: true
hicache-write-policy: write_through
hicache-io-backend: kernel
hicache-mem-layout: page_first
hicache-size: 310
swa-full-tokens-ratio: 0.2
schedule-policy: shortest-prefill-first
max-running-requests: 80
cuda-graph-max-bs-decode: 80
chunked-prefill-size: 16384
max-prefill-tokens: 16384
prefill-decode-interval: 24
stream-interval: 20
mem-fraction-static: 0.86
env:
PYTORCH_HIP_ALLOC_CONF: expandable_segments:True
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
SGLANG_AITER_HONOR_EXPLICIT_MEM_FRACTION: '1'
# Free SWA slots that fell out of the window; above c40 the SWA pool otherwise saturates and prefix matches truncate.
SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS: '1'
# TP4 ranks hit HSA_STATUS_ERROR_OUT_OF_RESOURCES under async scratch reclaim.
HSA_ENABLE_SCRATCH_ASYNC_RECLAIM: '0'
gpus: 4
benchmark:
env:
CONC: '58'
KV_OFFLOADING: dram
2 changes: 1 addition & 1 deletion inferencex-e2e/configs/amd-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ musespark-fp4-mi355x-sglang-agentic-dflash:
- dram-utilization: 0.85
search-space:
- { tp: 8, ep: 8, kv-offloading: none, spec-decoding: draft_model, conc-list: [6, 10, 28], srt-recipe: agentic.yaml }
- { tp: 4, ep: 4, kv-offloading: dram, kv-offload-backend: { name: hicache }, spec-decoding: draft_model, conc-list: [28, 36, 40], srt-recipe: agentic.yaml }
- { tp: 4, ep: 4, kv-offloading: dram, kv-offload-backend: { name: hicache }, spec-decoding: draft_model, conc-list: [28, 36, 40, 58], srt-recipe: agentic.yaml }

kimik3.1-fp4-mi355x-sglang-agentic-dflash:
image: lmsysorg/sglang:dev-kimi-k31-pro-mi35x@sha256:5901db1401ad7b8bc62ac67175f6f013b1b868e2a2dab063ee8848e7290fa9a7
Expand Down
9 changes: 9 additions & 0 deletions inferencex-e2e/perf-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13298,3 +13298,12 @@
- "Framework changes that matter here: mum#38 serves the released GQA sliding-window draft under latency_specialized (FlyDSL sliding-window GQA draft attention, TP-split draft fc and Markov head, AITER logits gather, one-launch draft context K/V store); mum#35 adds fine-grained prefix-cache lookups for sliding-window groups (VLLM_SWA_FINE_GRAINED_PREFIX_HITS, default on) and stores the sliding-window prompt-tail block in the vllm-simple CPU offload; mum#36 stops KV-connector chunks at scheduler-block boundaries under DCP; mum#33 adds FlyDSL sparse MLA for the 96 gathered heads of the DCP branch; mum#30 speeds up the K3 mono decode kernels, extends SP prefill token sharding to DCP1 (concurrency 1 inherits VLLM_K3_SP_PREFILL=1) and fuses the indexer prefill query quantization (bitwise identical)."
- "Draft data types: unchanged. Both drafts ship all-BF16 with no quantization_config, and the draft runs with BF16 weights and activations at every point, sharing the target's BF16 embedding and lm_head. The draft KV cache stays fp8, the same as the target's, at concurrency 16-48, and moves from fp8 to the image's BF16 default at concurrency 1 and 4."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5119

- config-keys:
- musespark-fp4-mi355x-sglang-agentic-dflash
scenario-type:
- agentic-coding
description:
- "Append TP4/EP4 at concurrency 58 to the existing curve on the same lmsysorg/sglang-rocm:muse-spark-open-mi355-1106 image: the concurrency 40 recipe plus SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1 (frees SWA slots that left the window, so the SWA pool does not saturate above concurrency 40) and HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=0."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5155
append-only: true