diff --git a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/qwen3.8next/sglang/h200-fp8-mtp/agentic.yaml b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/qwen3.8next/sglang/h200-fp8-mtp/agentic.yaml index 9b61681c4f..5ca29e2168 100644 --- a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/qwen3.8next/sglang/h200-fp8-mtp/agentic.yaml +++ b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/qwen3.8next/sglang/h200-fp8-mtp/agentic.yaml @@ -101,6 +101,7 @@ override_tp2_c16: benchmark: env: CONC: '16' + KV_OFFLOADING: none override_tp4_c1: roles: @@ -121,3 +122,51 @@ 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) instead of dropping them. Admission is 2x CONC, as in tp2_c16. +override_tp2_c16_hicache: + roles: + agg: + 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 + CONC: '16' + +override_tp2_c20_hicache: + roles: + agg: + 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: + args: + <<: *tp2_hicache_args + max-running-requests: 48 + cuda-graph-max-bs-decode: 48 + benchmark: + env: + <<: *tp2_hicache_client + CONC: '24' diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index fd8bb16241..0f7d801a69 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -4704,6 +4704,8 @@ qwen3.5-fp8-h200-sglang-agentic-mtp: - { gpus-per-worker: 8, tp: 8, ep: 8, spec-decoding: mtp, kv-offloading: none, conc-list: [4, 8, 12, 16], srt-recipe: agentic.yaml } - { gpus-per-worker: 8, 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. 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 @@ -4717,6 +4719,7 @@ qwen3.8next-fp8-h200-sglang-agentic-mtp: agentic-coding: - search-space: - { gpus-per-worker: 2, tp: 2, ep: 2, spec-decoding: mtp, kv-offloading: none, conc-list: [1, 8, 12, 14, 16], srt-recipe: agentic.yaml } + - { gpus-per-worker: 2, tp: 2, ep: 2, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [16, 20, 24], srt-recipe: agentic.yaml } - { gpus-per-worker: 4, 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: diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 3728e91f7d..8fa03b830e 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13516,3 +13516,13 @@ description: - "Add Kimi-K3.1-Pro GB200 vLLM AgentX configs on vllm/vllm-openai:kimi-k31-arm64-cu135-7074371 with optimized parallel configurations." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5199 + +- 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. 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/5194