diff --git a/docs/original-serve.md b/docs/original-serve.md index 025c6dca..5a1eda42 100644 --- a/docs/original-serve.md +++ b/docs/original-serve.md @@ -324,3 +324,24 @@ requests route): no static ranking from another workload gets there, and under a hardly matters. The prompt's own routing (computed by the prefill) would be the earliest signal for a first request; that needs a hook in the prompt path and is not done. The single old-path run was faster than the new default with adaptation (window 32.9 vs 35.4 ms at an equal CPU share): job 807 separates the PCIe staging mode. + +### Gap to the unmodified Original (job 809) + +`stra169-ladder/build-sm120/strata --serve` (spec 4, suffix draft 3, min_p 0.5, per-layer 2048 slots from the +placeholder profile, pcie 0.55, int8 KV, KAR PLE L2, `--mtp data/mtp-rt --prefill 2048`), one process, the port's +6 prompts x 2 passes x 128 greedy tokens (`~/work/gpu-runs/round-profile/original-serve.sh`, holder job, alone on the +GPU). Decode = produced tokens / decode phase ms, over the requests of 100+ tokens: + +| engine (placeholder profile) | decode tok/s pass 0 | pass 1 | mean | prompt phase ms | +| --- | --- | --- | --- | --- | +| Original | 52.8 | 74.7 | 63.8 | 639 | +| port, adaptive (job 805 a-ph-1, 9 long requests) | 57.1 | 69.8 | 64.2 | 648 | +| port, static (job 805 s-ph-1) | 47.7 | 49.1 | 48.4 | 658 | + +On this workload the port's decode matches the Original's (64.2 vs 63.8 mean); the Original is faster on repeats +(74.7 vs 69.8) and slower on first-time prompts (52.8 vs 57.1). One run each, no CI: not a performance claim. +Greedy ids against the Original (pass 0, first differing token index): static port identical on prompts 1, 4, 5 and +differs at 19 / 4 / 100 on prompts 0, 2, 3; adaptive port identical on prompt 1 and differs at 6 / 4 / 28 / 77 / 7 +on the rest. GPU and CPU experts round differently and each engine places a different set on the GPU, so this is +the documented cache-parity envelope, not a gate; prompt 2 diverging at token 4 in both port modes (the Original +stops at 90 tokens, the port runs to 128) is the one worth a logit-level look.