EVIDENCE REGISTER

Claims.
Bounded.

文章负责解释机制;这里负责回答每个数字来自哪里、在哪个 workload cell 成立、证据走到了哪一层,以及什么变化会迫使我们重新测试。

Snapshot: 2026-08-1724 notesAccepted + rejected + plannedReading path ↗

HOW TO READ

结论不是
一个百分比。

同一个 kernel 名称在 GPU、dtype、phase、batch、rank-local shape、ABI、Graph 状态或 timing boundary 改变后,已经是另一个实验。索引因此把“结论”写成带坐标的记录。

01Source identity
02Workload cell
03Evidence level
04Reopen condition

Accepted bounded 表示结论只在登记的 cell 内通过对应 gate;它不是 deployment-wide 默认值。

Development / archive 表示机制信号真实存在,但 formal pairs、独立 holdout、公开 artifact 或完整 serving 边界仍不完整。

Rejected / stopped 保存已经证明的负结论和重开条件;它不会被改写成“还可以继续调一调”。

Planned 只是可证伪设计,没有实现、正确性或性能结果。

SOURCE SNAPSHOTS

三个仓库,
四类来源。

公开 permalink 优先;尚未公开的 raw bundle 只登记仓库与 commit,不伪装成读者可以独立下载的 artifact。外部文章仅作为教学重构来源,不升级为本地复现实验。

SGLANG-DGMK

9e439b4

Public commit snapshot

N6 的 contract、formal/holdout evidence 与公开复现入口。B300-M2 后续 development 结果另行标为 local snapshot,不回写到这个 commit。

Open commit ↗
SUBCUDA

d1db18f

Machine-readable case snapshot

PTX/CUDA counterfactual、barrier、FP8 fusion、symmetric memory、register cliff 与 STOP cases 的结构化来源;各 case 仍保留自己的 workload 与 verdict。

Open commit ↗
AGENTIC-MEGAKERNEL

fdf4898

Evidence-hub snapshot · public artifact pending

保存 LS18R、Hazy、Split-KV 与 non-GEMM boundary 的 contract、manifest 和 scoped verdict。部分 measured revision 与 raw bundle 仍为 local-only。

ATTRIBUTED SOURCES

External

Teaching reconstruction, not local replay

Expert Specialization 来自用户提供的署名材料;MegaRTP/CMP 来自公开原文。数字保持原边界,缺失 raw trace 时不会声明独立复现。

MegaRTP source ↗

ARTICLE REGISTER

二十四篇,
二十四个边界。

“下一门”不是待办清单的装饰,而是结论重新获得解释权所需的最小新证据。若 workload identity 改变,即使代码没变,也必须创建新记录。

01 · ATTRIBUTED · TEACHING RECONSTRUCTION

一个 MoE Kernel 为什么不够用

Cell
H20/Hx00 grouped MoE,per-expert Mₑ、TMA tile 与多 stream tail。
Boundary
解释来源材料中的机制与现象;不是当前仓库的独立代码复现。
Reopen
获得可公开 kernel commit、raw profile 和固定 workload contract。
Read note ↗
02 · ATTRIBUTED · TEACHING RECONSTRUCTION

从 80 μs 到 36.992 μs

Cell
GLM-5.2-FP8 attention-pre,B300,rank-local M=16 子图。
Boundary
原文 2×2 scheduling ablation;本站没有原始 trace bundle,不声称 fresh replay。
Reopen
公开 raw trace、kernel revision、Graph capture contract 与复验脚本。
Read note ↗
03 · SGLANG · ACCEPTED BOUNDED

为什么搬一搬 Expert 就能让 8 张 B300 更快

Cell
8×B300,GLM-5.2,100K cached-prefill,冻结 N6 placement / DeepEP path。
Evidence
Path hit、correctness、五对 formal、独立 client-seed holdout 与 causal profile。
Boundary
不代表其他 context、parallel plan、online traffic 或模型版本。
Reopen
Router、expert map、DeepEP ABI、parallel topology 或 workload cell 改变。
Read note ↗
04 · B300-M2 · DEVELOPMENT

