Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -108,6 +108,7 @@ override_tp2_c16:
benchmark:
env:
CONC: '16'
KV_OFFLOADING: none

override_tp4_c1:
roles:
Expand All @@ -128,3 +129,55 @@ override_tp4_c8:
benchmark:
env:
CONC: '8'

# TP2 at 16, 20 and 24 agents with an FP8 (E4M3) KV cache and HiCache host-DRAM
# offload. The rest of the server is the tp2 recipe above. FP8 KV grows the GPU KV
# pool 1.9x (2.10M to 3.96M tokens at c16); HiCache keeps evicted prefixes in host memory
# (50 GB per rank, inside the point's 308 GB DRAM share) instead of dropping them. Admission is 2x CONC, as in tp2_c16.
override_tp2_c16_hicache:
roles:
agg:
gpus: 2
args: &tp2_hicache_args
tensor-parallel-size: 2
expert-parallel-size: 2
max-running-requests: 32
cuda-graph-max-bs-decode: 32
enable-linear-replayssm-spec: true
kv-cache-dtype: fp8_e4m3
enable-hierarchical-cache: true
hicache-size: 50
hicache-io-backend: kernel
hicache-mem-layout: page_first
hicache-write-policy: write_back
benchmark:
env: &tp2_hicache_client
KV_OFFLOADING: dram
TOTAL_CPU_DRAM_GB: '308'
CONC: '16'

override_tp2_c20_hicache:
roles:
agg:
gpus: 2
args:
<<: *tp2_hicache_args
max-running-requests: 40
cuda-graph-max-bs-decode: 40
benchmark:
env:
<<: *tp2_hicache_client
CONC: '20'

override_tp2_c24_hicache:
roles:
agg:
gpus: 2
args:
<<: *tp2_hicache_args
max-running-requests: 48
cuda-graph-max-bs-decode: 48
benchmark:
env:
<<: *tp2_hicache_client
CONC: '24'
3 changes: 3 additions & 0 deletions inferencex-e2e/configs/nvidia-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4058,6 +4058,8 @@ qwen3.5-fp8-h200-sglang-agentic-mtp:
- { tp: 8, ep: 8, spec-decoding: mtp, kv-offloading: none, conc-list: [4, 8, 12, 16], srt-recipe: agentic.yaml }
- { tp: 8, ep: 8, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [4, 8, 12, 16], srt-recipe: agentic.yaml }

# TP2 at 16, 20 and 24 agents also runs with an FP8 KV cache and HiCache host-DRAM
# offload (FastPath Agentic Recipe). Concurrency 1-16 on GPU KV are unchanged.
qwen3.8next-fp8-h200-sglang-agentic-mtp:
image: lmsysorg/sglang:v0.5.23-cu130@sha256:f832b5c39559c9caa900b22ad37c76fcce66470676855c42052102c537812f1f
model: Qwen/Qwen3.8-Flash-Next-FP8
Expand All @@ -4072,6 +4074,7 @@ qwen3.8next-fp8-h200-sglang-agentic-mtp:
- dram-utilization: 0.8
search-space:
- { tp: 2, ep: 2, spec-decoding: mtp, kv-offloading: none, conc-list: [1, 8, 12, 14, 16], srt-recipe: agentic.yaml }
- { tp: 2, ep: 2, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [16, 20, 24], srt-recipe: agentic.yaml }
- { tp: 4, ep: 4, spec-decoding: mtp, kv-offloading: none, conc-list: [1, 8], srt-recipe: agentic.yaml }

glm5.3flash-fp8-h200-sglang-agentic-mtp:
Expand Down
10 changes: 10 additions & 0 deletions inferencex-e2e/perf-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13298,3 +13298,13 @@
- "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:
- qwen3.8next-fp8-h200-sglang-agentic-mtp
scenario-type:
- agentic-coding
description:
- "Add a TP2/EP2 search-space entry with HiCache DRAM KV offload (kv-offloading: dram, backend hicache) at concurrency 16, 20 and 24, on the same lmsysorg/sglang:v0.5.23-cu130 image (digest-pinned). The existing GPU-KV entries (TP2 at 1/8/12/14/16, TP4 at 1/8) are unchanged; override_tp2_c16 now names KV_OFFLOADING none so that the c16 stock and HiCache points each select one variant."
- "The new points store the KV cache in FP8 E4M3 (kv-cache-dtype fp8_e4m3) and add HiCache with hicache-size 50 per rank, kernel IO backend, page_first layout and write_back policy, inside the point's 308 GB DRAM share (dram-utilization 0.8). Every other server setting is the tp2 recipe; admission and decode CUDA graphs are 2x CONC (32, 40, 48)."
- "No patch, no setup script and no new image."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXXX