diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/agg-mk-tp4.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/agg-mk-tp4.yaml new file mode 100644 index 0000000000..c8832c8916 --- /dev/null +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/agg-mk-tp4.yaml @@ -0,0 +1,99 @@ +schema: 2 +name: glm5.3-fp4-gb300-dynamo-sglang-agentx-agg-mk-tp4-c4-mrr4-mtp3 +identity: + model: {} + container: {} +resources: + gpu_type: gb300 + gpus_per_node: 4 +# The image ships the Dynamo runtime the frontend and workers use. +dynamo: + install: false +observability: + tachometer: + enabled: false +frontend: + type: dynamo + enable_multiple_frontends: false + env: + PIP_BREAK_SYSTEM_PACKAGES: '1' + args: + router-mode: kv + router-session-affinity-ttl-secs: '3600' + active-decode-blocks-threshold: None + active-prefill-tokens-threshold: None + active-prefill-tokens-threshold-frac: None +engine: sglang +roles: + agg: + workers: 1 + nodes: 1 + gpus: 4 + env: + DYN_SKIP_SGLANG_LOG_FORMATTING: '1' + PIP_BREAK_SYSTEM_PACKAGES: '1' + PYTHONNOUSERSITE: '1' + PYTHONUNBUFFERED: '1' + PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True + SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION: '1' + SGLANG_TIMEOUT_KEEP_ALIVE: '900' + TORCH_DISTRIBUTED_DEFAULT_TIMEOUT: '1800' + args: + served-model-name: nvidia/GLM-5.3-NVFP4 + trust-remote-code: true + quantization: modelopt_fp4 + tensor-parallel-size: 4 + expert-parallel-size: 1 + chunked-prefill-size: 8192 + max-prefill-tokens: 8192 + context-length: 1048576 + mem-fraction-static: 0.83 + # The GLM-5.3 megakernel spec refuses any other KV dtype, DSA decode kernel or MoE runner. + kv-cache-dtype: fp8_e4m3 + attention-backend: dsa + dsa-decode-backend: trtllm + moe-runner-backend: flashinfer_trtllm + disable-shared-experts-fusion: true + enable-nvidia-megakernel: true + enable-torch-symm-mem: true + speculative-algorithm: NEXTN + speculative-eagle-topk: 1 + speculative-num-steps: 3 + speculative-num-draft-tokens: 4 + reasoning-parser: glm45 + tool-call-parser: glm47 + weight-loader-prefetch-checkpoints: true + model-loader-extra-config: '{"enable_multithread_load":true}' + watchdog-timeout: 1800 + enable-cache-report: true + enable-metrics: true + max-running-requests: 4 + cuda-graph-max-bs-decode: 4 +health_check: + max_attempts: 540 + interval_seconds: 10 +benchmark: + env: + AIPERF_HTTP_TCP_USER_TIMEOUT: '900000' + AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: 'true' + AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'sglang:' +services: + - name: etcd + type: etcd + placement: + node: infra + - name: nats + type: nats + placement: + node: infra + options: + max_payload_mb: 64 + - name: otel-collector + type: otel-collector + enabled: false +sbatch_directives: + mem: '0' + cpus-per-task: '144' +srun_options: + mem: '0' + container-remap-root: '' diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.2/sglang/gb300-fp4/agentx/agg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/agg-mk-variants.yaml similarity index 55% rename from inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.2/sglang/gb300-fp4/agentx/agg-variants.yaml rename to inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/agg-mk-variants.yaml index ffa3e863b0..dec8e124ad 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.2/sglang/gb300-fp4/agentx/agg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/agg-mk-variants.yaml @@ -1,20 +1,16 @@ schema: 2 base: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-agg + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-agg-mk identity: model: {} container: {} - frameworks: - dynamo: 1.6.0.dev20261019 - sglang: 0.0.0.dev1+gc1c287a42 resources: gpu_type: gb300 gpus_per_node: 4 + # The image ships the Dynamo runtime the frontend and workers use. dynamo: install: false - # Tachometer's per-node exporters slow decode steps and add host memory; - # InferenceX does not read its output. observability: tachometer: enabled: false @@ -25,46 +21,65 @@ base: PIP_BREAK_SYSTEM_PACKAGES: '1' args: router-mode: kv + router-session-affinity-ttl-secs: '3600' active-decode-blocks-threshold: None active-prefill-tokens-threshold: None active-prefill-tokens-threshold-frac: None - router-session-affinity-ttl-secs: '3600' engine: sglang roles: agg: + workers: 1 + nodes: 2 + gpus: 8 env: - TORCH_DISTRIBUTED_DEFAULT_TIMEOUT: '1800' - PYTHONUNBUFFERED: '1' - PYTHONNOUSERSITE: '1' - PIP_BREAK_SYSTEM_PACKAGES: '1' DYN_SKIP_SGLANG_LOG_FORMATTING: '1' + MC_FORCE_MNNVL: '1' + NCCL_CUMEM_ENABLE: '1' + NCCL_MNNVL_ENABLE: '1' + PIP_BREAK_SYSTEM_PACKAGES: '1' + PYTHONNOUSERSITE: '1' + PYTHONUNBUFFERED: '1' + PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True + SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION: '1' SGLANG_TIMEOUT_KEEP_ALIVE: '900' + TORCH_DISTRIBUTED_DEFAULT_TIMEOUT: '1800' args: - served-model-name: nvidia/GLM-5.2-NVFP4 + served-model-name: nvidia/GLM-5.3-NVFP4 trust-remote-code: true quantization: modelopt_fp4 + tensor-parallel-size: 8 expert-parallel-size: 1 chunked-prefill-size: 8192 max-prefill-tokens: 8192 context-length: 1048576 - speculative-algorithm: EAGLE + mem-fraction-static: 0.83 + # The GLM-5.3 megakernel spec refuses any other KV dtype, DSA decode kernel or MoE runner. + kv-cache-dtype: fp8_e4m3 + attention-backend: dsa + dsa-decode-backend: trtllm + moe-runner-backend: flashinfer_trtllm + disable-shared-experts-fusion: true + enable-nvidia-megakernel: true + enable-torch-symm-mem: true + speculative-algorithm: NEXTN speculative-eagle-topk: 1 + speculative-num-steps: 3 + speculative-num-draft-tokens: 4 + reasoning-parser: glm45 + tool-call-parser: glm47 weight-loader-prefetch-checkpoints: true model-loader-extra-config: '{"enable_multithread_load":true}' - enable-hierarchical-cache: true - hicache-size: 100 - hicache-write-policy: write_back - hicache-io-backend: direct + watchdog-timeout: 1800 + enable-cache-report: true enable-metrics: true health_check: - max_attempts: 1440 + max_attempts: 540 interval_seconds: 10 benchmark: env: + AIPERF_HTTP_TCP_USER_TIMEOUT: '900000' AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: 'true' AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'sglang:' - # The client splits this value on whitespace, so it has none. - AIPERF_EXTRA_INPUTS: '{"chat_template_kwargs":{"enable_thinking":true},"temperature":1,"top_p":0.95}' services: - name: etcd type: etcd @@ -76,7 +91,6 @@ base: node: infra options: max_payload_mb: 64 - # Disables Dynamo's per-request lifecycle span export; InferenceX does not read it. - name: otel-collector type: otel-collector enabled: false @@ -87,47 +101,18 @@ base: mem: '0' container-remap-root: '' -override_tp4_c1: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-agg-tp4-c1-mtp4 +override_tp8_c4_mrr4: + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-agg-mk-tp8-c4-mrr4-mtp3 roles: agg: - nodes: 1 args: - tensor-parallel-size: 4 - kv-cache-dtype: fp8_e4m3 - bf16-gemm-backend: cutedsl - tool-call-parser: glm47 - reasoning-parser: glm45 - mem-fraction-static: 0.83 - speculative-num-steps: 4 - speculative-num-draft-tokens: 5 - max-running-requests: 8 - cuda-graph-max-bs-decode: 8 - hicache-mem-layout: page_first_direct - watchdog-timeout: 1800 + max-running-requests: 4 + cuda-graph-max-bs-decode: 4 -override_tp8_c1: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-agg-tp8-c1-mtp5 +override_tp8_c1_mrr1: + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-agg-mk-tp8-c1-mrr1-mtp3 roles: agg: - nodes: 2 - env: - MC_TE_METRIC: 'true' - MC_FORCE_MNNVL: '1' - NCCL_MNNVL_ENABLE: '1' - NCCL_CUMEM_ENABLE: '1' - NVSHMEM_REMOTE_TRANSPORT: none - SGLANG_MOONCAKE_CUSTOM_MEM_POOL: 'True' - SGLANG_USE_MESSAGE_QUEUE_BROADCASTER: '0' - SGLANG_CLIP_MAX_NEW_TOKENS_ESTIMATION: '8' args: - tensor-parallel-size: 8 - data-parallel-size: 1 - fp4-gemm-backend: flashinfer_trtllm - mem-fraction-static: 0.8 - speculative-num-steps: 5 - speculative-num-draft-tokens: 6 - max-running-requests: 2 - cuda-graph-max-bs-decode: 2 - watchdog-timeout: 1000000 - enable-cache-report: true + max-running-requests: 1 + cuda-graph-max-bs-decode: 1 diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/disagg-mk-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/disagg-mk-variants.yaml new file mode 100644 index 0000000000..ad2538bb8f --- /dev/null +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/disagg-mk-variants.yaml @@ -0,0 +1,198 @@ +schema: 2 + +base: + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg-mk + identity: + model: {} + container: {} + frameworks: + dynamo: 1.8.0.dev20261119 + sglang: 0.0.0.dev1+ga8ac86595 + resources: + gpu_type: gb300 + gpus_per_node: 4 + # Dynamo 1.7 and older pass Engine.async_generate(data_parallel_rank=), which this SGLang rejects. + dynamo: + install: true + source: + wheel: 1.8.0.dev20261119 + # Tachometer's per-node exporters slow decode steps and add host memory; + # InferenceX does not read its output. + observability: + tachometer: + enabled: false + frontend: + type: dynamo + nginx_session_affinity: true + nginx_session_affinity_header: X-Dynamo-Session-ID + enable_multiple_frontends: true + env: + PIP_BREAK_SYSTEM_PACKAGES: '1' + args: + router-mode: kv + router-replica-sync: true + active-decode-blocks-threshold: None + active-prefill-tokens-threshold: None + active-prefill-tokens-threshold-frac: None + engine: sglang + roles: + prefill: + nodes: 1 + env: + TORCH_DISTRIBUTED_DEFAULT_TIMEOUT: '1800' + SGLANG_TIMEOUT_KEEP_ALIVE: '900' + SGLANG_DISAGGREGATION_HEARTBEAT_MAX_FAILURE: '100000' + SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: '100000' + SGLANG_DISAGGREGATION_WAITING_TIMEOUT: '100000' + SGLANG_USE_MESSAGE_QUEUE_BROADCASTER: '0' + SGLANG_MOONCAKE_CUSTOM_MEM_POOL: 'True' + MC_FORCE_MNNVL: '1' + NCCL_MNNVL_ENABLE: '1' + NCCL_CUMEM_ENABLE: '1' + NVSHMEM_REMOTE_TRANSPORT: none + args: + served-model-name: nvidia/GLM-5.3-NVFP4 + trust-remote-code: true + watchdog-timeout: 1000000 + quantization: modelopt_fp4 + disaggregation-transfer-backend: nixl + tensor-parallel-size: 1 + pipeline-parallel-size: 4 + chunked-prefill-size: 16384 + max-prefill-tokens: 16384 + max-running-requests: 16 + # This SGLang refuses --disable-cuda-graph at parse time. + disable-decode-cuda-graph: true + disable-prefill-cuda-graph: true + moe-runner-backend: flashinfer_cutedsl + fp4-gemm-backend: flashinfer_cutedsl + weight-loader-prefetch-checkpoints: true + model-loader-extra-config: '{"enable_multithread_load":true}' + mem-fraction-static: 0.83 + context-length: 1048576 + enable-hierarchical-cache: true + hicache-write-policy: write_back + hicache-io-backend: direct + speculative-algorithm: EAGLE + speculative-moe-runner-backend: flashinfer_trtllm + speculative-num-steps: 5 + speculative-eagle-topk: 1 + speculative-num-draft-tokens: 6 + # Advertised to the frontend's prefill router: a session's turns stay on one prefill worker. + router-mode: kv + router-replica-sync: true + router-session-affinity-ttl-secs: '3600' + enable-metrics: true + enable-cache-report: true + enable-request-time-stats-logging: true + decode: + env: + TORCH_DISTRIBUTED_DEFAULT_TIMEOUT: '1800' + SGLANG_TIMEOUT_KEEP_ALIVE: '900' + SGLANG_DISAGGREGATION_HEARTBEAT_MAX_FAILURE: '100000' + SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: '100000' + SGLANG_DISAGGREGATION_WAITING_TIMEOUT: '100000' + SGLANG_USE_MESSAGE_QUEUE_BROADCASTER: '0' + SGLANG_CLIP_MAX_NEW_TOKENS_ESTIMATION: '8' + SGLANG_MOONCAKE_CUSTOM_MEM_POOL: 'True' + MC_FORCE_MNNVL: '1' + NCCL_MNNVL_ENABLE: '1' + NCCL_CUMEM_ENABLE: '1' + NVSHMEM_REMOTE_TRANSPORT: none + args: + served-model-name: nvidia/GLM-5.3-NVFP4 + trust-remote-code: true + watchdog-timeout: 1000000 + quantization: modelopt_fp4 + disaggregation-transfer-backend: nixl + speculative-algorithm: EAGLE + speculative-num-steps: 5 + speculative-eagle-topk: 1 + speculative-num-draft-tokens: 6 + chunked-prefill-size: 64 + context-length: 1048576 + fp4-gemm-backend: flashinfer_cutedsl + skip-tokenizer-init: true + stream-interval: 30 + weight-loader-prefetch-checkpoints: true + model-loader-extra-config: '{"enable_multithread_load":true}' + mem-fraction-static: 0.9 + disaggregation-decode-extra-slots: 0 + # Advertised to the frontend's decode router: the active-request term + # dominates KV overlap, so decode picks balance request counts. + router-mode: kv + router-replica-sync: true + router-decode-active-request-weight: '8192' + enable-metrics: true + enable-cache-report: true + enable-request-time-stats-logging: true + health_check: + max_attempts: 1440 + interval_seconds: 10 + benchmark: + env: + AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: 'true' + AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'sglang:' + # The client splits this value on whitespace, so it has none. + AIPERF_EXTRA_INPUTS: '{"chat_template_kwargs":{"enable_thinking":true},"temperature":1,"top_p":0.95}' + services: + - name: etcd + type: etcd + placement: + node: infra + - name: nats + type: nats + placement: + node: infra + options: + max_payload_mb: 64 + # Disables Dynamo's per-request lifecycle span export; InferenceX does not read it. + - name: otel-collector + type: otel-collector + enabled: false + sbatch_directives: + mem: '0' + cpus-per-task: '144' + srun_options: + mem: '0' + container-remap-root: '' + +override_1p5d_pp4_tp4_c30: + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg-mk-1p5d-pp4-tp4-c30 + roles: + prefill: + args: + hicache-size: 100 + active-decode-blocks-threshold: None + active-prefill-tokens-threshold: None + active-prefill-tokens-threshold-frac: None + decode: + nodes: 5 + env: + SGLANG_ENABLE_EMBED_REPLICATION: '1' + args: + tensor-parallel-size: 4 + disaggregation-decode-enable-radix-cache: true + max-running-requests: 24 + cuda-graph-max-bs-decode: 24 + enable-nvidia-megakernel: true + +override_1p3d_pp4_tp4_c40: + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg-mk-1p3d-pp4-tp4-c40 + roles: + prefill: + args: + hicache-size: 100 + active-decode-blocks-threshold: None + active-prefill-tokens-threshold: None + active-prefill-tokens-threshold-frac: None + decode: + nodes: 3 + env: + SGLANG_ENABLE_EMBED_REPLICATION: '1' + args: + tensor-parallel-size: 4 + disaggregation-decode-enable-radix-cache: true + max-running-requests: 24 + cuda-graph-max-bs-decode: 24 + enable-nvidia-megakernel: true diff --git a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.2/sglang/gb300-fp4/agentx/disagg-variants.yaml b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/disagg-variants.yaml similarity index 79% rename from inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.2/sglang/gb300-fp4/agentx/disagg-variants.yaml rename to inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/disagg-variants.yaml index 394488ab67..580e6db3be 100644 --- a/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.2/sglang/gb300-fp4/agentx/disagg-variants.yaml +++ b/inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.3/sglang/gb300-fp4/agentx/disagg-variants.yaml @@ -1,20 +1,21 @@ schema: 2 base: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-disagg + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg identity: model: {} container: {} frameworks: - dynamo: 1.6.0.dev20261016 - sglang: 0.0.0.dev1+gc15edf314 + dynamo: 1.8.0.dev20261119 + sglang: 0.0.0.dev1+ga8ac86595 resources: gpu_type: gb300 gpus_per_node: 4 + # Dynamo 1.7 and older pass Engine.async_generate(data_parallel_rank=), which this SGLang rejects. dynamo: install: true source: - wheel: 1.6.0.dev20261016 + wheel: 1.8.0.dev20261119 # Tachometer's per-node exporters slow decode steps and add host memory; # InferenceX does not read its output. observability: @@ -50,7 +51,7 @@ base: NCCL_CUMEM_ENABLE: '1' NVSHMEM_REMOTE_TRANSPORT: none args: - served-model-name: nvidia/GLM-5.2-NVFP4 + served-model-name: nvidia/GLM-5.3-NVFP4 trust-remote-code: true watchdog-timeout: 1000000 quantization: modelopt_fp4 @@ -60,7 +61,9 @@ base: chunked-prefill-size: 16384 max-prefill-tokens: 16384 max-running-requests: 16 - disable-cuda-graph: true + # This SGLang refuses --disable-cuda-graph at parse time. + disable-decode-cuda-graph: true + disable-prefill-cuda-graph: true moe-runner-backend: flashinfer_cutedsl fp4-gemm-backend: flashinfer_cutedsl weight-loader-prefetch-checkpoints: true @@ -97,7 +100,7 @@ base: NCCL_CUMEM_ENABLE: '1' NVSHMEM_REMOTE_TRANSPORT: none args: - served-model-name: nvidia/GLM-5.2-NVFP4 + served-model-name: nvidia/GLM-5.3-NVFP4 trust-remote-code: true watchdog-timeout: 1000000 quantization: modelopt_fp4 @@ -154,42 +157,8 @@ base: mem: '0' container-remap-root: '' -override_1p5d_pp4_tp4_c30: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-disagg-1p5d-pp4-tp4-c30 - roles: - prefill: - args: - hicache-size: 100 - active-decode-blocks-threshold: None - active-prefill-tokens-threshold: None - active-prefill-tokens-threshold-frac: None - decode: - nodes: 5 - args: - tensor-parallel-size: 4 - disaggregation-decode-enable-radix-cache: true - max-running-requests: 24 - cuda-graph-max-bs-decode: 24 - -override_1p3d_pp4_tp4_c40: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-disagg-1p3d-pp4-tp4-c40 - roles: - prefill: - args: - hicache-size: 100 - active-decode-blocks-threshold: None - active-prefill-tokens-threshold: None - active-prefill-tokens-threshold-frac: None - decode: - nodes: 3 - args: - tensor-parallel-size: 4 - disaggregation-decode-enable-radix-cache: true - max-running-requests: 24 - cuda-graph-max-bs-decode: 24 - override_1p1d_pp4_dep8_c56: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-disagg-1p1d-pp4-dep8-c56 + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg-1p1d-pp4-dep8-c56 roles: prefill: args: @@ -200,10 +169,9 @@ override_1p1d_pp4_dep8_c56: nodes: 2 args: tensor-parallel-size: 8 - data-parallel-size: 8 + attn-dp-size: 8 expert-parallel-size: 8 - enable-dp-attention: true - moe-a2a-backend: flashinfer + moe-a2a-backend: flashinfer_nvlink_one_sided moe-runner-backend: flashinfer_trtllm speculative-moe-a2a-backend: none speculative-moe-runner-backend: flashinfer_trtllm @@ -213,7 +181,7 @@ override_1p1d_pp4_dep8_c56: cuda-graph-max-bs-decode: 32 override_3p1d_pp4_dep8_c216: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-disagg-3p1d-pp4-dep8-c216 + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg-3p1d-pp4-dep8-c216 roles: prefill: nodes: 3 @@ -224,10 +192,9 @@ override_3p1d_pp4_dep8_c216: nodes: 2 args: tensor-parallel-size: 8 - data-parallel-size: 8 + attn-dp-size: 8 expert-parallel-size: 8 - enable-dp-attention: true - moe-a2a-backend: flashinfer + moe-a2a-backend: flashinfer_nvlink_one_sided moe-runner-backend: flashinfer_trtllm speculative-moe-a2a-backend: none speculative-moe-runner-backend: flashinfer_trtllm @@ -236,7 +203,7 @@ override_3p1d_pp4_dep8_c216: cuda-graph-max-bs-decode: 32 override_3p1d_pp4_dep8_c264: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-disagg-3p1d-pp4-dep8-hicache185-c264 + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg-3p1d-pp4-dep8-hicache185-c264 roles: prefill: nodes: 3 @@ -251,10 +218,9 @@ override_3p1d_pp4_dep8_c264: nodes: 2 args: tensor-parallel-size: 8 - data-parallel-size: 8 + attn-dp-size: 8 expert-parallel-size: 8 - enable-dp-attention: true - moe-a2a-backend: flashinfer + moe-a2a-backend: flashinfer_nvlink_one_sided moe-runner-backend: flashinfer_trtllm speculative-moe-a2a-backend: none speculative-moe-runner-backend: flashinfer_trtllm @@ -264,7 +230,7 @@ override_3p1d_pp4_dep8_c264: cuda-graph-max-bs-decode: 32 override_4p1d_pp4_dep16_c256: - name: glm5.2-fp4-gb300-dynamo-sglang-agentx-disagg-4p1d-pp4-dep16-c256 + name: glm5.3-fp4-gb300-dynamo-sglang-agentx-disagg-4p1d-pp4-dep16-c256 roles: prefill: nodes: 4 @@ -272,10 +238,9 @@ override_4p1d_pp4_dep16_c256: nodes: 4 args: tensor-parallel-size: 16 - data-parallel-size: 16 + attn-dp-size: 16 expert-parallel-size: 16 - enable-dp-attention: true - moe-a2a-backend: flashinfer + moe-a2a-backend: flashinfer_nvlink_one_sided moe-runner-backend: flashinfer_trtllm speculative-moe-a2a-backend: none speculative-moe-runner-backend: flashinfer_trtllm diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index 69cae7c795..bf3a2f35bd 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -6282,54 +6282,61 @@ kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-disagg: power: true prefill: { num-worker: 1, gpus-per-worker: 16, tp: 8, pp: 2, dcp-size: 8, ep: 2, dp-attn: false } decode: { num-worker: 1, gpus-per-worker: 16, tp: 16, dcp-size: 8, ep: 16, dp-attn: false } -glm5.2-fp4-gb300-dynamo-sglang-agentic-agg: - image: lmsysorg/sglang:nightly-dev-20261021-c1c287a4@sha256:b0473834763b2753e069cb96c1acaf235ba7fd632ccd9bbeb44da809c437fdeb - model: nvidia/GLM-5.2-NVFP4 - model-prefix: glm5.2 +glm5.3-fp4-gb300-dynamo-sglang-agentic-agg-megakernel: + image: lmsysorg/sglang:nightly-dev-20261121-a8ac8659@sha256:56e4024e21c35266192fd4c3313f39960156fcee1bee6aa8aab293e65131d838 + model: nvidia/GLM-5.3-NVFP4 + model-prefix: glm5.3 runner: cluster:gb300-nv precision: fp4 framework: dynamo-sglang - router: { name: dynamo-router, version: "1.6.0.dev20261015" } multinode: true disagg: false - srt-recipe-dir: glm5.2/sglang/gb300-fp4/agentx + srt-recipe-dir: glm5.3/sglang/gb300-fp4/agentx scenarios: agentic-coding: - search-space: - spec-decoding: mtp - conc-list: [1] - kv-offloading: dram - kv-offload-backend: { name: hicache } - srt-recipe: agg-variants.yaml:override_tp4_c1 + conc-list: [4] + kv-offloading: none + srt-recipe: agg-mk-tp4.yaml worker: num-worker: 1 gpus-per-worker: 4 tp: 4 ep: 1 dp-attn: false + - spec-decoding: mtp + conc-list: [4] + kv-offloading: none + srt-recipe: agg-mk-variants.yaml:override_tp8_c4_mrr4 + worker: + num-worker: 1 + gpus-per-worker: 8 + tp: 8 + ep: 1 + dp-attn: false - spec-decoding: mtp conc-list: [1] - kv-offloading: dram - kv-offload-backend: { name: hicache } - srt-recipe: agg-variants.yaml:override_tp8_c1 + kv-offloading: none + srt-recipe: agg-mk-variants.yaml:override_tp8_c1_mrr1 worker: num-worker: 1 gpus-per-worker: 8 tp: 8 ep: 1 dp-attn: false -glm5.2-fp4-gb300-dynamo-sglang-agentic-disagg: - image: lmsysorg/sglang:nightly-dev-20261016-a93f16f0@sha256:0b3e39704480c423d8a00ca15ebee63154defc62944df2d4b11c594563bab457 - model: nvidia/GLM-5.2-NVFP4 - model-prefix: glm5.2 +glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg-megakernel: + image: lmsysorg/sglang:nightly-dev-20261121-a8ac8659@sha256:56e4024e21c35266192fd4c3313f39960156fcee1bee6aa8aab293e65131d838 + model: nvidia/GLM-5.3-NVFP4 + model-prefix: glm5.3 runner: cluster:gb300-nv precision: fp4 framework: dynamo-sglang - router: { name: dynamo-router, version: "1.6.0.dev20261016" } + router: { name: dynamo-router, version: "1.8.0.dev20261119" } kv-p2p-transfer: nixl multinode: true disagg: true - srt-recipe-dir: glm5.2/sglang/gb300-fp4/agentx + srt-recipe-dir: glm5.3/sglang/gb300-fp4/agentx scenarios: agentic-coding: - search-space: @@ -6337,7 +6344,7 @@ glm5.2-fp4-gb300-dynamo-sglang-agentic-disagg: conc-list: [30] kv-offloading: dram kv-offload-backend: { name: hicache } - srt-recipe: disagg-variants.yaml:override_1p5d_pp4_tp4_c30 + srt-recipe: disagg-mk-variants.yaml:override_1p5d_pp4_tp4_c30 prefill: num-worker: 1 gpus-per-worker: 4 @@ -6356,7 +6363,7 @@ glm5.2-fp4-gb300-dynamo-sglang-agentic-disagg: conc-list: [40] kv-offloading: dram kv-offload-backend: { name: hicache } - srt-recipe: disagg-variants.yaml:override_1p3d_pp4_tp4_c40 + srt-recipe: disagg-mk-variants.yaml:override_1p3d_pp4_tp4_c40 prefill: num-worker: 1 gpus-per-worker: 4 @@ -6371,6 +6378,21 @@ glm5.2-fp4-gb300-dynamo-sglang-agentic-disagg: pp: 1 ep: 1 dp-attn: false +glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg: + image: lmsysorg/sglang:nightly-dev-20261121-a8ac8659@sha256:56e4024e21c35266192fd4c3313f39960156fcee1bee6aa8aab293e65131d838 + model: nvidia/GLM-5.3-NVFP4 + model-prefix: glm5.3 + runner: cluster:gb300-nv + precision: fp4 + framework: dynamo-sglang + router: { name: dynamo-router, version: "1.8.0.dev20261119" } + kv-p2p-transfer: nixl + multinode: true + disagg: true + srt-recipe-dir: glm5.3/sglang/gb300-fp4/agentx + scenarios: + agentic-coding: + - search-space: - spec-decoding: mtp conc-list: [56] kv-offloading: dram diff --git a/inferencex-e2e/configs/runners.yaml b/inferencex-e2e/configs/runners.yaml index fb5aed78d6..cf54402b9e 100644 --- a/inferencex-e2e/configs/runners.yaml +++ b/inferencex-e2e/configs/runners.yaml @@ -684,6 +684,7 @@ clusters: GLM-5.2-NVFP4: {root: scratch, dir: GLM-5.2-NVFP4} GLM-5.3-Flash: {root: data-models, dir: GLM-5.3-Flash} GLM-5.3-Flash-NVFP4: {root: data-models, dir: GLM-5.3-Flash-NVFP4} + GLM-5.3-NVFP4: {root: data-models, dir: GLM-5.3-NVFP4} Kimi-K3.1-Pro: {root: scratch, dir: Kimi-K3.1-Pro} MiniMax-M3.1-Flash: {root: data-models, dir: MiniMax-M3.1-Flash} Muse-Spark-Open-816B-A42B-NVFP4: {root: data-models, dir: Muse-Spark-Open-816B-A42B-NVFP4} diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 5157ebf1cc..a614c9e8da 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13507,3 +13507,25 @@ - "Use native MTP and configure prefill HiCache and Mooncake DRAM storage for disaggregated serving." - "Pack two PP2 prefill workers onto each GB300 prefill node and place the c890 client on the last decode node." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5233 + +- config-keys: + - glm5.3-fp4-gb300-dynamo-sglang-agentic-agg-megakernel + - glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg-megakernel + - glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg + scenario-type: + - agentic-coding + description: + - "Add GLM-5.3 NVFP4 GB300 Dynamo SGLang AgentX on lmsysorg/sglang:nightly-dev-20261121-a8ac8659 (digest-pinned), which includes sgl-project/sglang#46210 and bundles sgl-nvidia-mega main with sgl-project/sgl-nvidia-mega#24. The disaggregated recipes install Dynamo 1.8.0.dev20261119 and use it as the router; the aggregated megakernel points use the Dynamo runtime the image ships. MTP with golden acceptance from the glm-5.3-nvfp4 curve; HiCache DRAM KV offload on the disaggregated points." + - "glm5.3-fp4-gb300-dynamo-sglang-agentic-agg-megakernel: one aggregated TP4 worker on one node at concurrency 4, and one TP8 worker over two nodes at concurrency 4 and 1, with no KV offload. The concurrency-4 points allow 4 running requests (--max-running-requests 4 --cuda-graph-max-bs-decode 4) and the TP8 concurrency-1 point allows 1. All run with the NVIDIA megakernel (--enable-nvidia-megakernel) and SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION=1. NEXTN MTP with 3 steps and 4 draft tokens; FP8 E4M3 KV cache, --attention-backend dsa --dsa-decode-backend trtllm, --moe-runner-backend flashinfer_trtllm, --disable-shared-experts-fusion and --enable-torch-symm-mem." + - "glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg-megakernel: NIXL transfer, TP1 PP4 prefill with decode and prefill CUDA graphs off, and TP4 decode (5 draft steps) with the megakernel: 1P x 5D at concurrency 30 and 1P x 3D at 40." + - "glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg: the GLM-5.2 GB300 Dynamo SGLang disaggregated recipes on GLM-5.3 and this image, without the megakernel: 1P x 1D DEP8 at concurrency 56, 3P x 1D DEP8 at 216 and 264, and 4P x 1D DEP16 at 256. For SGLang 1.0, prefill passes --disable-decode-cuda-graph --disable-prefill-cuda-graph instead of --disable-cuda-graph, and DEP decode passes --attn-dp-size N instead of --dp-size N --enable-dp-attention and --moe-a2a-backend flashinfer_nvlink_one_sided instead of flashinfer." + - "Add the GLM-5.3-NVFP4 checkpoint to the gb300-nv model list." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5242 + +- config-keys: + - glm5.2-fp4-gb300-dynamo-sglang-agentic-agg + - glm5.2-fp4-gb300-dynamo-sglang-agentic-disagg + retired: true + description: + - "Retire the GLM-5.2 GB300 Dynamo SGLang AgentX configs and delete their recipes; the GLM-5.3 keys above replace them. The agg TP4/TP8 concurrency-1 points are replaced by the megakernel points (TP4 at concurrency 4, TP8 at concurrency 4 and 1), and the disagg 1P x 5D concurrency-30 and 1P x 3D concurrency-40 points by the megakernel disaggregated points." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5242