Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,36 @@ 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'
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 @@ -1316,7 +1316,7 @@ musespark-fp4-mi355x-sglang-agentic-dflash:
agentic-coding:
- search-space:
- { gpus-per-worker: 8, tp: 8, ep: 8, kv-offloading: none, spec-decoding: draft_model, conc-list: [6, 10, 28], srt-recipe: agentic.yaml }
- { gpus-per-worker: 4, 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 }
- { gpus-per-worker: 4, 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 }

musespark-fp4-mi355x-tokenspeed-agentic-dflash:
image: lightseekorg/tokenspeed-runner-amd:rocm7.2.4-pytorch-2.14.0-gfx950@sha256:25949b7a6306e9fbc0165091cc67d9bded9965ed1d664b55f9966e7df0b05e51
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 @@ -13456,3 +13456,12 @@
- "TEP2 prefill: MTP max_draft_len 1, max_num_tokens 16384, TWOSHOT allreduce, 64 NCCL channels, Mamba branch snapshots, breakable prefill CUDA graphs to 16384 tokens and shortest-uncached-first context scheduling. TEP8 decode: TRTLLM MoE backend with MoE TP2 x EP4, max_num_tokens 896 (TEP16: EP8), and a 4194304-token GEN KV-transfer buffer; most TEP decode points admit by priority (waiting_queue_max_wait_s 60 or 120) and defer generation-only KV release. DEP8 decode uses the CUTEDSL MoE backend with attention DP and NIXL agent bounce buffers on both roles."
- "Frontend: Dynamo KV router with 14400 s session affinity on the first decode node and prefill by KV with conversation affinity; the AgentX client runs on the last decode node. Decode workers on the nine points that admit by priority advertise the KV router with the output_length_prediction request classifier (benchmarks/multi_node/srt-slurm-recipes/configs/dynamo-router-policy-output-length.yaml, mounted at /configs; ai-dynamo/dynamo#18940), and the frontend loads the same policy file so it can install the classifier, which forwards each request's predicted reply length as its TensorRT-LLM priority (ai-dynamo/dynamo#18772), replacing trtllm-serve's output_length_prediction; 2P1D conc 192, 3P2D conc 456 and 512 and 4P1D DEP8 conc 840 keep FCFS admission and route decode by least-loaded."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5147

- 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/5193
append-only: true
Loading