Repository navigation
perf: add B300 SGLang GLM agentic decode data - #665
simone-chen wants to merge 1 commit into
Conversation
Signed-off-by: Simone Chen <simonec@nvidia.com>
📝 Summary
Merge Risk:
|
tianhaox
left a comment
There was a problem hiding this comment.
Thanks, Simone. The data looks sound:
- The 220 rows are internally consistent. Index reuse falls to about 0.05× the indexer path at 720K history, which fits an indexer that scales with history. The only non-monotonic steps are a few drops under 10% at the 25–50 µs end.
- I compared them with the existing B300 0.5.21
zai-org/GLM-5.2rows at the same geometry: FP8 KV, 8 heads, BF16 projections, TP8. Over the 116 shared points, 0.5.20 agrees within about ±10%; the median ratio is 0.96× with the indexer and 1.07× with index reuse.
Questions before merge:
-
No collector for this lane after #649. The rows come from 3d41164 on 0.5.20, which predates #405, so #664's code doesn't reproduce them either; you note this in the PR. #649 retires the 0.5.20 model pins and pins
collect_mla_module.pyto 0.5.21. The 0.5.21 table already has this geometry; what's missing is batch 52 and long histories at batches 4–52. I'd prefer collecting those shapes on 0.5.21 with #649's collector, so they land in thecurrenttable rather than in a version outside the query slots. Keeping a 0.5.20 lane is a decision we should make together. -
Effect on default
currentqueries. On B300, SGLangcurrentis 0.5.21, and 0.5.20 isn't a queryable slot (query_versions.yaml). Same-backend backward fill (source_resolution.rschannel 3, nearest earlier first) would serve these rows before the 0.5.14nvidia/GLM-5.2-NVFP4rows for any key that 0.5.21 doesn't cover.- At the 114 points shared with 0.5.14, the 0.5.20 indexer path is about 34% faster (median 0.66×, range 0.59–0.80).
- The served grid would then mix versions: batches 4–52 from 0.5.20, batches 1, 2 and 64+ from 0.5.14.
Could you add a before/after for a default
currentGLM-5.2-NVFP4 decode query on B300? That shows what changes outside the agentic replay. -
CI. Full CI failed only because
Platform Wheels / Build wheels (macosx_arm64)was cancelled. A rerun, or a rebase past #668, should clear it.
Why and what changed
nvidia/GLM-5.2-NVFP4identity and distinct indexer/reuse operation names. GLM-5.3 consumes compatible attention geometry; the data is not relabelled as a GLM-5.3-specific measurement.glm53_attentiontables remain unchanged.Review map
benchmarks/evidence/collector/glm-agentic-20261029/README.mdandmanifest.json, then the newb300_sxm/sparse_attention/sglang/0.5.20/table and sidecar.Evidence and provenance
3d41164034624251209588ee0284694e86a13bd8. Successful pipeline 77726488; jobs 517782462 and 517782464, Slurm 135871/135872. Both completed with zero collector errors; failed/cancelled attempts are excluded.94602c9c2b7cbdb8efd5c52802dac6a1c180089e; image digestsha256:06e4f2ed21afde4ff513cda65070124e727ba23ccaeff7712b8c40e1097d611f.9614d95a6f2ee013d62c19f243ce26dde274971d2186e2bc1107af5e7f1203d0.44ea5595d6bba45c6e72da07b5b45bedf40e6c84: 47 provenance tests passed; collector-data rules R1–R7 passed; backend-fact census passed (4,051 slices); native loading preserves all 220 latencies. Copyright and diff checks passed. The native loader check used the existing research binary with current Python source, not a fresh-main E2E run.44ea5595d6bba45c6e72da07b5b45bedf40e6c84. CodeRabbit: pending. Codex: independently reviewed that head; no blocking findings in artifact, grid, schema, provenance, census or loader-policy checks.Tracking