Archived
r4d_selftest: --perfpaged Q CTX times the paged prefill attention at every KV layout
The paged prefill attention rows (head_dim 256, gqa 6) at Qwen3.8-27B's per-rank geometry under TP2: one sequence whose last Q of CTX tokens are the queries, causal, at fp8, fp8 K + 4-bit V, 6-bit K + 4-bit V and bf16. A long prompt's prefill step is this at Q = the chunk (or a pipelined piece) and CTX = the tokens so far, and nothing else times it without a server. Two R9700s at 265 W, 1024 queries ending 41040 tokens: 4.37 / 4.26 / 4.46 / 4.76 ms (fp8 / fp8_v4 / k6_v4 / bf16), 107..120 TFLOP/s. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
75b4c92e7e
commit
b61394e13c
2 files changed
+118
No files matched your search
@@ -744,6 +744,7 @@ The `--perf*` modes time rows at one shape on a card. Two that cover the dense G
|
||||
|---|---|
|
||||
| `--perf N K M [iters]` | the fp8 decode GEMMs, and the fp8 head (`logits_gemm_fp8`) |
|
||||
| `--perfmxd N K M [iters]` | the dense OCP-MXFP4 rows (`gemm_mxfp4a8_gemv`, `_decode`, `_nt_m64`, `_tiled`) at one shape, with the weight bandwidth each reaches |
|
||||
| `--perfpaged Q CTX [iters]` | the paged prefill attention rows (head 256, gqa 6) at Qwen3.8-27B's TP2 rank: one sequence whose last Q of CTX tokens are the queries, at every KV layout (fp8, fp8_v4, k6_v4, bf16), with the rate each reaches |
|
||||
|
||||
`--perfmx` is the MXFP4 expert GEMM (`M`, experts, `top_k`, skew), not the dense rows. `--cold MIB`
|
||||
times each launch alone behind a cache flush instead of back to back.
|
||||
|
||||
Reference in new issue
Block a user