为什么三个 Kernel Winner 组合起来只快 5.66%

Cell
8×B300,GLM-5.2-FP8 decode,global BS128 / DP8 / local M=16,CUDA Graph。
Evidence
N=100 development signal、path-hit 与 clean branch;未达到 deployment promotion。
Next gate
Fresh-server AB/BA formal pairs、BS256 独立 cell、correctness、holdout、matched Nsys。
Read note ↗
05 · AGENTIC · S4 BOUNDED WIN

为什么 MegaKernel 不该只盯着 GEMM

Cell
1×B200,Llama-3.1-8B,capacity-16,20 s HTTP streaming throughput。
Evidence
LS18R non-GEMM bundle 通过 serving gate;单个 seam 的独立贡献未被组合实验识别。
Boundary
Hub 可审计,但部分 raw/measured revision 仍 local-only。
Reopen
公开 artifact、单因素消融,或模型/serving scheduler 改变。
Read note ↗
06 · SUBCUDA · ACCEPTED BOUNDED

手写 PTX 真的有 CUDA 做不到的能力吗

Cell
2×B200,Qwen3.5 TP2,B32 offline decode,GDN state update。
Evidence
R93 五对 exact A/B;R95 control/CUDA/PTX 三臂 counterfactual 与 SASS 归因。
Boundary
不外推到 TP1、其他 batch、GPU、在线 serving 或其他 compiler revision。
Reopen
Shape、toolchain、dispatch bucket 或 producer/consumer ABI 改变。
Read note ↗
07 · MIXED · MECHANISM MAP

为什么“更异步”会变慢

Cell
B200 single decode、paged batch decode 与 Hazy resident full-model Graph 的不同 execution shapes。
Evidence
Named-barrier 正例、phase/TMA pending/prefetch 负例;每个 verdict 保持原 operator 或 model boundary。
Boundary
不存在“异步总是更快/更慢”的跨形态总排名。
Reopen
Ownership、residency、dependency window 或 live-state budget 改变。
Read note ↗
08 · MIXED · REPLAY + BLOCKED

为什么 FP8 Fusion 必须一个 Byte 都不能变

Cell
Qwen3.5 TP1/TP2 的 activation quant、add-RMSNorm、shared SwiGLU+quant 等不同边界。
Evidence
TP2 cases 可结构化 replay;TP1 historical accepted evidence 的 fresh replay 依赖外部 OMoE checkout。
Boundary
不能把三条不同频次、分母和默认状态的 fusion 合成一个收益。
Reopen
补齐外部 checkout、consumer-exact replay 与对应 E2E cell。
Read note ↗
09 · ARCHIVE + PLAN · NO QUEUE WIN CLAIM

GPU 内的 Ready Queue 为什么可能死锁

Cell
Hazy release/acquire 与 Split-KV archive、SubCUDA poll/PDL/third-stream analogs。
Evidence
C2/S3 archive lineage、replayable negative analogs,以及 C0/S0 ready-queue research plan。
Boundary
GPU-resident ready queue 尚无实现、correctness 或 performance result。
Next gate
Canonical freeze、epoch/lifetime proof、reserved producer capacity 与 long-run liveness test。
Read note ↗
10 · SUBCUDA · EXPERIMENTAL DEFAULT-OFF

为什么少写一半 Store,模型只快 0.02%

Cell
Qwen3.5 TP2,B200,冻结 Graph 与 source-owned symmetric pull。
Evidence
D064 boundary + 五对 TP2 exact/E2E 小幅正向;并列保存 direct-output、third-stream 与 geometry stops。
Boundary
不外推到其他 rank count、transport、reduction tree 或 serving mode。
Reopen
Transport/ownership/consumer 图改变,或收益超过预声明 materiality gate。
Read note ↗
11 · SUBCUDA · EXACT-SHAPE OPERATOR

寄存器越少越快吗

