Skip to content

Commit 253772d

Browse files
Merge origin/main to keep the perf-changelog entry at the tail
Resolve the perf-changelog.yaml conflict by keeping main's bytes and re-appending this PR's entry. 合并 origin/main,保留 main 的 perf-changelog.yaml 内容并在末尾重新追加本 PR 的条目。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 parents f89c994 + 5d018fe commit 253772d

20 files changed

Lines changed: 765 additions & 508 deletions

File tree

‎.github/codeowner-signoff-verify-prompt.md‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,15 @@ a green sweep alone is not enough. Verify the command directly from the comments
228228
- PASS only if a matching comment exists whose `author_association` is `OWNER`,
229229
`MEMBER`, or `COLLABORATOR`. Both command names share this requirement; the newest
230230
authorized matching comment across both names determines the requested source.
231-
- WARN if no authorized reuse command is present. This is an advisory reminder,
232-
not a failing criterion. State: "No authorized reuse command
233-
has been posted on this PR" and ask an authorized maintainer to comment
234-
`/use <run_id>` before merging via reuse.
231+
- WARN if no authorized reuse command is present. This is an advisory warning,
232+
not a failing criterion, but it must always be shown expanded in the verdict.
233+
State: "No authorized reuse command has been posted on this PR" and tell the
234+
reviewer to have an authorized maintainer comment `/use <run_id>` on its own line,
235+
using the passing sweep run from Check 1, before merging. When the PR appends a
236+
`perf-changelog.yaml` entry, also state that merging without it makes the
237+
push-to-main `merge-ingest.yml` "Require sweep reuse" step fail, so the results
238+
never publish.
239+
- N/A if the PR appends no `perf-changelog.yaml` entry and so relies on no sweep.
235240

236241
## Check 5 — Sign-off uses the LATEST checklist template
237242
The first item of the checklist has the reviewer affirm they used the latest version
@@ -827,7 +832,7 @@ single terse line. Rules:
827832
`✅ Check N (<name>): PASS — <brief reason>`
828833
`❌ Check N (<name>): FAIL — <root issue>`
829834
`➖ Check N (<name>): N/A — <reason>`
830-
`⚠️ Check 4 (Reuse command): WARN — <missing authorized command; reminder to post /use run_id>`
835+
`⚠️ Check 4 (Reuse command): WARN — <no authorized command; post /use <run_id> of the Check 1 run before merging, else merge-ingest "Require sweep reuse" fails>`
831836
`⚠️ Check 13 (Draft precision): WARN — <affected config; missing pinned evidence; human review needed>`
832837
`⚠️ Check 14 (Pareto coverage): WARN — <curve, count or unverifiable reason; admin-exception state; evidence>`
833838
`⚠️ Check 15 (PR description): WARN — <claim versus actual configuration/evidence; correction needed>`

‎.github/klaud-candidate-prompt.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ never treat a point's absence from the current family as its retirement.
100100
Keep targeted work draft with no sweep labels. Dispatch ONLY updated-image e2e-tests.yml
101101
from main, with ref=exact measured SHA, fail-fast=true, klaud-run=true,
102102
test-name=$KLAUD_TEST_NAME, and
103-
`generate-cli-command="test-config --config-files FILE --config-keys FAMILY --smoke"`.
103+
`generate-cli-command="test-config --config-files FILE --config-keys FAMILY --scenario-type agentic-coding --smoke"`.
104+
Autosweeps cover only the family's AgentX (agentic-coding) points; never run fixed-seq-len points.
104105
Smoke retains minimum-concurrency throughput and canonical representative eval concurrency;
105106
it is startup evidence, not a full curve. Persist each run ID/head/attempt and typed progress
106107
comment immediately, before waiting. Use `gh run watch --interval 60`, resume after tool
@@ -117,8 +118,9 @@ Benchmarks may take three hours. Do not cancel healthy or queued work to fit the
117118
limit; leave it queued when the session ends, and a later session resumes it.
118119

