Speed program lever 5: fixed-cost fit corrected (581 ms + 0.134 ms/token)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
743f742b32
commit
b8cc9ce1e9
@@ -283,7 +283,7 @@ Per request, ms: `prefill.read` (the batched read of the uncached tokens), `pref
|
||||
| 2453 | 1013 | 140 | 101 |
|
||||
| 5440 | 1229 | 136 | 108 |
|
||||
|
||||
A least-squares line through the 29 post-warm-up requests gives about 450 ms fixed plus 0.145 ms per token for the read, so a 239-token tail costs 485 ms of read where vanilla's whole prefill for the same size class is 292 ms. Fixed per request: about 450 (read) + 139 (refill) + 100 (assemble, inside decode) = about 690 ms, 8 % of a 8.3 s request. Two of the three have a known non-lossy handle:
|
||||
A least-squares line through the 29 post-warm-up requests gives 581 ms plus 0.134 ms per token for the read; the smallest tails (239-266 tokens) read in 485 ms, where vanilla's whole prefill for the same size class is 292 ms. Fixed per request: about 490 (read of a small tail) + 139 (refill) + 105 (assemble, inside decode) = about 730 ms, 9 % of a 8.3 s request. Two of the three have a known non-lossy handle:
|
||||
|
||||
* `prefill.refill` (139 ms): `LELEKA_REFILL_DEFER=on` (opt-in, never measured: "no GPU result yet (job 904)") queues the same copies inside the decode assembly, after its uploads and before the graph capture. Same bytes, other time; `spd-l5a/b` run it as variant R against A, 10 pairs.
|
||||
* the read's 450 ms fixed part: no per-stage split of a small tail exists for the 5090 (`docs/prefill-throughput.md` only has 8192-token chunks and an 80-token laptop run: GDN 1.3 s). `spd-l5q` is a single profiled replay (variant Q: `LELEKA_BRINGUP_TRACE=1`, `LELEKA_PREFILL_PROFILE_SYNC=1`) to get `PREFILL-PROFILE` lines per chunk; its sync drains make it a diagnosis run, never an A/B arm.
|
||||
* the read's ~490 ms fixed part: no per-stage split of a small tail exists for the 5090 (`docs/prefill-throughput.md` only has 8192-token chunks and an 80-token laptop run: GDN 1.3 s). `spd-l5q` is a single profiled replay (variant Q: `LELEKA_BRINGUP_TRACE=1`, `LELEKA_PREFILL_PROFILE_SYNC=1`) to get `PREFILL-PROFILE` lines per chunk; its sync drains make it a diagnosis run, never an A/B arm.
|
||||
|
||||
Reference in New Issue
Block a user