Cell
B200 上 RMSNorm、single decode、SiLU、activation 与 GDN 的多个精确 shape。
Evidence
Machine-readable replay 与 static register/spill/SASS proof;未声明统一模型收益。
Boundary
r32 与 r80 是不同 kernel 的相反最优点,不是全局规则。
Reopen
Block size、shared memory、toolchain、shape bucket 或 dispatch policy 改变。
Read note ↗
12 · B300-M2 · MIXED WORKLOAD EVIDENCE

为什么 2K 上快 9% 的 Kernel 到 64K 就消失

Cell
2K prefill、cold 64K、cached 64K incremental 与 long decode;它们是四个不同 estimand。
Evidence
历史 E2E matrix、64K profiler 分类与公开 N6 accepted cell;不能跨 cell 拼百分比。
Boundary
Profiler summed duration 只做因果定位,不当 wall-time 加速比。
Next gate
同 revision、同 path、同 cache state 的 matched 2K/64K paired matrix。
Read note ↗
13 · CROSS-REPO · GOVERNANCE SYNTHESIS

什么时候应该停止优化

Source
SGLang-DGMK、agentic-megakernel 与 SubCUDA 的 accepted/rejected/stopped records。
Evidence
七道 gate 的归纳;本篇不产生新的 kernel 性能 claim。
Boundary
案例 verdict 仍由各自 authoritative record 决定,文章不能覆写。
Reopen
只有预声明 workload 或机制前提改变,才重开对应 STOP;不能事后改 gate。
Read note ↗
14 · AGENTIC · S3 GUARDED SUBSTRATES

为什么 Benchmark 变快了,却可能没跑你的 Kernel

Cell
1×B200、Qwen3-4B、BF16;五条 native seam 的 batched-prefill gate 与 B1 4K/8K decode Graph。
Evidence
Path-hit/zero-call、same-path baseline、negative control 与 1% no-regression guardrail。
Boundary
五条结果都是 ENABLED_GUARDED / default-off;zero-call delta 没有 candidate attribution。
Reopen
补齐 raw pairs 与 durable revision,在真正执行候选的 phase 上建立 treatment experiment。
Read note ↗
15 · SUBCUDA · REJECTED CONTRACT / OPERATOR

为什么少用 CTA 反而会算错

Cell
B200、BF16、local Q16/KV1、D256、sequence 32769、page 128、32 sequences。
Evidence
D041/D045 replay:Q8 launch invalid;1/2 split non-exact;Q32 与 exact GMEM4 都 0/30。
Boundary
Provider/tile operator oracle;没有 arm 进入 profiler 或模型 E2E。
Reopen
新 provider 支持合法 Q8 composition,或新 split 算法保持 exact four-way partial ordering。
Read note ↗
16 · SUBCUDA · REJECTED / BELOW FLOOR

为什么 TMA 比 cp.async 快,却仍输给普通 LDG

Cell
B200、B32/T1、Q/K8、V32、K=V=128、32 KiB BF16 recurrent state。
Evidence
D005/D006/D001/D017 replay:staging、retime 与 cache-hint 的独立 operator verdict。
Boundary
One-shot state;四条 case 使用各自 control,均无 TP2 E2E promotion。
Reopen
出现多消费者/多 token reuse,或 staging 在不降低 8 CTA/SM 的新表示下成立。
Read note ↗
17 · SUBCUDA · REJECTED + ATTRIBUTION

为什么 DRAM 流量减半,Kernel 反而更慢

Sources
Pure-PTX FP8 QKV、D038 activation vector I/O、KV page-copy CUDA 13.0/13.2。
Evidence
D038 与 page-copy replay 通过;pure-PTX 资产检查通过但无 offline replay contract。
Boundary
三个独立 workload;profiler 机制不能覆盖 matched no-profiler wall-time。
Reopen
压缩解码税下降、保持 warp pool 的 vector mapping,或完整恢复 pure-PTX offline replay contract。
Read note ↗
18 · SUBCUDA · REJECTED OPERATOR

为什么删掉 67% 的“空 Row”仍然不快

Cell
2×B200 TP2 operator、B32/topK8、256 routed experts、tile8;exact rows 84/90。
Evidence
D022 representative replay 与资产检查通过;四个 rank/profile cell 全部 0/30。
Boundary
只缩 launch/workspace capacity;routes、active work、tactic 与输出不变,无 NCU/E2E。
Reopen
新设计真正删除 active tiles、sorting/movement 或 materialized dataflow edge。
Read note ↗
19 · SUBCUDA · REJECTED JOINED / E2E