119120
After smoke benchmarks AND selected evals pass, append one exact-family inferencex-e2e/perf-changelog.yaml
120-
entry at the physical tail with this PR URL, preserving every prior byte. Omit scenario,
121-
append-only and eval-selection modifiers. Its description must be one plain-English sentence
121+
entry at the physical tail with this PR URL, preserving every prior byte. Set exactly
122+
`scenario-type: [agentic-coding]`; omit append-only and eval-selection modifiers.
123+
Its description must be one plain-English sentence
122124
of at most 120 characters: state the engine image version change and, only when necessary,
123125
one essential compatibility adjustment. Do not include evidence, benchmark results, upstream
124126
release summaries, rationale or limitations there; those belong in attempt comments.

‎.github/workflows/claude.yml‎

Lines changed: 6 additions & 295 deletions
Large diffs are not rendered by default.

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/dsv4/sglang/b200-fp4/agentx/agg-variants.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ base:
5555
SGLANG_DSV4_REASONING_EFFORT: high
5656
PIP_BREAK_SYSTEM_PACKAGES: "1"
5757
SGLANG_JIT_DEEPGEMM_PRECOMPILE: "1"
58-
SGLANG_OPT_SWA_SPLIT_LEAF_ON_INSERT: "1"
5958
SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS: "1"
6059
SGLANG_OPT_USE_CUSTOM_ALL_REDUCE_V2: "1"
6160
SGLANG_OPT_USE_ONLINE_COMPRESS: "0"

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/dsv4/sglang/b200-fp4/agentx/disagg-variants.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ base:
6161
SGLANG_JIT_DEEPGEMM_FAST_WARMUP: '1'
6262
SGLANG_DEFAULT_THINKING: '1'
6363
SGLANG_DSV4_REASONING_EFFORT: high
64-
SGLANG_OPT_SWA_SPLIT_LEAF_ON_INSERT: '1'
6564
SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS: "1"
6665
SGLANG_OPT_USE_CUSTOM_ALL_REDUCE_V2: '1'
6766
SGLANG_OPT_USE_DEEPGEMM_MEGA_MOE: '1'
@@ -139,7 +138,6 @@ base:
139138
SGLANG_JIT_DEEPGEMM_FAST_WARMUP: '1'
140139
SGLANG_DEFAULT_THINKING: '1'
141140
SGLANG_DSV4_REASONING_EFFORT: high
142-
SGLANG_OPT_SWA_SPLIT_LEAF_ON_INSERT: '1'
143141
SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS: "1"
144142
SGLANG_OPT_DEEPGEMM_MEGA_MOE: '1'
145143
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '4096'

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/dsv4/sglang/mi355x-fp4/agentx/disagg-umbp-dspark.yaml‎

Lines changed: 36 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ base:
154154
unified-cache-external-linker-backend: mori
155155
hicache-storage-backend-extra-config: '{"standalone_startup_timeout_ms":120000}'
156156
enable-cache-report: true
157-
# Optimistic prefill (sgl-project/sglang#38978) is wired for the linker only.
157+
# Optimistic prefill requires the external linker.
158158
optimistic-prefill-attempts: 2
159159
decode:
160160
nodes: 1
@@ -197,18 +197,14 @@ base:
197197
TOKENIZERS_PARALLELISM: "false"
198198
TRANSFORMERS_VERBOSITY: error
199199

