From 1a83cebd61e0fcc4cc353bfdab4c65c4b75c7e15 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Fri, 13 Nov 2026 08:55:49 -0800 Subject: [PATCH 01/14] Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX: new image, DEP32 c704/c960, 1P5D points Move the dcp8-disagg and agg configs to kimi-k31-mc-dbbc9e3 (vLLM 0.1.dev25356+gdbbc9e310) and add a dep32-disagg config. - DEP32 2P1D at c704 and c960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival, Mooncake store tail pruning, a 97.7 GB decode KV pool per rank, and the benchmark client on its own node. - 1P5D at c44 and c56 replace c20 and c32 1P3D. - Hybrid 2P1D moves from c192 to c256; both hybrid decodes run their MegaMoE layers on the DEP EpMoeLayer schedule and prune Mooncake store tails. - TP8/DCP8 points: indexer logits bfloat16, deep_select top-k on prefill, Mooncake lookup_timeout_s 60, spawned workers with set_visible_devices. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../vllm/gb300-fp4/agentx/agg-variants.yaml | 2 +- .../vllm/gb300-fp4/agentx/disagg-dep32.yaml | 290 ++++++++++++++++++ .../gb300-fp4/agentx/disagg-variants.yaml | 77 ++++- inferencex-e2e/configs/nvidia-master.yaml | 40 ++- inferencex-e2e/perf-changelog.yaml | 13 + 5 files changed, 402 insertions(+), 20 deletions(-) create mode 100644 inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml index 3a914c152c..64f1279a0a 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml @@ -6,7 +6,7 @@ base: model: {} container: {} frameworks: - vllm: "0.23.1rc1.dev7347+gc92eaa62c" + vllm: "0.1.dev25356+gdbbc9e310" dynamo: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" # ai-dynamo/dynamo#18124 head: the first Dynamo that registers the kimi_k31 model type. diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml new file mode 100644 index 0000000000..99424179d2 --- /dev/null +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -0,0 +1,290 @@ +schema: 2 + +base: + name: kimik3.1-fp4-gb300-dynamo-vllm-agentx-disagg-dep32 + identity: + model: {} + container: {} + frameworks: + vllm: "0.1.dev25356+gdbbc9e310" + dynamo: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + + # ai-dynamo/dynamo#18124 head: the first Dynamo that registers the kimi_k31 model type. + dynamo: + install: true + source: + rev: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + + # The DSpark draft is read from the shared Hub cache. + environment: + HF_HUB_CACHE: /hf_hub_cache + + slurm: + time_limit: "04:00:00" + + health_check: + max_attempts: 720 + interval_seconds: 10 + + resources: + gpu_type: "gb300" + gpus_per_node: 4 + + services: + - name: etcd + type: etcd + placement: + node: infra + - name: nats + type: nats + placement: + node: infra + options: + max_payload_mb: 32 + - name: mooncake-master + type: mooncake-master + args: + - "--default_kv_lease_ttl=60000" + - "--eviction_high_watermark_ratio=0.95" + - "--eviction_ratio=0.10" + options: + store_config: + metadata_server: "P2PHANDSHAKE" + global_segment_size: "160GB" + local_buffer_size: "4GB" + protocol: "rdma" + device_name: "@fabric.rdma-devices" + mode: "embedded" + enable_offload: false + + frontend: + type: dynamo + enable_multiple_frontends: false + args: + router-mode: "least-loaded" + router-session-affinity-ttl-secs: 1 + env: + DYN_ROUTER_ACTIVE_REQUEST_EXPIRY_SECS: "3600" + DYN_TOKENIZER_CACHE_BYTES: "8589934592" + DYN_TCP_REQUEST_TIMEOUT: "120" + DYN_DISABLE_OPENAI_STRICT_SCHEMA_VALIDATION: "1" + + engine: + type: vllm + connector: + dp_launch_mode: per_node + # Lets vLLM bind each spawned worker to its GPU's NUMA node. + set_visible_devices: true + + roles: + prefill: + nodes: 4 + workers: 1 + gpus: 16 + env: + <<: &kimi_env + DYN_TCP_REQUEST_TIMEOUT: "120" + VLLM_USE_DIRECT_DCP_A2A: "1" + VLLM_USE_DIRECT_DCP_Q_GATHER: "1" + VLLM_USE_DIRECT_DCP_KV_GATHER: "1" + VLLM_ALLREDUCE_USE_FLASHINFER: "1" + VLLM_KIMI_K3_SHARD_SP_SHARED_EXPERT: "0" + DYN_REQUEST_PLANE: "tcp" + ETCD_LEASE_TTL: "600" + VLLM_RPC_TIMEOUT: "600000" + TILELANG_CLEANUP_TEMP_FILES: "1" + VLLM_USE_NCCL_SYMM_MEM: "0" + NCCL_CUMEM_ENABLE: "1" + NCCL_MNNVL_ENABLE: "1" + NCCL_NVLS_ENABLE: "1" + VLLM_SERVER_DEV_MODE: "1" + VLLM_USE_V2_MODEL_RUNNER: "1" + VLLM_USE_RUST_FRONTEND: "1" + VLLM_MOONCAKE_LOAD_RECV_THREADS: "4" + # Lookups lease only the store keys a hit loads. + VLLM_MOONCAKE_STORE_SELECTIVE_LEASE: "1" + MC_SLICE_SIZE: "1048576" + MC_MAX_MR_SIZE: "4294967296" + NCCL_P2P_LEVEL: "NVL" + MC_ENABLE_DEST_DEVICE_AFFINITY: "1" + WITH_NVIDIA_PEERMEM: "0" + NCCL_NET_PLUGIN: "none" + UCX_MEMTYPE_REG_WHOLE: "n" + UCX_TCP_AF_PRIO: "inet" + VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS: "1800" + # NIXL transfers the KDA conv state in the DS layout. + VLLM_SSM_CONV_STATE_LAYOUT: "DS" + TOKENSPEED_MLA_FP16_PARTIALS: "0" + VLLM_ENGINE_READY_TIMEOUT_S: "3600" + VLLM_ENABLE_GEMM_RS: "1" + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + DYN_BACKEND_ADMISSION_ENGINE_REQUEST_LIMIT: "1024" + DYN_BACKEND_ADMISSION_ENGINE_REQUEST_WAITING_LIMIT: "1024" + args: + kv-transfer-config: &kv_transfer '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}' + served-model-name: "moonshotai/Kimi-K3.1-Pro" + prefix-match-unit: 128 + load-format: "fastsafetensors" + kv-cache-dtype: "fp8" + attention-config: '{"indexer_kv_dtype":"mxfp4"}' + mamba-ssm-cache-dtype: "float32" + mamba-cache-dtype: "float32" + gpu-memory-utilization: 0.95 + tensor-parallel-size: 1 + data-parallel-size: 16 + data-parallel-rpc-port: 13355 + # The image does not pick a power-of-two attention block at TP1 by itself; pin the size, the same on prefill and decode. + block-size: 16384 + enable-expert-parallel: true + moe-backend: deep_gemm_mega_moe + no-enable-flashinfer-autotune: true + enable-cumem-allocator: true + trust-remote-code: true + max-num-seqs: 32 + max-num-batched-tokens: 2048 + # Caps each prompt's chunk so one long prompt does not fill a DP rank's step. + long-prefill-token-threshold: 512 + long-prefill-token-threshold-adaptive: true + max-cudagraph-capture-size: 2048 + compilation-config: '{"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[4,8,12,16,20,24,32,40,48,64,80,96,128,160,256,384,512,640,768,896,1024,1152,1280,1408,1536,1664,1792,1920,2048]}' + stream-interval: 10 + language-model-only: true + enable-prefix-caching: true + speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + decode: + nodes: 4 + workers: 1 + gpus: 16 + env: + <<: *kimi_env + VLLM_ENABLE_GEMM_RS: "0" + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + args: + kv-transfer-config: *kv_transfer + served-model-name: "moonshotai/Kimi-K3.1-Pro" + prefix-match-unit: 128 + load-format: "fastsafetensors" + kv-cache-dtype: "fp8" + attention-config: '{"indexer_kv_dtype":"mxfp4"}' + mamba-ssm-cache-dtype: "float32" + mamba-cache-dtype: "float32" + gpu-memory-utilization: 0.95 + tensor-parallel-size: 1 + data-parallel-size: 16 + data-parallel-rpc-port: 13345 + # The image does not pick a power-of-two attention block at TP1 by itself; pin the size, the same on prefill and decode. + block-size: 16384 + enable-expert-parallel: true + moe-backend: deep_gemm_mega_moe + no-enable-flashinfer-autotune: true + enable-cumem-allocator: true + trust-remote-code: true + stream-interval: 10 + language-model-only: true + enable-prefix-caching: true + additional-config: '{"decode_backend":"latency_specialized"}' + use-replayssm: true + max-num-seqs: 32 + max-num-batched-tokens: 160 + max-cudagraph-capture-size: 160 + compilation-config: '{"cudagraph_capture_sizes":[5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160]}' + speculative-config: *spec + + sbatch_directives: + mem: "0" + # 72 pins every vLLM worker to socket 0. + cpus-per-task: "144" + comment: >- + '{"OccupiedIdleGPUsJobReaper":{"exemptIdleTimeMins":"60","reason":"model_loading","description":"Very large model will + take extra loading time."}}' + + srun_options: + mem: "0" + container-remap-root: "" + + telemetry: + collector_join_timeout_seconds: 12 + + benchmark: + placement: + node: head + env: + AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0" + AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: "true" + AIPERF_DYNAMO_SESSION_TIMEOUT_SECONDS: "14400" + +# DEP32 2P1D: two DEP16 prefill workers and one DEP32 decode, Mooncake KV offload with the scheduler +# lookup started when a request arrives (lookup_prefetch_limit, lookup_prefetch_ttl_s), the Mooncake store +# tail pruning (opt-in env, both roles) and a larger decode KV pool (c960 is otherwise bound by decode KV +# capacity). The benchmark client gets a node of its own: its end-of-run post-processing needs about 100 GB +# of host memory, which the prefill head node does not have next to its Mooncake segments. +override_2p1d_dep32: + benchmark: + placement: + node: dedicated + roles: + prefill: + nodes: 8 + workers: 2 + env: + VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" + VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + args: + kv-cache-memory-bytes: 61926160384 + block-size: 16384 + attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' + kernel-config: '{"sparse_indexer_topk_backend":"deep_select"}' + max-async-kv-loads-per-step: 4 + kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' + decode: + nodes: 8 + workers: 1 + gpus: 32 + env: + VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" + VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + args: + kv-cache-memory-bytes: 97710505984 + block-size: 16384 + data-parallel-size: 32 + attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' + max-async-kv-loads-per-step: 2 + kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' + +override_2p1d_dep32_eval: + roles: + prefill: + nodes: 8 + workers: 2 + env: + VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" + VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + args: + kv-cache-memory-bytes: 61926160384 + block-size: 16384 + attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' + kernel-config: '{"sparse_indexer_topk_backend":"deep_select"}' + max-async-kv-loads-per-step: 4 + kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true + decode: + nodes: 8 + workers: 1 + gpus: 32 + env: + VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" + VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + args: + kv-cache-memory-bytes: 97710505984 + block-size: 16384 + data-parallel-size: 32 + attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' + max-async-kv-loads-per-step: 2 + kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml index cf5db75b8f..d3294a92ce 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml @@ -6,7 +6,7 @@ base: model: {} container: {} frameworks: - vllm: "0.1.dev24218+g78e9a0c28" + vllm: "0.1.dev25356+gdbbc9e310" dynamo: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" # ai-dynamo/dynamo#18124 head: the first Dynamo that registers the kimi_k31 model type. @@ -118,12 +118,14 @@ base: DYN_BACKEND_ADMISSION_ENGINE_REQUEST_LIMIT: "1024" DYN_BACKEND_ADMISSION_ENGINE_REQUEST_WAITING_LIMIT: "1024" args: - kv-transfer-config: &kv_transfer '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}' + kv-transfer-config: &kv_transfer '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_timeout_s":60,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}' served-model-name: "moonshotai/Kimi-K3.1-Pro" prefix-match-unit: 128 load-format: "fastsafetensors" kv-cache-dtype: "fp8" - attention-config: '{"indexer_kv_dtype":"mxfp4"}' + attention-config: &attn_cfg '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' + # The image's sparse indexer top-k default needs deep_select on the prefill engines. + kernel-config: '{"sparse_indexer_topk_backend":"deep_select"}' mamba-ssm-cache-dtype: "float32" mamba-cache-dtype: "float32" gpu-memory-utilization: 0.95 @@ -157,7 +159,7 @@ base: prefix-match-unit: 128 load-format: "fastsafetensors" kv-cache-dtype: "fp8" - attention-config: '{"indexer_kv_dtype":"mxfp4"}' + attention-config: *attn_cfg mamba-ssm-cache-dtype: "float32" mamba-cache-dtype: "float32" gpu-memory-utilization: 0.95 @@ -266,21 +268,26 @@ override_1p2d_eval: dyn-enable-structural-tag: true override_1p3d: + engine: + # Lets vLLM bind each spawned worker to its GPU's NUMA node. + set_visible_devices: true roles: prefill: &override_1p3d_prefill nodes: 2 workers: 1 - args: &override_1p3d_prefill_args - numa-bind: true - numa-bind-nodes: [0, 0, 1, 1] + env: &override_spawn_env + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + args: &override_1p3d_prefill_args {} decode: &override_1p3d_decode nodes: 6 workers: 3 - args: &override_1p3d_decode_args - numa-bind: true - numa-bind-nodes: [0, 0, 1, 1] + env: *override_spawn_env + args: &override_1p3d_decode_args {} override_1p3d_eval: + engine: + # Lets vLLM bind each spawned worker to its GPU's NUMA node. + set_visible_devices: true roles: prefill: <<: *override_1p3d_prefill @@ -299,6 +306,42 @@ override_1p3d_eval: dyn-reasoning-parser: kimi_k3 dyn-enable-structural-tag: true +# One TP8 x DCP8 prefill feeding five TP8 x DCP8 decode engines: the prefill still has headroom at c44-c56, +# so more decode engines per prefill raise tok/s/GPU at the same interactivity. +override_1p5d: + engine: + # Lets vLLM bind each spawned worker to its GPU's NUMA node. + set_visible_devices: true + roles: + prefill: &override_1p5d_prefill + <<: *override_1p3d_prefill + decode: &override_1p5d_decode + <<: *override_1p3d_decode + nodes: 10 + workers: 5 + +override_1p5d_eval: + engine: + # Lets vLLM bind each spawned worker to its GPU's NUMA node. + set_visible_devices: true + roles: + prefill: + <<: *override_1p5d_prefill + args: + <<: *override_1p3d_prefill_args + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true + decode: + <<: *override_1p5d_decode + args: + <<: *override_1p3d_decode_args + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true + # 256 decode slots per TP8 engine for the higher-concurrency points. override_1p2d_mns256: engine: @@ -395,14 +438,24 @@ override_hyb4_3p1d: prefill: &override_hyb4_3p1d_prefill nodes: 6 workers: 3 - env: *override_mns256_prefill_env + env: &override_hyb_prefill_env + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + # Mooncake store: keep the tail a hit loaded and drop consumed partial tails, so live prefixes are not evicted. + VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" + VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" args: &override_hyb4_3p1d_prefill_args max-num-batched-tokens: 16384 decode: &override_hyb4_3p1d_decode nodes: 8 workers: 1 gpus: 32 - env: *override_mns256_decode_env + env: + <<: &override_hyb_decode_env + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" + VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + # Run the hybrid decode's MegaMoE layers on the DEP EpMoeLayer schedule. + VLLM_KIMI_K3_HYBRID_EP_MOE: "1" args: &override_hyb4_3p1d_decode_args data-parallel-size: 4 data-parallel-rpc-port: 13345 diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index 371ab7ecdf..e589d1bb9c 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -8193,7 +8193,7 @@ kimik3.1-fp4-gb300-dynamo-sglang-agentic-dflash-agg-mk: worker: { num-worker: 1, tp: 16, ep: 1, dp-attn: false } kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg: - image: vllm/vllm-openai:kimi-k31-mc@sha256:f29efae15f9cb47f6215add0cba70b4b7d3596e6f3990d8b46c7cad0f8fbbc8b + image: vllm/vllm-openai:kimi-k31-mc-dbbc9e3@sha256:0507dd0ba274bdb5bb8223f3248c0772db2a9517cfd1c06f132ec2989713635e model: moonshotai/Kimi-K3.1-Pro model-prefix: kimik3.1 runner: cluster:gb300-nv @@ -8211,12 +8211,12 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg: - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } - conc-list: [20, 32] - srt-recipe: disagg-variants.yaml:override_1p3d - eval-srt-recipe: disagg-variants.yaml:override_1p3d_eval + conc-list: [44, 56] + srt-recipe: disagg-variants.yaml:override_1p5d + eval-srt-recipe: disagg-variants.yaml:override_1p5d_eval power: true prefill: { num-worker: 1, tp: 8, dcp-size: 8, ep: 8, dp-attn: false } - decode: { num-worker: 3, tp: 8, dcp-size: 8, ep: 1, dp-attn: false } + decode: { num-worker: 5, tp: 8, dcp-size: 8, ep: 1, dp-attn: false } - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } @@ -8238,7 +8238,7 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg: - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } - conc-list: [192] + conc-list: [256] srt-recipe: disagg-variants.yaml:override_hyb4_2p1d_lpt4k eval-srt-recipe: disagg-variants.yaml:override_hyb4_2p1d_lpt4k_eval power: true @@ -8271,8 +8271,34 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep16-disagg: prefill: { num-worker: 1, tp: 16, ep: 16, dp-attn: true } decode: { num-worker: 1, tp: 16, ep: 16, dp-attn: true } +kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg: + image: vllm/vllm-openai:kimi-k31-mc-dbbc9e3@sha256:0507dd0ba274bdb5bb8223f3248c0772db2a9517cfd1c06f132ec2989713635e + model: moonshotai/Kimi-K3.1-Pro + model-prefix: kimik3.1 + runner: cluster:gb300-nv + precision: fp4 + framework: dynamo-vllm + router: { name: dynamo-router, version: 3dd0744eb72c707d76d4c520ae4dea9e286a4ab6 } + kv-p2p-transfer: nixl + multinode: true + disagg: true + srt-recipe-dir: kimik3.1/vllm/gb300-fp4/agentx + scenarios: + agentic-coding: + - dram-utilization: 0.1775 + search-space: + - spec-decoding: mtp + kv-offloading: dram + kv-offload-backend: { name: mooncake, version: 0.3.14 } + conc-list: [704, 960] + srt-recipe: disagg-dep32.yaml:override_2p1d_dep32 + eval-srt-recipe: disagg-dep32.yaml:override_2p1d_dep32_eval + power: true + prefill: { num-worker: 2, tp: 16, ep: 16, dp-attn: true } + decode: { num-worker: 1, tp: 32, ep: 32, dp-attn: true } + kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-agg: - image: vllm/vllm-openai:kimi-k31-mc@sha256:5c243ce00d2d289a295065e3d794d5beb783e9c9a85eba3d2eef7024f822a531 + image: vllm/vllm-openai:kimi-k31-mc-dbbc9e3@sha256:0507dd0ba274bdb5bb8223f3248c0772db2a9517cfd1c06f132ec2989713635e model: moonshotai/Kimi-K3.1-Pro model-prefix: kimik3.1 runner: cluster:gb300-nv diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 59ad4c021a..ccecec23eb 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12855,3 +12855,16 @@ - "The new ATOM brings DeepSeek-V4.1 DP attention (ROCm/ATOM#2376), the V4.1 MXFP8 KV cache with DSpark on an FP8 cache (ROCm/ATOM#2725), DP-attention prefill balancing and graph replay (ROCm/ATOM#2551, #2696, #2697) and the default HIP Mega-MHC kernel on gfx950 (ROCm/ATOM#2568)." - "No change to the DSpark draft's weight precision: ATOM loads the checkpoint's mtp.0-2 layers as shipped (FP8 E4M3 attention, shared experts and main_proj with 32x32 UE8M0 scales, MXFP4 routed experts, BF16 router, norms and heads) at both images. The draft shares the target's KV pool, so its KV cache follows the target from BF16 to MXFP8." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/3965 + +- config-keys: + - kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg + - kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg + - kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-agg + scenario-type: + - agentic-coding + description: + - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-dbbc9e3 (vLLM 0.1.dev25356+gdbbc9e310) and add the dep32-disagg config on the same image." + - "DEP32 2P1D at concurrency 704 and 960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival, Mooncake store tail pruning (opt-in env in the image), a 97.7 GB decode KV pool per rank, and the benchmark client on its own node." + - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D stays at 384; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1, opt-in env in the image) and prune Mooncake store tails." + - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image with no other change." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX From d865c6983d4f4aa02bbd17f5c4dd0912a3be6bc6 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Fri, 13 Nov 2026 09:24:50 -0800 Subject: [PATCH 02/14] Fill in the perf-changelog PR link Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- inferencex-e2e/perf-changelog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index ccecec23eb..6937bfc7c9 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12867,4 +12867,4 @@ - "DEP32 2P1D at concurrency 704 and 960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival, Mooncake store tail pruning (opt-in env in the image), a 97.7 GB decode KV pool per rank, and the benchmark client on its own node." - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D stays at 384; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1, opt-in env in the image) and prune Mooncake store tails." - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image with no other change." - pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5069 From 229a67337b21127965726a0de66889a0a6156a74 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 14 Nov 2026 09:45:04 -0800 Subject: [PATCH 03/14] Kimi-K3.1-Pro GB300 dcp8-disagg: drop frontend session affinity The one-second router-session-affinity-ttl-secs kept a share of 1P5D decode picks on an engine that was already busy. Without it, c56 and c44 1P5D run at higher interactivity with the same throughput per GPU in our runs on this image; the 2P1D and 3P1D hybrid points are unchanged. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml | 1 - inferencex-e2e/perf-changelog.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml index d3294a92ce..07cab807ff 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml @@ -62,7 +62,6 @@ base: enable_multiple_frontends: false args: router-mode: "least-loaded" - router-session-affinity-ttl-secs: 1 env: DYN_ROUTER_ACTIVE_REQUEST_EXPIRY_SECS: "3600" DYN_TOKENIZER_CACHE_BYTES: "8589934592" diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 6937bfc7c9..60ce45dd2d 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12867,4 +12867,5 @@ - "DEP32 2P1D at concurrency 704 and 960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival, Mooncake store tail pruning (opt-in env in the image), a 97.7 GB decode KV pool per rank, and the benchmark client on its own node." - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D stays at 384; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1, opt-in env in the image) and prune Mooncake store tails." - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image with no other change." + - "The dcp8-disagg frontend drops router-session-affinity-ttl-secs 1: with one-second session affinity a share of 1P5D decode picks stayed on an engine that was already busy." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5069 From c756b407f6ad3b01c36f49f5a4521df89c05e876 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 14 Nov 2026 12:17:51 -0800 Subject: [PATCH 04/14] Kimi-K3.1-Pro GB300 Dynamo+vLLM: pin Dynamo v1.7.0-kimi-k3.1-pro-dev.1 Install Dynamo from the v1.7.0-kimi-k3.1-pro-dev.1 tag (229be5cff1), the release that registers the kimi_k31 model type, in the dcp8-disagg, dep32-disagg and agg recipes and their nvidia-master router versions. The B300 Kimi-K3.1-Pro Dynamo+vLLM recipe uses the same tag. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml | 6 +++--- .../kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml | 6 +++--- .../kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml | 6 +++--- inferencex-e2e/configs/nvidia-master.yaml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml index 64f1279a0a..3d9fc61c57 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml @@ -7,13 +7,13 @@ base: container: {} frameworks: vllm: "0.1.dev25356+gdbbc9e310" - dynamo: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + dynamo: "229be5cff1156859b0e3e43b598ee800b2f81ccc" - # ai-dynamo/dynamo#18124 head: the first Dynamo that registers the kimi_k31 model type. + # Dynamo v1.7.0-kimi-k3.1-pro-dev.1, which registers the kimi_k31 model type. dynamo: install: true source: - rev: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + rev: "229be5cff1156859b0e3e43b598ee800b2f81ccc" # The DSpark draft is read from the shared Hub cache. environment: diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml index 99424179d2..39a0efc564 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -7,13 +7,13 @@ base: container: {} frameworks: vllm: "0.1.dev25356+gdbbc9e310" - dynamo: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + dynamo: "229be5cff1156859b0e3e43b598ee800b2f81ccc" - # ai-dynamo/dynamo#18124 head: the first Dynamo that registers the kimi_k31 model type. + # Dynamo v1.7.0-kimi-k3.1-pro-dev.1, which registers the kimi_k31 model type. dynamo: install: true source: - rev: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + rev: "229be5cff1156859b0e3e43b598ee800b2f81ccc" # The DSpark draft is read from the shared Hub cache. environment: diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml index 07cab807ff..9e1e736d19 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml @@ -7,13 +7,13 @@ base: container: {} frameworks: vllm: "0.1.dev25356+gdbbc9e310" - dynamo: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + dynamo: "229be5cff1156859b0e3e43b598ee800b2f81ccc" - # ai-dynamo/dynamo#18124 head: the first Dynamo that registers the kimi_k31 model type. + # Dynamo v1.7.0-kimi-k3.1-pro-dev.1, which registers the kimi_k31 model type. dynamo: install: true source: - rev: "3dd0744eb72c707d76d4c520ae4dea9e286a4ab6" + rev: "229be5cff1156859b0e3e43b598ee800b2f81ccc" # The DSpark draft is read from the shared Hub cache. environment: diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index e589d1bb9c..228e3233fb 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -8199,7 +8199,7 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg: runner: cluster:gb300-nv precision: fp4 framework: dynamo-vllm - router: { name: dynamo-router, version: 3dd0744eb72c707d76d4c520ae4dea9e286a4ab6 } + router: { name: dynamo-router, version: 229be5cff1156859b0e3e43b598ee800b2f81ccc } kv-p2p-transfer: nixl multinode: true disagg: true @@ -8278,7 +8278,7 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg: runner: cluster:gb300-nv precision: fp4 framework: dynamo-vllm - router: { name: dynamo-router, version: 3dd0744eb72c707d76d4c520ae4dea9e286a4ab6 } + router: { name: dynamo-router, version: 229be5cff1156859b0e3e43b598ee800b2f81ccc } kv-p2p-transfer: nixl multinode: true disagg: true @@ -8304,7 +8304,7 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-agg: runner: cluster:gb300-nv precision: fp4 framework: dynamo-vllm - router: { name: dynamo-router, version: 3dd0744eb72c707d76d4c520ae4dea9e286a4ab6 } + router: { name: dynamo-router, version: 229be5cff1156859b0e3e43b598ee800b2f81ccc } multinode: true disagg: false srt-recipe-dir: kimik3.1/vllm/gb300-fp4/agentx From f1936afdc4311909349ec6074efdc1d422e666c8 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 14 Nov 2026 12:21:43 -0800 Subject: [PATCH 05/14] Kimi-K3.1-Pro GB300 recipes: comment rules and changelog detail Move the override header comments into short line comments, update a stale draft-token comment, drop the no-op session affinity of the one-worker agg frontend so it matches dcp8-disagg, and list the Dynamo pin, the Mooncake lookup and tail-pruning settings, the bfloat16 indexer logits and the deep_select prefill top-k in the changelog entry. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml | 1 - .../kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml | 8 +++----- .../vllm/gb300-fp4/agentx/disagg-variants.yaml | 5 ++--- inferencex-e2e/perf-changelog.yaml | 11 ++++++----- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml index 3d9fc61c57..ac296c5ce3 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml @@ -63,7 +63,6 @@ base: enable_multiple_frontends: false args: router-mode: "least-loaded" - router-session-affinity-ttl-secs: 1 env: DYN_ROUTER_ACTIVE_REQUEST_EXPIRY_SECS: "3600" DYN_TOKENIZER_CACHE_BYTES: "8589934592" diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml index 39a0efc564..b0f17a74df 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -213,12 +213,9 @@ base: AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: "true" AIPERF_DYNAMO_SESSION_TIMEOUT_SECONDS: "14400" -# DEP32 2P1D: two DEP16 prefill workers and one DEP32 decode, Mooncake KV offload with the scheduler -# lookup started when a request arrives (lookup_prefetch_limit, lookup_prefetch_ttl_s), the Mooncake store -# tail pruning (opt-in env, both roles) and a larger decode KV pool (c960 is otherwise bound by decode KV -# capacity). The benchmark client gets a node of its own: its end-of-run post-processing needs about 100 GB -# of host memory, which the prefill head node does not have next to its Mooncake segments. override_2p1d_dep32: + # The client's end-of-run post-processing needs about 100 GB of host memory, more than the prefill + # head node has beside its Mooncake segments. benchmark: placement: node: dedicated @@ -244,6 +241,7 @@ override_2p1d_dep32: VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" args: + # c960 is bound by decode KV capacity. kv-cache-memory-bytes: 97710505984 block-size: 16384 data-parallel-size: 32 diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml index 9e1e736d19..90ad040157 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml @@ -305,8 +305,6 @@ override_1p3d_eval: dyn-reasoning-parser: kimi_k3 dyn-enable-structural-tag: true -# One TP8 x DCP8 prefill feeding five TP8 x DCP8 decode engines: the prefill still has headroom at c44-c56, -# so more decode engines per prefill raise tok/s/GPU at the same interactivity. override_1p5d: engine: # Lets vLLM bind each spawned worker to its GPU's NUMA node. @@ -316,6 +314,7 @@ override_1p5d: <<: *override_1p3d_prefill decode: &override_1p5d_decode <<: *override_1p3d_decode + # One TP8 x DCP8 prefill keeps up with five decode engines at c44-c56. nodes: 10 workers: 5 @@ -501,7 +500,7 @@ override_hyb4_2p1d_lpt4k: <<: *override_hyb4_3p1d_prefill_args long-prefill-token-threshold: 4096 long-prefill-token-threshold-adaptive: true - # Six draft tokens measured faster than four at c=192 on this decode. + # Six draft tokens run faster than four on this hybrid decode. speculative-config: &spec_k6 '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' decode: &override_hyb4_2p1d_lpt4k_decode <<: *override_hyb4_3p1d_decode diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 60ce45dd2d..f63143cdd0 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12863,9 +12863,10 @@ scenario-type: - agentic-coding description: - - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-dbbc9e3 (vLLM 0.1.dev25356+gdbbc9e310) and add the dep32-disagg config on the same image." - - "DEP32 2P1D at concurrency 704 and 960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival, Mooncake store tail pruning (opt-in env in the image), a 97.7 GB decode KV pool per rank, and the benchmark client on its own node." - - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D stays at 384; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1, opt-in env in the image) and prune Mooncake store tails." - - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image with no other change." - - "The dcp8-disagg frontend drops router-session-affinity-ttl-secs 1: with one-second session affinity a share of 1P5D decode picks stayed on an engine that was already busy." + - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-dbbc9e3 (vLLM 0.1.dev25356+gdbbc9e310) with Dynamo 229be5cff1 (v1.7.0-kimi-k3.1-pro-dev.1), and add the dep32-disagg config on the same image and Dynamo." + - "DEP32 2P1D at concurrency 704 and 960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival (lookup_prefetch_limit 16, lookup_prefetch_ttl_s 30), Mooncake store tail pruning (VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL=1, VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS=1), a 97.7 GB decode KV pool per rank, and the benchmark client on its own node." + - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D stays at 384; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1) and prune Mooncake store tails." + - "Every dcp8-disagg and dep32-disagg worker runs the sparse indexer logits in bfloat16 and their prefill engines use the deep_select top-k backend; dcp8-disagg Mooncake store lookups time out after 60 s." + - "The dcp8-disagg and agg frontends drop router-session-affinity-ttl-secs 1: with one-second session affinity a share of 1P5D decode picks stayed on an engine that was already busy." + - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image and Dynamo with no other change." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5069 From 8d35dfc8ecb7de7228577c84e7eadaf1e2a72882 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 14 Nov 2026 19:29:10 -0800 Subject: [PATCH 06/14] Kimi-K3.1-Pro GB300: hybrid 3P1D at c448, DEP32 at c960, Mooncake lookups on arrival Hybrid 3P1D moves from concurrency 384 to 448 and the DEP32 lane keeps concurrency 960 only. The TP8/DCP8 Mooncake store connector starts scheduler lookups when a request arrives (lookup_prefetch_limit 16, lookup_prefetch_ttl_s 30), as the dep32-disagg presets already do. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml | 2 +- inferencex-e2e/configs/nvidia-master.yaml | 4 ++-- inferencex-e2e/perf-changelog.yaml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml index 90ad040157..30453ed01d 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml @@ -117,7 +117,7 @@ base: DYN_BACKEND_ADMISSION_ENGINE_REQUEST_LIMIT: "1024" DYN_BACKEND_ADMISSION_ENGINE_REQUEST_WAITING_LIMIT: "1024" args: - kv-transfer-config: &kv_transfer '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_timeout_s":60,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}' + kv-transfer-config: &kv_transfer '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_timeout_s":60,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}' served-model-name: "moonshotai/Kimi-K3.1-Pro" prefix-match-unit: 128 load-format: "fastsafetensors" diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index 046fd0cf13..a0f7e41731 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -8358,7 +8358,7 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg: - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } - conc-list: [384] + conc-list: [448] srt-recipe: disagg-variants.yaml:override_hyb4_3p1d eval-srt-recipe: disagg-variants.yaml:override_hyb4_3p1d_eval power: true @@ -8419,7 +8419,7 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg: - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } - conc-list: [704, 960] + conc-list: [960] srt-recipe: disagg-dep32.yaml:override_2p1d_dep32 eval-srt-recipe: disagg-dep32.yaml:override_2p1d_dep32_eval power: true diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 48a181f649..f0d3e2352c 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12891,9 +12891,9 @@ - agentic-coding description: - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-dbbc9e3 (vLLM 0.1.dev25356+gdbbc9e310) with Dynamo 229be5cff1 (v1.7.0-kimi-k3.1-pro-dev.1), and add the dep32-disagg config on the same image and Dynamo." - - "DEP32 2P1D at concurrency 704 and 960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival (lookup_prefetch_limit 16, lookup_prefetch_ttl_s 30), Mooncake store tail pruning (VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL=1, VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS=1), a 97.7 GB decode KV pool per rank, and the benchmark client on its own node." - - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D stays at 384; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1) and prune Mooncake store tails." - - "Every dcp8-disagg and dep32-disagg worker runs the sparse indexer logits in bfloat16 and their prefill engines use the deep_select top-k backend; dcp8-disagg Mooncake store lookups time out after 60 s." + - "DEP32 2P1D at concurrency 960: two DEP16 prefill workers and one DEP32 decode, Mooncake scheduler lookups started on arrival (lookup_prefetch_limit 16, lookup_prefetch_ttl_s 30), Mooncake store tail pruning (VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL=1, VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS=1), a 97.7 GB decode KV pool per rank, and the benchmark client on its own node." + - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D moves from concurrency 384 to 448; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1) and prune Mooncake store tails." + - "Every dcp8-disagg and dep32-disagg worker runs the sparse indexer logits in bfloat16 and their prefill engines use the deep_select top-k backend; dcp8-disagg Mooncake store lookups time out after 60 s and, as on dep32-disagg, start on arrival (lookup_prefetch_limit 16, lookup_prefetch_ttl_s 30)." - "The dcp8-disagg and agg frontends drop router-session-affinity-ttl-secs 1: with one-second session affinity a share of 1P5D decode picks stayed on an engine that was already busy." - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image and Dynamo with no other change." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5069 From 4838b8507b46b52df20da448b10e3899b108ff40 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Mon, 16 Nov 2026 21:14:53 -0800 Subject: [PATCH 07/14] Kimi-K3.1-Pro GB300: released DSpark draft, prefix-match-unit at its KV block Switch the dcp8-disagg and agg recipes from the Inferact/Kimi-K3.1-Pro-DSpark-preview draft to the released Inferact/Kimi-K3.1-Pro-DSpark draft, whose golden acceptance curve replaced the preview curve in #5102. The released draft attends over a 2048-token sliding window, and its KV cache group needs block-aligned prefix lookups; vLLM also requires prefix-match-unit to divide every KV cache group block. Set prefix-match-unit to the draft group's KV block, which depends on the parallel layout and the draft length, so prefix-cache hits stay fine-grained: 1408 tokens on the TP8/DCP8 dcp8-disagg engines (four draft tokens), 1536 on the hybrid 2P1D point (six) and 768 on the TP16/DCP16 agg point (seven). dep32-disagg keeps the preview draft: on DEP32 every KV cache group block of the released draft is 16384 tokens, so no prefix-match-unit keeps its prefix-cache hits fine-grained. The branch is stacked on #5069, so this PR's single changelog entry covers #5069's changes as well. Signed-off-by: Mi Sun Park --- .../vllm/gb300-fp4/agentx/agg-variants.yaml | 6 ++++-- .../vllm/gb300-fp4/agentx/disagg-variants.yaml | 15 +++++++++++---- inferencex-e2e/perf-changelog.yaml | 6 ++++-- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml index ac296c5ce3..5929c4b7bd 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml @@ -143,7 +143,7 @@ base: # next to other requests each prompt's chunk stops at 4096 tokens. max-num-batched-tokens: 16384 long-prefill-token-threshold: 4096 - speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' sbatch_directives: mem: "0" @@ -178,7 +178,9 @@ override_agg16_c1: tensor-parallel-size: 16 gpu-memory-utilization: 0.90 decode-context-parallel-size: 16 - speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + # The windowed DSpark draft's KV block is 768 tokens at TP16/DCP16. + prefix-match-unit: 768 + speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' max-num-seqs: 1 max-cudagraph-capture-size: 2048 compilation-config: '{"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[7,8,14,16,28,32,56,64,128,256,512,1024,2048]}' diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml index 30453ed01d..66ef82ab6e 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml @@ -119,7 +119,9 @@ base: args: kv-transfer-config: &kv_transfer '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_timeout_s":60,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}' served-model-name: "moonshotai/Kimi-K3.1-Pro" - prefix-match-unit: 128 + # The windowed DSpark draft's KV block is 1408 tokens here; a matching unit keeps + # prefix-cache hits fine-grained. + prefix-match-unit: 1408 load-format: "fastsafetensors" kv-cache-dtype: "fp8" attention-config: &attn_cfg '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' @@ -144,7 +146,7 @@ base: enable-expert-parallel: true moe-backend: deep_gemm_mega_moe max-num-seqs: 32 - speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' decode: nodes: 2 workers: 1 @@ -155,7 +157,9 @@ base: args: kv-transfer-config: *kv_transfer served-model-name: "moonshotai/Kimi-K3.1-Pro" - prefix-match-unit: 128 + # The windowed DSpark draft's KV block is 1408 tokens here; a matching unit keeps + # prefix-cache hits fine-grained. + prefix-match-unit: 1408 load-format: "fastsafetensors" kv-cache-dtype: "fp8" attention-config: *attn_cfg @@ -500,13 +504,16 @@ override_hyb4_2p1d_lpt4k: <<: *override_hyb4_3p1d_prefill_args long-prefill-token-threshold: 4096 long-prefill-token-threshold-adaptive: true + # With six draft tokens the windowed draft's KV block is 1536 tokens. + prefix-match-unit: 1536 # Six draft tokens run faster than four on this hybrid decode. - speculative-config: &spec_k6 '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: &spec_k6 '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' decode: &override_hyb4_2p1d_lpt4k_decode <<: *override_hyb4_3p1d_decode args: &override_hyb4_2p1d_lpt4k_decode_args <<: *override_hyb4_3p1d_decode_args speculative-config: *spec_k6 + prefix-match-unit: 1536 # Decode graphs in multiples of K+1 = 7, up to max-num-seqs x 7. max-num-batched-tokens: 1792 max-cudagraph-capture-size: 1792 diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 04eb249d98..ddebf17b0c 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12954,5 +12954,7 @@ - "TP8/DCP8: 1P5D at concurrency 44 and 56 replaces 1P3D at 20 and 32; 1P3D stays at 56. Hybrid decode: 2P1D moves from concurrency 192 to 256 and 3P1D moves from concurrency 384 to 448; both run the MegaMoE layers on the DEP EpMoeLayer schedule (VLLM_KIMI_K3_HYBRID_EP_MOE=1) and prune Mooncake store tails." - "Every dcp8-disagg and dep32-disagg worker runs the sparse indexer logits in bfloat16 and their prefill engines use the deep_select top-k backend; dcp8-disagg Mooncake store lookups time out after 60 s and, as on dep32-disagg, start on arrival (lookup_prefetch_limit 16, lookup_prefetch_ttl_s 30)." - "The dcp8-disagg and agg frontends drop router-session-affinity-ttl-secs 1: with one-second session affinity a share of 1P5D decode picks stayed on an engine that was already busy." - - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image and Dynamo with no other change." - pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5069 + - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image and Dynamo." + - "Switch the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg and agg configs from the Inferact/Kimi-K3.1-Pro-DSpark-preview draft to the released Inferact/Kimi-K3.1-Pro-DSpark draft, whose golden acceptance curve replaced the preview curve in #5102." + - "The released draft attends over a 2048-token sliding window, so its KV cache group needs block-aligned prefix lookups, and vLLM requires prefix-match-unit to divide every KV cache group block. prefix-match-unit now equals the draft group's KV block, which depends on the parallel layout and the draft length and keeps prefix-cache hits fine-grained: 1408 tokens on the TP8/DCP8 dcp8-disagg engines with four draft tokens, 1536 on the hybrid 2P1D point with six, and 768 on the TP16/DCP16 agg point with seven. dep32-disagg keeps the preview draft: on DEP32 every KV cache group block of the released draft is 16384 tokens, so no prefix-match-unit keeps its hits fine-grained." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX From a6eea593c1439020a7e52071083cb548bd1308d0 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Mon, 16 Nov 2026 21:51:36 -0800 Subject: [PATCH 08/14] Kimi-K3.1-Pro GB300 dep32-disagg: released DSpark draft as well Move dep32-disagg to the released Inferact/Kimi-K3.1-Pro-DSpark draft too, so every config in this PR matches the golden acceptance curve. With block-size 16384 every KV cache group block of the released draft is 16384 tokens, and no prefix-match-unit keeps prefix-cache hits fine-grained there; prefix-match-unit stays 128, which divides it. Fill in the changelog pr-link. Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml | 2 +- inferencex-e2e/perf-changelog.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml index b0f17a74df..5462981a24 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -150,7 +150,7 @@ base: stream-interval: 10 language-model-only: true enable-prefix-caching: true - speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' decode: nodes: 4 workers: 1 diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index ddebf17b0c..cd50da7ea1 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12955,6 +12955,6 @@ - "Every dcp8-disagg and dep32-disagg worker runs the sparse indexer logits in bfloat16 and their prefill engines use the deep_select top-k backend; dcp8-disagg Mooncake store lookups time out after 60 s and, as on dep32-disagg, start on arrival (lookup_prefetch_limit 16, lookup_prefetch_ttl_s 30)." - "The dcp8-disagg and agg frontends drop router-session-affinity-ttl-secs 1: with one-second session affinity a share of 1P5D decode picks stayed on an engine that was already busy." - "Aggregated TP16/DCP16 at concurrency 1 moves to the new image and Dynamo." - - "Switch the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg and agg configs from the Inferact/Kimi-K3.1-Pro-DSpark-preview draft to the released Inferact/Kimi-K3.1-Pro-DSpark draft, whose golden acceptance curve replaced the preview curve in #5102." - - "The released draft attends over a 2048-token sliding window, so its KV cache group needs block-aligned prefix lookups, and vLLM requires prefix-match-unit to divide every KV cache group block. prefix-match-unit now equals the draft group's KV block, which depends on the parallel layout and the draft length and keeps prefix-cache hits fine-grained: 1408 tokens on the TP8/DCP8 dcp8-disagg engines with four draft tokens, 1536 on the hybrid 2P1D point with six, and 768 on the TP16/DCP16 agg point with seven. dep32-disagg keeps the preview draft: on DEP32 every KV cache group block of the released draft is 16384 tokens, so no prefix-match-unit keeps its hits fine-grained." - pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX + - "Switch the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg, dep32-disagg and agg configs from the Inferact/Kimi-K3.1-Pro-DSpark-preview draft to the released Inferact/Kimi-K3.1-Pro-DSpark draft, whose golden acceptance curve replaced the preview curve in #5102." + - "The released draft attends over a 2048-token sliding window, so its KV cache group needs block-aligned prefix lookups, and vLLM requires prefix-match-unit to divide every KV cache group block. prefix-match-unit now equals the draft group's KV block, which depends on the parallel layout and the draft length and keeps prefix-cache hits fine-grained: 1408 tokens on the TP8/DCP8 dcp8-disagg engines with four draft tokens, 1536 on the hybrid 2P1D point with six, and 768 on the TP16/DCP16 agg point with seven. dep32-disagg keeps prefix-match-unit 128: with block-size 16384 every KV cache group block of the released draft is 16384 tokens, and no prefix-match-unit keeps prefix-cache hits fine-grained there." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5109 From 3906a826e41b6c1d56a352447f326806b0fb68cc Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 21 Nov 2026 08:28:14 -0800 Subject: [PATCH 09/14] Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX: kimi-k31-mc-f4c9618, released DSpark draft, EPLB, six points Move the dcp8-disagg, dep32-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-f4c9618 with Dynamo ec06c09e72 and the released DSpark draft (revision e4e6e626). Points: DEP32 2P1D c960, hybrid 3P1D c448 and 2P1D c256 with expert-parallel load balancing, TP8/DCP8 1P5D c104 (4 drafts, adaptive long-prefill threshold) and c44 (5 drafts), and aggregated TP16/DCP16 c1. Signed-off-by: Mi Sun Park Co-Authored-By: Claude Opus 5.5 --- .../vllm/gb300-fp4/agentx/agg-variants.yaml | 34 +++- .../vllm/gb300-fp4/agentx/disagg-dep32.yaml | 53 +++++- .../gb300-fp4/agentx/disagg-variants.yaml | 176 ++++++++++++++++-- inferencex-e2e/configs/nvidia-master.yaml | 26 +-- inferencex-e2e/perf-changelog.yaml | 16 ++ 5 files changed, 261 insertions(+), 44 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml index ac296c5ce3..6d19f166a6 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml @@ -6,14 +6,14 @@ base: model: {} container: {} frameworks: - vllm: "0.1.dev25356+gdbbc9e310" - dynamo: "229be5cff1156859b0e3e43b598ee800b2f81ccc" + vllm: "0.1.dev25380+gf4c96184b" + dynamo: "ec06c09e7232e24f6faeec4069acdc61e4379916" - # Dynamo v1.7.0-kimi-k3.1-pro-dev.1, which registers the kimi_k31 model type. + # Dynamo main ec06c09e72, the source of the 1.8.0.dev20261119 nightly (dynamo-tokenizers 4.3.0). dynamo: install: true source: - rev: "229be5cff1156859b0e3e43b598ee800b2f81ccc" + rev: "ec06c09e7232e24f6faeec4069acdc61e4379916" # The DSpark draft is read from the shared Hub cache. environment: @@ -143,7 +143,7 @@ base: # next to other requests each prompt's chunk stops at 4096 tokens. max-num-batched-tokens: 16384 long-prefill-token-threshold: 4096 - speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","revision":"e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' sbatch_directives: mem: "0" @@ -174,11 +174,32 @@ override_agg16_c1: agg: nodes: 4 gpus: 16 + # Opt-in c=1 decode paths of this image (default off): published-mailbox MoE tail (PUB8), + # one-pass decode prep (NP1), fused drafter layers (DRF/S31), KDA/attention kernels for 8 rows. + env: &override_agg16_c1_env + K31_PUB8: "1" + K31_PUB8_JOIN: "1" + K31_PUB8_DPUSH: "1" + K31_PUB8_AHEAD: "16" + K31_NP1: "1" + K31_MK1: "1" + K31_S31MK: "1" + K31_S31FC: "1" + K31_S31DG: "1" + K31_KDA8: "1" + K31_S24FM: "1" + K31_S24FL_HEADS: "12,6" + K31_S22SP: "1" + K31_DRF_ATTN: "1" + K31_DRF_ACT: "1" + K31_DRF_NORM: "1" args: &override_agg16_c1_args tensor-parallel-size: 16 gpu-memory-utilization: 0.90 decode-context-parallel-size: 16 - speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","revision":"e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f","method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + # The released drafter's KV block at TP16 x DCP16. + prefix-match-unit: 768 max-num-seqs: 1 max-cudagraph-capture-size: 2048 compilation-config: '{"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[7,8,14,16,28,32,56,64,128,256,512,1024,2048]}' @@ -188,6 +209,7 @@ override_agg16_c1_eval: agg: nodes: 4 gpus: 16 + env: *override_agg16_c1_env args: <<: *override_agg16_c1_args reasoning-parser: kimi_k3 diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml index b0f17a74df..f86ff0ec54 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -6,14 +6,14 @@ base: model: {} container: {} frameworks: - vllm: "0.1.dev25356+gdbbc9e310" - dynamo: "229be5cff1156859b0e3e43b598ee800b2f81ccc" + vllm: "0.1.dev25380+gf4c96184b" + dynamo: "ec06c09e7232e24f6faeec4069acdc61e4379916" - # Dynamo v1.7.0-kimi-k3.1-pro-dev.1, which registers the kimi_k31 model type. + # Dynamo main ec06c09e72, the source of the 1.8.0.dev20261119 nightly (dynamo-tokenizers 4.3.0). dynamo: install: true source: - rev: "229be5cff1156859b0e3e43b598ee800b2f81ccc" + rev: "ec06c09e7232e24f6faeec4069acdc61e4379916" # The DSpark draft is read from the shared Hub cache. environment: @@ -123,7 +123,7 @@ base: args: kv-transfer-config: &kv_transfer '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}' served-model-name: "moonshotai/Kimi-K3.1-Pro" - prefix-match-unit: 128 + prefix-match-unit: 512 load-format: "fastsafetensors" kv-cache-dtype: "fp8" attention-config: '{"indexer_kv_dtype":"mxfp4"}' @@ -150,7 +150,7 @@ base: stream-interval: 10 language-model-only: true enable-prefix-caching: true - speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","revision":"e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f","method":"dspark","num_speculative_tokens":5,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' decode: nodes: 4 workers: 1 @@ -162,7 +162,7 @@ base: args: kv-transfer-config: *kv_transfer served-model-name: "moonshotai/Kimi-K3.1-Pro" - prefix-match-unit: 128 + prefix-match-unit: 512 load-format: "fastsafetensors" kv-cache-dtype: "fp8" attention-config: '{"indexer_kv_dtype":"mxfp4"}' @@ -185,9 +185,10 @@ base: additional-config: '{"decode_backend":"latency_specialized"}' use-replayssm: true max-num-seqs: 32 - max-num-batched-tokens: 160 - max-cudagraph-capture-size: 160 - compilation-config: '{"cudagraph_capture_sizes":[5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160]}' + # Decode graphs in multiples of K+1 = 6, up to max-num-seqs x 6. + max-num-batched-tokens: 192 + max-cudagraph-capture-size: 192 + compilation-config: '{"cudagraph_capture_sizes":[6,12,18,24,30,36,42,48,54,60,66,72,78,84,90,96,102,108,114,120,126,132,138,144,150,156,162,168,174,180,186,192]}' speculative-config: *spec sbatch_directives: @@ -226,12 +227,21 @@ override_2p1d_dep32: env: VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + # DSpark draft: store and hit only the sliding-window tail the draft reads, with per-block hits on that window. + VLLM_DFLASH_SWA_TAIL_STORE: "1" + VLLM_DFLASH_SWA_TAIL_HITS: "1" + VLLM_SWA_FINE_GRAINED_HITS: "1" + # Indexer logits budget per call, so a long-context prompt runs in fewer indexer chunks. + VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "2048" args: kv-cache-memory-bytes: 61926160384 block-size: 16384 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' kernel-config: '{"sparse_indexer_topk_backend":"deep_select"}' max-async-kv-loads-per-step: 4 + # Expert-parallel load balancing: re-place experts every 3000 steps from a 1000-step load window (symm_mem copy, no redundant experts). + enable-eplb: true + eplb-config: '{"num_redundant_experts":0,"window_size":1000,"step_interval":3000,"communicator":"symm_mem","log_balancedness":true,"log_balancedness_interval":500}' kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' decode: nodes: 8 @@ -240,6 +250,10 @@ override_2p1d_dep32: env: VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + # DSpark draft: store and hit only the sliding-window tail the draft reads, with per-block hits on that window. + VLLM_DFLASH_SWA_TAIL_STORE: "1" + VLLM_DFLASH_SWA_TAIL_HITS: "1" + VLLM_SWA_FINE_GRAINED_HITS: "1" args: # c960 is bound by decode KV capacity. kv-cache-memory-bytes: 97710505984 @@ -247,6 +261,9 @@ override_2p1d_dep32: data-parallel-size: 32 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' max-async-kv-loads-per-step: 2 + # Expert-parallel load balancing: re-place experts every 3000 steps from a 1000-step load window (symm_mem copy, no redundant experts). + enable-eplb: true + eplb-config: '{"num_redundant_experts":0,"window_size":1000,"step_interval":3000,"communicator":"symm_mem","log_balancedness":true,"log_balancedness_interval":500}' kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' override_2p1d_dep32_eval: @@ -257,12 +274,21 @@ override_2p1d_dep32_eval: env: VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + # DSpark draft: store and hit only the sliding-window tail the draft reads, with per-block hits on that window. + VLLM_DFLASH_SWA_TAIL_STORE: "1" + VLLM_DFLASH_SWA_TAIL_HITS: "1" + VLLM_SWA_FINE_GRAINED_HITS: "1" + # Indexer logits budget per call, so a long-context prompt runs in fewer indexer chunks. + VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "2048" args: kv-cache-memory-bytes: 61926160384 block-size: 16384 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' kernel-config: '{"sparse_indexer_topk_backend":"deep_select"}' max-async-kv-loads-per-step: 4 + # Expert-parallel load balancing: re-place experts every 3000 steps from a 1000-step load window (symm_mem copy, no redundant experts). + enable-eplb: true + eplb-config: '{"num_redundant_experts":0,"window_size":1000,"step_interval":3000,"communicator":"symm_mem","log_balancedness":true,"log_balancedness_interval":500}' kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' reasoning-parser: kimi_k3 dyn-tool-call-parser: kimi_k3 @@ -275,12 +301,19 @@ override_2p1d_dep32_eval: env: VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" + # DSpark draft: store and hit only the sliding-window tail the draft reads, with per-block hits on that window. + VLLM_DFLASH_SWA_TAIL_STORE: "1" + VLLM_DFLASH_SWA_TAIL_HITS: "1" + VLLM_SWA_FINE_GRAINED_HITS: "1" args: kv-cache-memory-bytes: 97710505984 block-size: 16384 data-parallel-size: 32 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' max-async-kv-loads-per-step: 2 + # Expert-parallel load balancing: re-place experts every 3000 steps from a 1000-step load window (symm_mem copy, no redundant experts). + enable-eplb: true + eplb-config: '{"num_redundant_experts":0,"window_size":1000,"step_interval":3000,"communicator":"symm_mem","log_balancedness":true,"log_balancedness_interval":500}' kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' reasoning-parser: kimi_k3 dyn-tool-call-parser: kimi_k3 diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml index 30453ed01d..a64bbf0dcf 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-variants.yaml @@ -6,14 +6,14 @@ base: model: {} container: {} frameworks: - vllm: "0.1.dev25356+gdbbc9e310" - dynamo: "229be5cff1156859b0e3e43b598ee800b2f81ccc" + vllm: "0.1.dev25380+gf4c96184b" + dynamo: "ec06c09e7232e24f6faeec4069acdc61e4379916" - # Dynamo v1.7.0-kimi-k3.1-pro-dev.1, which registers the kimi_k31 model type. + # Dynamo main ec06c09e72, the source of the 1.8.0.dev20261119 nightly (dynamo-tokenizers 4.3.0). dynamo: install: true source: - rev: "229be5cff1156859b0e3e43b598ee800b2f81ccc" + rev: "ec06c09e7232e24f6faeec4069acdc61e4379916" # The DSpark draft is read from the shared Hub cache. environment: @@ -144,7 +144,7 @@ base: enable-expert-parallel: true moe-backend: deep_gemm_mega_moe max-num-seqs: 32 - speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + speculative-config: &spec '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","revision":"e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' decode: nodes: 2 workers: 1 @@ -443,6 +443,13 @@ override_hyb4_3p1d: VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" args: &override_hyb4_3p1d_prefill_args max-num-batched-tokens: 16384 + # Store and match prefixes in units of 1408 tokens on the hybrid points. + prefix-match-unit: 1408 + # Five draft tokens on the hybrid points. + speculative-config: &spec_hyb_k5 '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","revision":"e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f","method":"dspark","num_speculative_tokens":5,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + # Expert-parallel load balancing: re-place experts every 3000 steps from a 1000-step load window (symm_mem copy, no redundant experts). + enable-eplb: true + eplb-config: &eplb_cfg '{"num_redundant_experts":0,"window_size":1000,"step_interval":3000,"communicator":"symm_mem","log_balancedness":true,"log_balancedness_interval":500}' decode: &override_hyb4_3p1d_decode nodes: 8 workers: 1 @@ -461,9 +468,14 @@ override_hyb4_3p1d: moe-backend: deep_gemm_mega_moe gpu-memory-utilization: 0.92 max-num-seqs: 256 - max-num-batched-tokens: 1280 - max-cudagraph-capture-size: 1280 - compilation-config: *decode_graphs_1280 + prefix-match-unit: 1408 + speculative-config: *spec_hyb_k5 + # Decode graphs in multiples of K+1 = 6, up to max-num-seqs x 6. + max-num-batched-tokens: 1536 + max-cudagraph-capture-size: 1536 + compilation-config: '{"cudagraph_capture_sizes":[6,12,18,24,30,36,42,48,54,60,66,72,78,84,90,96,102,108,114,120,126,132,138,144,150,156,162,168,174,180,186,192,198,204,210,216,222,228,234,240,246,252,258,264,270,276,282,288,294,300,306,312,318,324,330,336,342,348,354,360,366,372,378,384,390,396,402,408,414,420,426,432,438,444,450,456,462,468,474,480,486,492,498,504,510,516,522,528,534,540,546,552,558,564,570,576,582,588,594,600,606,612,618,624,630,636,642,648,654,660,666,672,678,684,690,696,702,708,714,720,726,732,738,744,750,756,762,768,774,780,786,792,798,804,810,816,822,828,834,840,846,852,858,864,870,876,882,888,894,900,906,912,918,924,930,936,942,948,954,960,966,972,978,984,990,996,1002,1008,1014,1020,1026,1032,1038,1044,1050,1056,1062,1068,1074,1080,1086,1092,1098,1104,1110,1116,1122,1128,1134,1140,1146,1152,1158,1164,1170,1176,1182,1188,1194,1200,1206,1212,1218,1224,1230,1236,1242,1248,1254,1260,1266,1272,1278,1284,1290,1296,1302,1308,1314,1320,1326,1332,1338,1344,1350,1356,1362,1368,1374,1380,1386,1392,1398,1404,1410,1416,1422,1428,1434,1440,1446,1452,1458,1464,1470,1476,1482,1488,1494,1500,1506,1512,1518,1524,1530,1536]}' + enable-eplb: true + eplb-config: *eplb_cfg override_hyb4_3p1d_eval: engine: @@ -500,17 +512,13 @@ override_hyb4_2p1d_lpt4k: <<: *override_hyb4_3p1d_prefill_args long-prefill-token-threshold: 4096 long-prefill-token-threshold-adaptive: true - # Six draft tokens run faster than four on this hybrid decode. - speculative-config: &spec_k6 '{"model":"Inferact/Kimi-K3.1-Pro-DSpark-preview","method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' decode: &override_hyb4_2p1d_lpt4k_decode <<: *override_hyb4_3p1d_decode args: &override_hyb4_2p1d_lpt4k_decode_args <<: *override_hyb4_3p1d_decode_args - speculative-config: *spec_k6 - # Decode graphs in multiples of K+1 = 7, up to max-num-seqs x 7. - max-num-batched-tokens: 1792 - max-cudagraph-capture-size: 1792 - compilation-config: '{"cudagraph_capture_sizes":[7,14,21,28,35,42,49,56,63,70,77,84,91,98,105,112,119,126,133,140,147,154,161,168,175,182,189,196,203,210,217,224,231,238,245,252,259,266,273,280,287,294,301,308,315,322,329,336,343,350,357,364,371,378,385,392,399,406,413,420,427,434,441,448,476,504,532,560,588,616,644,672,700,728,756,784,812,840,868,896,924,952,980,1008,1036,1064,1092,1120,1148,1176,1204,1232,1260,1288,1316,1344,1372,1400,1428,1456,1484,1512,1540,1568,1596,1624,1652,1680,1708,1736,1764,1792]}' + # No decode EPLB at c256: with about 20 requests per decode engine there is little expert skew to rebalance. + enable-eplb: null + eplb-config: null override_hyb4_2p1d_lpt4k_eval: engine: @@ -533,3 +541,141 @@ override_hyb4_2p1d_lpt4k_eval: dyn-tool-call-parser: kimi_k3 dyn-reasoning-parser: kimi_k3 dyn-enable-structural-tag: true + +# 1P5D with 4 drafts for c104: the prefill engine caps a long prompt's chunk at 4096 tokens next to +# other requests (never below an equal share of the 16384-token budget), so short follow-up turns are +# not queued behind it. +override_1p5d_lpt: + engine: + set_visible_devices: true + roles: + prefill: &override_1p5d_lpt_prefill + nodes: 2 + workers: 1 + env: + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + args: &override_1p5d_lpt_prefill_args + speculative-config: &spec_k4 '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","revision":"e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f","method":"dspark","num_speculative_tokens":4,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + prefix-match-unit: 1408 + long-prefill-token-threshold: 4096 + long-prefill-token-threshold-adaptive: true + decode: &override_1p5d_lpt_decode + nodes: 10 + workers: 5 + # Opt-in TP8 x DCP8 decode paths of this image (default off) for the 1P5D points: specialized decode + # steps at 5-40 rows (T8T/T8M/S21/S22/S23), KDA and attention kernels (KDA8/TCS/E32/EXP8), one-pass + # decode prep (NP1), fused drafter layers (DRF/S31). + env: &k31_tp8_decode_env + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + K31_DRF_ATTN: "1" + K31_DRF_ACT: "1" + K31_S31MK: "1" + K31_S31FC: "1" + K31_S31DG: "1" + K31_S31AR: "1" + K31_DCPV8: "1" + K31_NP1: "1" + K31_NP1_MAX_REQS: "8" + K31_T8T: "1" + K31_T8T_POLL0: "1" + K31_T8T_VOTE: "1" + K31_T8T_SD15: "1" + K31_T8M: "1" + K31_E32: "1" + K31_TCS: "1" + K31_TCS45: "1" + K31_EXP8: "1" + K31_EXP8W: "1" + K31_KDA8: "1" + K31_KDA8_TABLE: "12:1-8;6:1" + K31_KDA8_LEAN: "12:1-8" + K31_S20J: "1" + K31_S20QAF: "1" + K31_S20OPU: "1" + K31_S21N8: "1" + K31_S21T8M: "1" + K31_S21T8T: "1" + K31_S21W40: "1" + K31_S21E32W: "16" + K31_S22T56: "1" + K31_S22DG: "1" + K31_S22SP: "1" + K31_S22LC: "1" + K31_S22IP: "1" + K31_S23KS: "1" + K31_S23G4: "1" + K31_S23DR: "1" + K31_S24FM: "1" + args: &override_1p5d_lpt_decode_args + speculative-config: *spec_k4 + prefix-match-unit: 1408 + +override_1p5d_lpt_eval: + engine: + set_visible_devices: true + roles: + prefill: + <<: *override_1p5d_lpt_prefill + args: + <<: *override_1p5d_lpt_prefill_args + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true + decode: + <<: *override_1p5d_lpt_decode + args: + <<: *override_1p5d_lpt_decode_args + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true + +# 1P5D with 5 drafts for c44. +override_1p5d_k5: + engine: + # Lets vLLM bind each spawned worker to its GPU's NUMA node. + set_visible_devices: true + roles: + prefill: &override_1p5d_k5_prefill + nodes: 2 + workers: 1 + env: + VLLM_WORKER_MULTIPROC_METHOD: "spawn" + args: &override_1p5d_k5_prefill_args + speculative-config: &spec_k5 '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","revision":"e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f","method":"dspark","num_speculative_tokens":5,"draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + # The released drafter's KV block at TP8 x DCP8. + prefix-match-unit: 1408 + decode: &override_1p5d_k5_decode + nodes: 10 + workers: 5 + env: + <<: *k31_tp8_decode_env + # Specialized decode table for 6-token rows (5 drafts). + K31_S30K: "6" + args: &override_1p5d_k5_decode_args + speculative-config: *spec_k5 + prefix-match-unit: 1408 + max-cudagraph-capture-size: 384 + compilation-config: '{"cudagraph_capture_sizes":[6,12,18,24,30,36,42,48,54,60,66,72,78,84,90,96,102,108,114,120,126,132,138,144,150,156,162,168,174,180,186,192,198,204,210,216,222,228,234,240,246,252,258,264,270,276,282,288,294,300,306,312,318,324,330,336,342,348,354,360,366,372,378,384]}' + +override_1p5d_k5_eval: + engine: + set_visible_devices: true + roles: + prefill: + <<: *override_1p5d_k5_prefill + args: + <<: *override_1p5d_k5_prefill_args + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true + decode: + <<: *override_1p5d_k5_decode + args: + <<: *override_1p5d_k5_decode_args + reasoning-parser: kimi_k3 + dyn-tool-call-parser: kimi_k3 + dyn-reasoning-parser: kimi_k3 + dyn-enable-structural-tag: true diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index 098e7cb871..14084c2591 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -8915,13 +8915,13 @@ kimik3.1-fp4-gb300-dynamo-sglang-agentic-dflash-agg-mk: worker: { num-worker: 1, tp: 16, ep: 1, dp-attn: false } kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg: - image: vllm/vllm-openai:kimi-k31-mc-dbbc9e3@sha256:0507dd0ba274bdb5bb8223f3248c0772db2a9517cfd1c06f132ec2989713635e + image: vllm/vllm-openai:kimi-k31-mc-f4c9618@sha256:01257a77db1a749f97a542431d40c89cbec750c2f1585282e5975b4872ea7b19 model: moonshotai/Kimi-K3.1-Pro model-prefix: kimik3.1 runner: cluster:gb300-nv precision: fp4 framework: dynamo-vllm - router: { name: dynamo-router, version: 229be5cff1156859b0e3e43b598ee800b2f81ccc } + router: { name: dynamo-router, version: ec06c09e7232e24f6faeec4069acdc61e4379916 } kv-p2p-transfer: nixl multinode: true disagg: true @@ -8933,21 +8933,21 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg: - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } - conc-list: [44, 56] - srt-recipe: disagg-variants.yaml:override_1p5d - eval-srt-recipe: disagg-variants.yaml:override_1p5d_eval + conc-list: [44] + srt-recipe: disagg-variants.yaml:override_1p5d_k5 + eval-srt-recipe: disagg-variants.yaml:override_1p5d_k5_eval power: true prefill: { num-worker: 1, tp: 8, dcp-size: 8, ep: 8, dp-attn: false } decode: { num-worker: 5, tp: 8, dcp-size: 8, ep: 1, dp-attn: false } - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } - conc-list: [56] - srt-recipe: disagg-variants.yaml:override_1p3d_mns256 - eval-srt-recipe: disagg-variants.yaml:override_1p3d_mns256_eval + conc-list: [104] + srt-recipe: disagg-variants.yaml:override_1p5d_lpt + eval-srt-recipe: disagg-variants.yaml:override_1p5d_lpt_eval power: true prefill: { num-worker: 1, tp: 8, dcp-size: 8, ep: 8, dp-attn: false } - decode: { num-worker: 3, tp: 8, dcp-size: 8, ep: 1, dp-attn: false } + decode: { num-worker: 5, tp: 8, dcp-size: 8, ep: 1, dp-attn: false } - spec-decoding: mtp kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } @@ -8994,13 +8994,13 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep16-disagg: decode: { num-worker: 1, tp: 16, ep: 16, dp-attn: true } kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg: - image: vllm/vllm-openai:kimi-k31-mc-dbbc9e3@sha256:0507dd0ba274bdb5bb8223f3248c0772db2a9517cfd1c06f132ec2989713635e + image: vllm/vllm-openai:kimi-k31-mc-f4c9618@sha256:01257a77db1a749f97a542431d40c89cbec750c2f1585282e5975b4872ea7b19 model: moonshotai/Kimi-K3.1-Pro model-prefix: kimik3.1 runner: cluster:gb300-nv precision: fp4 framework: dynamo-vllm - router: { name: dynamo-router, version: 229be5cff1156859b0e3e43b598ee800b2f81ccc } + router: { name: dynamo-router, version: ec06c09e7232e24f6faeec4069acdc61e4379916 } kv-p2p-transfer: nixl multinode: true disagg: true @@ -9020,13 +9020,13 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg: decode: { num-worker: 1, tp: 32, ep: 32, dp-attn: true } kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-agg: - image: vllm/vllm-openai:kimi-k31-mc-dbbc9e3@sha256:0507dd0ba274bdb5bb8223f3248c0772db2a9517cfd1c06f132ec2989713635e + image: vllm/vllm-openai:kimi-k31-mc-f4c9618@sha256:01257a77db1a749f97a542431d40c89cbec750c2f1585282e5975b4872ea7b19 model: moonshotai/Kimi-K3.1-Pro model-prefix: kimik3.1 runner: cluster:gb300-nv precision: fp4 framework: dynamo-vllm - router: { name: dynamo-router, version: 229be5cff1156859b0e3e43b598ee800b2f81ccc } + router: { name: dynamo-router, version: ec06c09e7232e24f6faeec4069acdc61e4379916 } multinode: true disagg: false srt-recipe-dir: kimik3.1/vllm/gb300-fp4/agentx diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index bfa744b16f..838a3eccba 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13275,3 +13275,19 @@ - "Move every key of the DeepSeek-V4.1-Flash MI355X vLLM AgentX curve to vllm/vllm-openai-rocm:nightly-9c1d45c21836370104d4eb51d3b46eda20719c47 (2026-11-19, digest sha256:694108707f333787b1041caa0e948dd18b86f2450365a94e38819f026275ee32) and rerun all 13 points, so the whole curve is on one image: TP4 c1-c2, TP2 c1-c64 and TP8 c1 (previously nightly-4fab5a07), DP2 c128 without KV offloading and DP2 c256/c384 with UMBP KV offloading (previously nightly-60bd6dd)." - "Recipes, topology, concurrencies, speculative decoding and KV offloading are unchanged. Relative to nightly-60bd6dd, the image keeps the same ROCm 10.0, PyTorch 2.13.0, Triton, AITER v0.1.29 and MORI v1.2.3.post1 layers; only vLLM moves forward on main." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5151 + +- config-keys: + - kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dcp8-disagg + - kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg + - kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-agg + scenario-type: + - agentic-coding + description: + - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg, dep32-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-f4c9618 (vLLM 0.1.dev25380+gf4c96184b) with Dynamo ec06c09e72 (the source of the 1.8.0.dev20261119 nightly)." + - "DSpark uses the released draft Inferact/Kimi-K3.1-Pro-DSpark (revision e4e6e626), so synthetic acceptance follows its golden AL curve (4 draft tokens 3.46, 5 draft tokens 3.81, 7 draft tokens 4.16). prefix-match-unit is 1408 on the TP8/DCP8 and hybrid points, 768 on agg c1 and 512 on dep32-disagg." + - "Expert-parallel load balancing (enable-eplb, symm_mem copy, no redundant experts, re-placement every 3000 steps from a 1000-step window) on the dep32-disagg prefill and decode engines, the hybrid 3P1D prefill and decode engines, and the hybrid 2P1D prefill engines." + - "DEP32 2P1D at concurrency 960: 5 draft tokens with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), and a 2048 MB sparse-indexer logits budget per call on prefill." + - "Hybrid 3P1D at concurrency 448 and 2P1D at concurrency 256: 5 draft tokens (2P1D was 6) with decode graphs in multiples of 6 up to 1536." + - "TP8/DCP8 1P5D: concurrency 44 with 5 draft tokens, and concurrency 104 with 4 draft tokens and an adaptive 4096-token long-prefill threshold on the prefill engine; both decode engines turn on the image's opt-in TP8 x DCP8 decode paths (K31_* env). They replace 1P5D at 44 and 56 and 1P3D at 56." + - "Aggregated TP16/DCP16 at concurrency 1: 7 draft tokens with the image's opt-in c=1 decode paths (K31_* env) and prefix-match-unit 768." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5109 From e5d08a0f3cf7882ed33f1731e58ada2dd2a6c5ce Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 21 Nov 2026 13:51:51 -0800 Subject: [PATCH 10/14] Kimi-K3.1-Pro GB300 dep32-disagg: evict 5% of the Mooncake store at a time Raise the Mooncake master eviction high watermark from 0.95 to 0.98 and lower the eviction ratio from 0.10 to 0.05 on the c960 DEP32 2P1D config, so fewer cached prefixes are dropped per eviction and prefill recomputes less. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml | 4 ++-- inferencex-e2e/perf-changelog.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml index f86ff0ec54..2240123b56 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -45,8 +45,8 @@ base: type: mooncake-master args: - "--default_kv_lease_ttl=60000" - - "--eviction_high_watermark_ratio=0.95" - - "--eviction_ratio=0.10" + - "--eviction_high_watermark_ratio=0.98" + - "--eviction_ratio=0.05" options: store_config: metadata_server: "P2PHANDSHAKE" diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 838a3eccba..1252763673 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13286,7 +13286,7 @@ - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg, dep32-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-f4c9618 (vLLM 0.1.dev25380+gf4c96184b) with Dynamo ec06c09e72 (the source of the 1.8.0.dev20261119 nightly)." - "DSpark uses the released draft Inferact/Kimi-K3.1-Pro-DSpark (revision e4e6e626), so synthetic acceptance follows its golden AL curve (4 draft tokens 3.46, 5 draft tokens 3.81, 7 draft tokens 4.16). prefix-match-unit is 1408 on the TP8/DCP8 and hybrid points, 768 on agg c1 and 512 on dep32-disagg." - "Expert-parallel load balancing (enable-eplb, symm_mem copy, no redundant experts, re-placement every 3000 steps from a 1000-step window) on the dep32-disagg prefill and decode engines, the hybrid 3P1D prefill and decode engines, and the hybrid 2P1D prefill engines." - - "DEP32 2P1D at concurrency 960: 5 draft tokens with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), and a 2048 MB sparse-indexer logits budget per call on prefill." + - "DEP32 2P1D at concurrency 960: 5 draft tokens with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), a 2048 MB sparse-indexer logits budget per call on prefill, and a Mooncake master that evicts 5% of the store at a time with a 0.98 high watermark (was 10% and 0.95)." - "Hybrid 3P1D at concurrency 448 and 2P1D at concurrency 256: 5 draft tokens (2P1D was 6) with decode graphs in multiples of 6 up to 1536." - "TP8/DCP8 1P5D: concurrency 44 with 5 draft tokens, and concurrency 104 with 4 draft tokens and an adaptive 4096-token long-prefill threshold on the prefill engine; both decode engines turn on the image's opt-in TP8 x DCP8 decode paths (K31_* env). They replace 1P5D at 44 and 56 and 1P3D at 56." - "Aggregated TP16/DCP16 at concurrency 1: 7 draft tokens with the image's opt-in c=1 decode paths (K31_* env) and prefix-match-unit 768." From b232689265191aef836191840da12f1e0d64dda1 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 21 Nov 2026 14:09:55 -0800 Subject: [PATCH 11/14] Kimi-K3.1-Pro GB300 agg c1: drop K31_MK1; changelog: note the previous draft lengths K31_MK1 is not read anywhere in kimi-k31-mc-f4c9618, so the c=1 recipe no longer sets it (no change in behavior). The changelog entry now states the draft lengths the c960, hybrid 3P1D and 1P5D c44 points used before. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml | 1 - inferencex-e2e/perf-changelog.yaml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml index 6d19f166a6..f301d36b7e 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/agg-variants.yaml @@ -182,7 +182,6 @@ override_agg16_c1: K31_PUB8_DPUSH: "1" K31_PUB8_AHEAD: "16" K31_NP1: "1" - K31_MK1: "1" K31_S31MK: "1" K31_S31FC: "1" K31_S31DG: "1" diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 1252763673..1d857ab9c3 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13286,8 +13286,8 @@ - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg, dep32-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-f4c9618 (vLLM 0.1.dev25380+gf4c96184b) with Dynamo ec06c09e72 (the source of the 1.8.0.dev20261119 nightly)." - "DSpark uses the released draft Inferact/Kimi-K3.1-Pro-DSpark (revision e4e6e626), so synthetic acceptance follows its golden AL curve (4 draft tokens 3.46, 5 draft tokens 3.81, 7 draft tokens 4.16). prefix-match-unit is 1408 on the TP8/DCP8 and hybrid points, 768 on agg c1 and 512 on dep32-disagg." - "Expert-parallel load balancing (enable-eplb, symm_mem copy, no redundant experts, re-placement every 3000 steps from a 1000-step window) on the dep32-disagg prefill and decode engines, the hybrid 3P1D prefill and decode engines, and the hybrid 2P1D prefill engines." - - "DEP32 2P1D at concurrency 960: 5 draft tokens with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), a 2048 MB sparse-indexer logits budget per call on prefill, and a Mooncake master that evicts 5% of the store at a time with a 0.98 high watermark (was 10% and 0.95)." - - "Hybrid 3P1D at concurrency 448 and 2P1D at concurrency 256: 5 draft tokens (2P1D was 6) with decode graphs in multiples of 6 up to 1536." - - "TP8/DCP8 1P5D: concurrency 44 with 5 draft tokens, and concurrency 104 with 4 draft tokens and an adaptive 4096-token long-prefill threshold on the prefill engine; both decode engines turn on the image's opt-in TP8 x DCP8 decode paths (K31_* env). They replace 1P5D at 44 and 56 and 1P3D at 56." + - "DEP32 2P1D at concurrency 960: 5 draft tokens (was 4) with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), a 2048 MB sparse-indexer logits budget per call on prefill, and a Mooncake master that evicts 5% of the store at a time with a 0.98 high watermark (was 10% and 0.95)." + - "Hybrid 3P1D at concurrency 448 and 2P1D at concurrency 256: 5 draft tokens (3P1D was 4, 2P1D was 6) with decode graphs in multiples of 6 up to 1536." + - "TP8/DCP8 1P5D: concurrency 44 with 5 draft tokens (was 4), and concurrency 104 with 4 draft tokens and an adaptive 4096-token long-prefill threshold on the prefill engine; both decode engines turn on the image's opt-in TP8 x DCP8 decode paths (K31_* env). They replace 1P5D at 44 and 56 and 1P3D at 56." - "Aggregated TP16/DCP16 at concurrency 1: 7 draft tokens with the image's opt-in c=1 decode paths (K31_* env) and prefix-match-unit 768." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5109 From f0eb10565a156da96e3b6a92848e749a7a02f520 Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 21 Nov 2026 21:16:36 -0800 Subject: [PATCH 12/14] Kimi-K3.1-Pro GB300 dep32-disagg c960: one DEP32 prefill engine instead of two DEP16 Serve the concurrency-960 point with one DEP32 prefill engine (data-parallel 32, 28 experts per rank, 85 GiB KV cache per rank) and the same DEP32 decode, on the same 16 nodes. Each prefill rank sees twice the tokens per expert, which raises prefill throughput at this saturated point. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../vllm/gb300-fp4/agentx/disagg-dep32.yaml | 18 ++++++++++++------ inferencex-e2e/configs/nvidia-master.yaml | 6 +++--- inferencex-e2e/perf-changelog.yaml | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml index 2240123b56..41b994df01 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -214,7 +214,7 @@ base: AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: "true" AIPERF_DYNAMO_SESSION_TIMEOUT_SECONDS: "14400" -override_2p1d_dep32: +override_1p1d_dep32: # The client's end-of-run post-processing needs about 100 GB of host memory, more than the prefill # head node has beside its Mooncake segments. benchmark: @@ -222,8 +222,10 @@ override_2p1d_dep32: node: dedicated roles: prefill: + # One DEP32 prefill engine (28 experts per rank) instead of two DEP16 engines, so each rank has room for an 85 GiB KV cache. nodes: 8 - workers: 2 + workers: 1 + gpus: 32 env: VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" @@ -234,7 +236,8 @@ override_2p1d_dep32: # Indexer logits budget per call, so a long-context prompt runs in fewer indexer chunks. VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "2048" args: - kv-cache-memory-bytes: 61926160384 + kv-cache-memory-bytes: 91268055040 + data-parallel-size: 32 block-size: 16384 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' kernel-config: '{"sparse_indexer_topk_backend":"deep_select"}' @@ -266,11 +269,13 @@ override_2p1d_dep32: eplb-config: '{"num_redundant_experts":0,"window_size":1000,"step_interval":3000,"communicator":"symm_mem","log_balancedness":true,"log_balancedness_interval":500}' kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"lookup_prefetch_limit":16,"lookup_prefetch_ttl_s":30,"enable_cross_layers_blocks":false,"enable_offload":false,"store_tp_size":1,"store_chunk_size":4096}}]}}' -override_2p1d_dep32_eval: +override_1p1d_dep32_eval: roles: prefill: + # One DEP32 prefill engine (28 experts per rank) instead of two DEP16 engines, so each rank has room for an 85 GiB KV cache. nodes: 8 - workers: 2 + workers: 1 + gpus: 32 env: VLLM_MOONCAKE_STORE_KEEP_LOADED_TAIL: "1" VLLM_MOONCAKE_STORE_DROP_CONSUMED_TAILS: "1" @@ -281,7 +286,8 @@ override_2p1d_dep32_eval: # Indexer logits budget per call, so a long-context prompt runs in fewer indexer chunks. VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "2048" args: - kv-cache-memory-bytes: 61926160384 + kv-cache-memory-bytes: 91268055040 + data-parallel-size: 32 block-size: 16384 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' kernel-config: '{"sparse_indexer_topk_backend":"deep_select"}' diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index 14084c2591..35a09fe581 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -9013,10 +9013,10 @@ kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-dep32-disagg: kv-offloading: dram kv-offload-backend: { name: mooncake, version: 0.3.14 } conc-list: [960] - srt-recipe: disagg-dep32.yaml:override_2p1d_dep32 - eval-srt-recipe: disagg-dep32.yaml:override_2p1d_dep32_eval + srt-recipe: disagg-dep32.yaml:override_1p1d_dep32 + eval-srt-recipe: disagg-dep32.yaml:override_1p1d_dep32_eval power: true - prefill: { num-worker: 2, tp: 16, ep: 16, dp-attn: true } + prefill: { num-worker: 1, tp: 32, ep: 32, dp-attn: true } decode: { num-worker: 1, tp: 32, ep: 32, dp-attn: true } kimik3.1-fp4-gb300-dynamo-vllm-agentic-dspark-mooncake-agg: diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 1d857ab9c3..1af5580d36 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13286,7 +13286,7 @@ - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg, dep32-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-f4c9618 (vLLM 0.1.dev25380+gf4c96184b) with Dynamo ec06c09e72 (the source of the 1.8.0.dev20261119 nightly)." - "DSpark uses the released draft Inferact/Kimi-K3.1-Pro-DSpark (revision e4e6e626), so synthetic acceptance follows its golden AL curve (4 draft tokens 3.46, 5 draft tokens 3.81, 7 draft tokens 4.16). prefix-match-unit is 1408 on the TP8/DCP8 and hybrid points, 768 on agg c1 and 512 on dep32-disagg." - "Expert-parallel load balancing (enable-eplb, symm_mem copy, no redundant experts, re-placement every 3000 steps from a 1000-step window) on the dep32-disagg prefill and decode engines, the hybrid 3P1D prefill and decode engines, and the hybrid 2P1D prefill engines." - - "DEP32 2P1D at concurrency 960: 5 draft tokens (was 4) with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), a 2048 MB sparse-indexer logits budget per call on prefill, and a Mooncake master that evicts 5% of the store at a time with a 0.98 high watermark (was 10% and 0.95)." + - "DEP32 1P1D at concurrency 960: one DEP32 prefill engine with an 85 GiB KV cache per rank replaces the two DEP16 prefill engines (same 16 nodes), 5 draft tokens (was 4) with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), a 2048 MB sparse-indexer logits budget per call on prefill, and a Mooncake master that evicts 5% of the store at a time with a 0.98 high watermark (was 10% and 0.95)." - "Hybrid 3P1D at concurrency 448 and 2P1D at concurrency 256: 5 draft tokens (3P1D was 4, 2P1D was 6) with decode graphs in multiples of 6 up to 1536." - "TP8/DCP8 1P5D: concurrency 44 with 5 draft tokens (was 4), and concurrency 104 with 4 draft tokens and an adaptive 4096-token long-prefill threshold on the prefill engine; both decode engines turn on the image's opt-in TP8 x DCP8 decode paths (K31_* env). They replace 1P5D at 44 and 56 and 1P3D at 56." - "Aggregated TP16/DCP16 at concurrency 1: 7 draft tokens with the image's opt-in c=1 decode paths (K31_* env) and prefix-match-unit 768." From 5db09f1436c596febceaec4f1d2fc11854b1a0bd Mon Sep 17 00:00:00 2001 From: Mi Sun Park Date: Sat, 21 Nov 2026 23:44:16 -0800 Subject: [PATCH 13/14] Kimi-K3.1-Pro GB300 dep32-disagg c960: 80 GiB prefill KV cache per rank Lower the DEP32 prefill KV cache from 85 GiB to 80 GiB per rank. Throughput is the same within noise and each prefill rank keeps about 5 GiB more free memory for the transient buffers of partially cached prompts. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Mi Sun Park --- .../kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml | 8 ++++---- inferencex-e2e/perf-changelog.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml index 41b994df01..f73eca6f3f 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3.1/vllm/gb300-fp4/agentx/disagg-dep32.yaml @@ -222,7 +222,7 @@ override_1p1d_dep32: node: dedicated roles: prefill: - # One DEP32 prefill engine (28 experts per rank) instead of two DEP16 engines, so each rank has room for an 85 GiB KV cache. + # One DEP32 prefill engine (28 experts per rank) instead of two DEP16 engines, so each rank has room for an 80 GiB KV cache. nodes: 8 workers: 1 gpus: 32 @@ -236,7 +236,7 @@ override_1p1d_dep32: # Indexer logits budget per call, so a long-context prompt runs in fewer indexer chunks. VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "2048" args: - kv-cache-memory-bytes: 91268055040 + kv-cache-memory-bytes: 85899345920 data-parallel-size: 32 block-size: 16384 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' @@ -272,7 +272,7 @@ override_1p1d_dep32: override_1p1d_dep32_eval: roles: prefill: - # One DEP32 prefill engine (28 experts per rank) instead of two DEP16 engines, so each rank has room for an 85 GiB KV cache. + # One DEP32 prefill engine (28 experts per rank) instead of two DEP16 engines, so each rank has room for an 80 GiB KV cache. nodes: 8 workers: 1 gpus: 32 @@ -286,7 +286,7 @@ override_1p1d_dep32_eval: # Indexer logits budget per call, so a long-context prompt runs in fewer indexer chunks. VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "2048" args: - kv-cache-memory-bytes: 91268055040 + kv-cache-memory-bytes: 85899345920 data-parallel-size: 32 block-size: 16384 attention-config: '{"indexer_kv_dtype":"mxfp4","indexer_logits_dtype":"bfloat16"}' diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 1af5580d36..27e60a3f59 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13286,7 +13286,7 @@ - "Move the Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX dcp8-disagg, dep32-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-f4c9618 (vLLM 0.1.dev25380+gf4c96184b) with Dynamo ec06c09e72 (the source of the 1.8.0.dev20261119 nightly)." - "DSpark uses the released draft Inferact/Kimi-K3.1-Pro-DSpark (revision e4e6e626), so synthetic acceptance follows its golden AL curve (4 draft tokens 3.46, 5 draft tokens 3.81, 7 draft tokens 4.16). prefix-match-unit is 1408 on the TP8/DCP8 and hybrid points, 768 on agg c1 and 512 on dep32-disagg." - "Expert-parallel load balancing (enable-eplb, symm_mem copy, no redundant experts, re-placement every 3000 steps from a 1000-step window) on the dep32-disagg prefill and decode engines, the hybrid 3P1D prefill and decode engines, and the hybrid 2P1D prefill engines." - - "DEP32 1P1D at concurrency 960: one DEP32 prefill engine with an 85 GiB KV cache per rank replaces the two DEP16 prefill engines (same 16 nodes), 5 draft tokens (was 4) with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), a 2048 MB sparse-indexer logits budget per call on prefill, and a Mooncake master that evicts 5% of the store at a time with a 0.98 high watermark (was 10% and 0.95)." + - "DEP32 1P1D at concurrency 960: one DEP32 prefill engine with an 80 GiB KV cache per rank replaces the two DEP16 prefill engines (same 16 nodes), 5 draft tokens (was 4) with decode graphs in multiples of 6 up to 192, DSpark sliding-window tail store and hits (VLLM_DFLASH_SWA_TAIL_STORE=1, VLLM_DFLASH_SWA_TAIL_HITS=1, VLLM_SWA_FINE_GRAINED_HITS=1), a 2048 MB sparse-indexer logits budget per call on prefill, and a Mooncake master that evicts 5% of the store at a time with a 0.98 high watermark (was 10% and 0.95)." - "Hybrid 3P1D at concurrency 448 and 2P1D at concurrency 256: 5 draft tokens (3P1D was 4, 2P1D was 6) with decode graphs in multiples of 6 up to 1536." - "TP8/DCP8 1P5D: concurrency 44 with 5 draft tokens (was 4), and concurrency 104 with 4 draft tokens and an adaptive 4096-token long-prefill threshold on the prefill engine; both decode engines turn on the image's opt-in TP8 x DCP8 decode paths (K31_* env). They replace 1P5D at 44 and 56 and 1P3D at 56." - "Aggregated TP16/DCP16 at concurrency 1: 7 draft tokens with the image's opt-in c=1 decode paths (K31_* env) and prefix-match-unit 768." From 97747ac87c7a0c8a80217a999f1c8508f892c2cd Mon Sep 17 00:00:00 2001 From: Ankur-singh Date: Tue, 24 Nov 2026 13:08:28 -0800 Subject: [PATCH 14/14] chore: refresh PR #5109 for sweep reuse [skip-sweep]