为什么节点快 46.7%,Joined DAG 反而更慢

Sources
R99 one-launch shared gate 与 R92 finalize+RMSNorm+group-FP8 fusion。
Evidence
两条 replay/asset check 通过;R99 joined 两次回退,R92 exact tokens 但 TP2 0/2。
Boundary
Profiler node saving 只作 attribution;no-profiler joined/E2E 是 admission authority。
Reopen
新设计删除 exposed critical-path edge,并保持原 stream/PDL overlap 与数值 seams。
Read note ↗
20 · AGENTIC · INTERNAL S4 WIN

为什么一张 CUDA Graph 不够

Cell
Qwen3-4B BF16、1×B200、HTTP C16/maxlen2048、B1/T64 prefill + B16/K256 decode。
Evidence
Internal two-order A/B:3078.559→4654.812 tok/s,+51.20%;drift 0.54%,gate 126/128。
Boundary
Exact-scenario default-on;C2/S4 migration pending,无同 epoch SGLang arm。
Reopen
在同一 fresh session 跑 rollback / two-graph / SGLang 三臂 matched board。
Read note ↗
21 · AGENTIC · HISTORICAL S4 WIN

为什么 Mask 掉的 KV 仍然要付费

Cell
Qwen3-4B BF16、1×B200、HTTP C16、max_len2048、K256/512/1024/full decode Graphs。
Evidence
1920/1920 faithfulness;focused −20.1%;C16 2803.6→3191.3 tok/s,+13.83%。
Boundary
Historical qualified default-on lineage;source/public ref 仍需统一,无 fresh replay。
Reopen
Context distribution、batch grouping、max_len 或 ragged/live-length kernel contract 改变。
Read note ↗
22 · AGENTIC · HISTORICAL SIGN FLIP

为什么 QKV 先拆开更快,后来合并又更快

Cells
Q4B3 FlashInfer compact-only consumer;Q4B4 SGL stride-generic consumer,BF16 batched prefill。
Evidence
Split 59.8→56.5 ms / copy 5.86→1.59;merged 50.834→50.115 ms;micro 0.1615/0.1677/0.2783。
Boundary
Q4B3 run bundle 缺失;Q4B4 raw/manifest 不完整;historical mechanism,不是 fresh result。
Reopen
任何 consumer、stride、M bucket、GEMM tactic 或 materialization behavior 改变。
Read note ↗
23 · AGENTIC · ROLE/M-SCOPED FP8

为什么 FP8 不能全模型一键打开

Cells
Q4B7 large-M batched all-role;Q4B15 B1 down-only;B1 all-role/o-only negative controls。
Evidence
Batched 38.939→33.680 ms;B1 down 4K/8K −9.63/−8.82%;all-role 124/128 reject。
Boundary
Historical source/result/logs 可定位;统一 manifest/hash/public binding仍欠,无 fresh replay。
Reopen
任何 phase、M、role、consumer、scale layout 或 model correctness margin 改变。
Read note ↗
24 · AGENTIC · STRUCTURE REPAIR / PARTIAL

为什么 409→15.5 ms 不是 26× Kernel 加速

Cell
Qwen3-4B BF16、1×B200 true batched prefill;B16T128/T512、B64T128。
Evidence
409→37.4→17.8→15.5 ms staged repair;fair SGLang board 15.03/50.89/128.08 ms。
Boundary
Q4B2 run directory/raw/manifest 缺失;historical MERGED-PARTIAL/STOP,不是 fresh 26× claim。
Reopen
恢复 raw bundle,并在当前 tip 对同一 B/T/dtype/Graph contract 重跑 matched board。
Read note ↗

UPDATE RULE

先改证据,
再改叙事。

新结果到来时,先更新 authoritative experiment record 与本页状态,再修改文章中的解释。负结果保留原分支和重开条件,不被新故事覆盖。

Follow the reading path