200-
# One variant per point; each point runs in its own allocation. Admission is
201-
# 2x CONC on both roles. Decode captures graphs up to 2x CONC, or CONC/4 per
202-
# rank under DP attention. DSpark draft length is 6 at c4/c16/c32 (the golden
203-
# AL peak) and 3 above; MoRI decode dispatch scales with it (64 x (draft + 1)).
204-
override_c4:
200+
override_c1:
205201
roles:
206202
prefill:
207203
gpus: 4
208204
env:
209-
# Split-K 8 for the HCA (compress ratio 128) decode stream in the
210-
# unified_kv kernels, over the image default 4. Only c4 sets it.
205+
# HCA split-K applies only to the bf16 KV path.
211206
SGLANG_MLA_HCA_KV_SPLITS: "8"
207+
SGLANG_DSV4_UNIFIED_KV_FP8: "1"
212208
args:
213209
tp-size: 4
214210
mem-fraction-static: 0.86
@@ -221,6 +217,7 @@ override_c4:
221217
env:
222218
SGLANG_MLA_HCA_KV_SPLITS: "8"
223219
MORI_MAX_DISPATCH_TOKENS_DECODE: "448"
220+
SGLANG_DSV4_UNIFIED_KV_FP8: "1"
224221
args:
225222
tp-size: 4
226223
mem-fraction-static: 0.86
@@ -241,6 +238,8 @@ override_c16:
241238
roles:
242239
prefill:
243240
gpus: 4
241+
env: &tp_kernel_env
242+
SGLANG_DSV4_UNIFIED_KV_FP8: "1"
244243
args:
245244
tp-size: 4
246245
mem-fraction-static: 0.86
@@ -251,6 +250,7 @@ override_c16:
251250
decode:
252251
gpus: 8
253252
env:
253+
<<: *tp_kernel_env
254254
MORI_MAX_DISPATCH_TOKENS_DECODE: "448"
255255
args:
256256
tp-size: 8
@@ -296,6 +296,7 @@ override_c32:
296296
roles:
297297
prefill:
298298
gpus: 4
299+
env: *tp_kernel_env
299300
args:
300301
tp-size: 4
301302
mem-fraction-static: 0.86
@@ -306,6 +307,7 @@ override_c32:
306307
decode:
307308
gpus: 8
308309
env:
310+
<<: *tp_kernel_env
309311
MORI_MAX_DISPATCH_TOKENS_DECODE: "448"
310312
args:
311313
tp-size: 8
@@ -383,6 +385,7 @@ override_c48:
383385
roles:
384386
prefill:
385387
gpus: 4
388+
env: *tp_kernel_env
386389
args:
387390
tp-size: 4
388391
mem-fraction-static: 0.86
@@ -393,6 +396,7 @@ override_c48:
393396
decode:
394397
gpus: 8
395398
env:
399+
<<: *tp_kernel_env
396400
MORI_MAX_DISPATCH_TOKENS_DECODE: "256"
397401
args:
398402
tp-size: 8
@@ -499,16 +503,18 @@ override_c48:
499503
speculative-num-draft-tokens: 4
500504

501505
override_c192:
506+
frontend: &p2c_frontend
507+
args:
508+
decode-policy: power_of_two
509+
worker-startup-check-interval: 1
510+
env: &p2c_router_env
511+
SGLANG_ROUTER_P2C_LOAD_METRIC: least_requests
502512
roles:
503513
prefill:
504514
gpus: 8
505515
env:
506516
GPU_MAX_HW_QUEUES: "5"
507-
# Aiter MegaMoEv2 (sgl-project/sglang#35619). The megamoe a2a backend
508-
# alone only selects the hook; without this flag it falls through to
509-
# the DeepGEMM path, which has no ROCm kernel. The flag is not
510-
# backend-local -- schedule_batch.py also keys the SWA eviction cadence
511-
# off it -- so it stays off the decode role entirely.
517+
# Select the ROCm MegaMoE kernel; this also changes SWA eviction cadence.
512518
SGLANG_AMD_USE_FLYDSL_MEGA_MOE: "1"
513519
# Must cover the per-rank prefill chunk: sglang divides
514520
# chunked-prefill-size by dp-size, i.e. 65536 / 8. Tokens past MTPR
@@ -545,9 +551,6 @@ override_c192:
545551
dp-size: 8
546552
# MegaMoE replaces mori dispatch/combine outright (mori stays only as
547553
# the shmem bootstrap), so none of the mori EP knobs apply here.
548-
# Shared-expert fusion stays as base sets it: the image carries
549-
# sgl-project/sglang#40943, which enables it on the grouped-topk path
550-
# MegaMoE uses.
551554
ep-size: 8
552555
moe-a2a-backend: megamoe
553556
moe-dense-tp-size: 1
@@ -637,16 +640,13 @@ override_c192:
637640
AIPERF_HTTP_X_SMG_ROUTING_KEY_FROM_CORRELATION_ID: 'true'
638641

639642
override_c256:
643+
frontend: *p2c_frontend
640644
roles:
641645
prefill:
642646
gpus: 8
643647
env:
644648
GPU_MAX_HW_QUEUES: "5"
645-
# Aiter MegaMoEv2 (sgl-project/sglang#35619). The megamoe a2a backend
646-
# alone only selects the hook; without this flag it falls through to
647-
# the DeepGEMM path, which has no ROCm kernel. The flag is not
648-
# backend-local -- schedule_batch.py also keys the SWA eviction cadence
649-
# off it -- so it stays off the decode role entirely.
649+
# Select the ROCm MegaMoE kernel; this also changes SWA eviction cadence.
650650
SGLANG_AMD_USE_FLYDSL_MEGA_MOE: "1"
651651
# Must cover the per-rank prefill chunk: sglang divides
652652
# chunked-prefill-size by dp-size, i.e. 65536 / 8. Tokens past MTPR
@@ -683,9 +683,6 @@ override_c256:
683683
dp-size: 8
684684
# MegaMoE replaces mori dispatch/combine outright (mori stays only as
685685
# the shmem bootstrap), so none of the mori EP knobs apply here.
686-
# Shared-expert fusion stays as base sets it: the image carries
687-
# sgl-project/sglang#40943, which enables it on the grouped-topk path
688-
# MegaMoE uses.
689686
ep-size: 8
690687
moe-a2a-backend: megamoe
691688
moe-dense-tp-size: 1
@@ -807,16 +804,15 @@ override_c384:
807804
# disaggregation/mori/conn.py, _process_transfer_chunk). 14400 matches
808805
# the single-node agentic recipes.
809806
request-timeout-secs: 14400
807+
decode-policy: power_of_two
808+
worker-startup-check-interval: 1
809+
env: *p2c_router_env
810810
roles:
811811
prefill:
812812
gpus: 8
813813
env:
814814
GPU_MAX_HW_QUEUES: "5"
815-
# Aiter MegaMoEv2 (sgl-project/sglang#35619). The megamoe a2a backend
816-
# alone only selects the hook; without this flag it falls through to
817-
# the DeepGEMM path, which has no ROCm kernel. The flag is not
818-
# backend-local -- schedule_batch.py also keys the SWA eviction cadence
819-
# off it -- so it stays off the decode role entirely.
815+
# Select the ROCm MegaMoE kernel; this also changes SWA eviction cadence.
820816
SGLANG_AMD_USE_FLYDSL_MEGA_MOE: "1"
821817
# Must cover the per-rank prefill chunk: sglang divides
822818
# chunked-prefill-size by dp-size, i.e. 65536 / 8. Tokens past MTPR
@@ -853,9 +849,6 @@ override_c384:
853849
dp-size: 8
854850
# MegaMoE replaces mori dispatch/combine outright (mori stays only as
855851
# the shmem bootstrap), so none of the mori EP knobs apply here.
856-
# Shared-expert fusion stays as base sets it: the image carries
857-
# sgl-project/sglang#40943, which enables it on the grouped-topk path
858-
# MegaMoE uses.
859852
ep-size: 8
860853
moe-a2a-backend: megamoe
861854
moe-dense-tp-size: 1
@@ -1001,16 +994,15 @@ override_c512:
1001994
# disaggregation/mori/conn.py, _process_transfer_chunk). 14400 matches
1002995
# the single-node agentic recipes.
1003996
request-timeout-secs: 14400
997+
decode-policy: power_of_two
998+
worker-startup-check-interval: 1
999+
env: *p2c_router_env
10041000
roles:
10051001
prefill:
10061002
gpus: 8
10071003
env:
10081004
GPU_MAX_HW_QUEUES: "5"
1009-
# Aiter MegaMoEv2 (sgl-project/sglang#35619). The megamoe a2a backend
1010-
# alone only selects the hook; without this flag it falls through to
1011-
# the DeepGEMM path, which has no ROCm kernel. The flag is not
1012-
# backend-local -- schedule_batch.py also keys the SWA eviction cadence
1013-
# off it -- so it stays off the decode role entirely.
1005+
# Select the ROCm MegaMoE kernel; this also changes SWA eviction cadence.
10141006
SGLANG_AMD_USE_FLYDSL_MEGA_MOE: "1"
10151007
# Must cover the per-rank prefill chunk: sglang divides
10161008
# chunked-prefill-size by dp-size, i.e. 65536 / 8. Tokens past MTPR
@@ -1042,14 +1034,14 @@ override_c512:
10421034
# or the handshake fails, so it is set on prefill and decode alike. The
10431035
# DSpark draft worker stays bf16 (kv_cache_configurator.py excludes it).
10441036
SGLANG_DSV4_UNIFIED_KV_FP8: "1"
1037+
SGLANG_AITER_MEGA_RANK_SYNC: "1"
1038+
SGLANG_AITER_MEGA_EPLB_PREFILL_ONLY: "1"
1039+
SGLANG_AITER_MEGA_EPLB_FUSED_MAP_RECORD: "1"
10451040
args:
10461041
tp-size: 8
10471042
dp-size: 8
10481043
# MegaMoE replaces mori dispatch/combine outright (mori stays only as
10491044
# the shmem bootstrap), so none of the mori EP knobs apply here.
1050-
# Shared-expert fusion stays as base sets it: the image carries
1051-
# sgl-project/sglang#40943, which enables it on the grouped-topk path
1052-
# MegaMoE uses.
10531045
ep-size: 8
10541046
moe-a2a-backend: megamoe
10551047
moe-dense-tp-size: 1
@@ -1063,6 +1055,10 @@ override_c512:
10631055
max-running-requests: 1024
10641056
speculative-dspark-block-size: 3
10651057
speculative-num-draft-tokens: 4
1058+
# expert-balancedness-report-mode deadlocks with EPLB_PREFILL_ONLY.
1059+
enable-eplb: true
1060+
eplb-rebalance-num-iterations: 200
1061+
expert-distribution-recorder-mode: stat
10661062
decode:
10671063
gpus: 8
10681064
env:

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/glm5.2/sglang/gb200-fp4/agentx/agg-mtp-variants.yaml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ base:
77
revision: aec724e8c7b8ee9db3b48c01c320f63f9cdaf8aa
88
container: {}
99
frameworks:
10-
dynamo: 71eb001e17fa73c742f0afe1a6ed96836cb135fd
11-
sglang: nightly-dev-cu13-20260805-211ee642
10+
dynamo: b4540b8767aaa8d98582251bbe9e2ceaba1ed1b1
11+
sglang: 0.5.22
1212
resources:
1313
gpu_type: gb200
1414
gpus_per_node: 4
@@ -28,7 +28,7 @@ base:
2828
dynamo:
2929
install: true
3030
source:
31-
rev: 71eb001e17fa73c742f0afe1a6ed96836cb135fd
31+
rev: b4540b8767aaa8d98582251bbe9e2ceaba1ed1b1
3232
engine: sglang
3333
roles:
3434
agg:
@@ -45,9 +45,9 @@ base:
4545
NCCL_CUMEM_ENABLE: '1'
4646
SGLANG_MOONCAKE_CUSTOM_MEM_POOL: 'True'
4747
SGLANG_USE_MESSAGE_QUEUE_BROADCASTER: '0'
48-
SGLANG_DISABLE_TP_MEMORY_INBALANCE_CHECK: '1'
49-
SGLANG_ENABLE_THINKING: '1'
50-
SGLANG_REASONING_EFFORT: max
48+
SGLANG_ENABLE_TP_MEMORY_INBALANCE_CHECK: '0'
49+
SGLANG_DEFAULT_THINKING: '1'
50+
SGLANG_DSV4_REASONING_EFFORT: max
5151
SGLANG_ENABLE_UNIFIED_RADIX_TREE: '1'
5252
SGLANG_HICACHE_DEBUG_LOG: '1'
5353
SGLANG_HICACHE_DEBUG_SAMPLE_RATE: '16384'
@@ -66,16 +66,16 @@ base:
6666
enable-dp-attention: false
6767
enable-dp-lm-head: false
6868
max-running-requests: 10
69-
cuda-graph-max-bs: 10
69+
cuda-graph-max-bs-decode: 10
7070
chunked-prefill-size: 8192
7171
max-prefill-tokens: 8192
7272
context-length: 1048576
7373
speculative-algorithm: EAGLE
7474
speculative-num-steps: 4
7575
speculative-eagle-topk: 1
7676
speculative-num-draft-tokens: 5
77-
nsa-prefill-backend: trtllm
78-
nsa-decode-backend: trtllm
77+
dsa-prefill-backend: trtllm
78+
dsa-decode-backend: trtllm
7979
moe-runner-backend: flashinfer_trtllm
8080
fp4-gemm-backend: flashinfer_trtllm
8181
disable-shared-experts-fusion: true

0 commit comments

Comments
 (0)