You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 97de355
Browse filesBrowse the repository at this point in the historyBrowse files
Benchmark packed verification prefixes with complete proposal work
Adaptive verification costs depend on physical target rows while proposal
work remains fixed. Rectangular-round benchmarks cannot compare those
packed prefixes from one preparation and common prefilled state.
Add --verify-prefixes for batch-one benchmarks. Prefixes above one retain
the configured logical width and full proposal count; prefix one uses the
serving graph without proposals and retains draft-context maintenance.
Restore one shared prefilled snapshot for each batch, context, and seed,
and report target rows, proposal count, draft-forward size, and acceptance.
This enables comparable prefix measurements without repeated model loads.
Native serving behavior is unchanged and no inference speedup is claimed.
The CPU benchmark suites pass 142 tests covering CLI constraints, selected
shapes, row packing, and proposal/target RNG reservations. One existing
CUDA snapshot/restore test is skipped; GPU model measurements have not
been rerun on this branch.
Design-Signed-Off-By: Codex (GPT-6); design-review=cfcf
Copy file name to clipboardExpand all lines: docs/cli-design.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,6 +222,7 @@ the timed graph starts.
222
222
|`--batches LIST`| Distinct comma-separated request batches selected from `1,2,4,8`; prefill requires `1`|`1,2,4`; `1` with `--prefill` or `--speculation-study`|
223
223
|`--contexts LIST`| Distinct consumed context lengths before each measured graph, multiples of 128; prefill also allows zero |`512,2048,8192,16384`; `0` with `--prefill`; `8192` with `--speculation-study`|
224
224
|`--verify-width N`| Target tokens per request, including the pending token; `8,16`, or `8,13,16` with `--speculation-study`|`8`|
225
+
|`--verify-prefixes LIST`| C1 packed prefixes measured from shared context, within `--verify-width`; proposal count remains fixed above prefix one. Cannot accompany `--prefill` or `--speculation-study`| unset |
225
226
|`--study-widths LIST`| Prepare selected widths from `8,13,16` together and measure each from shared prefilled state; replaces scalar width/depth flags | unset |
226
227
|`--speculation-study`| Measure private single-request speculative graphs without native completion publication or export | off |
227
228
|`--warmup N`| Positive count of untimed restored rounds per case and seed |`5`|
@@ -241,7 +242,25 @@ that capacity from the concurrency requested through configuration or flags.
241
242
`--no-mtp` applies only with `--prefill`. Mixed prefill and prompt-logprob graphs
242
243
are unsupported.
243
244
244
-
Kimi K3.1 Pro supports verification width eight. Its selected catalog contains
245
+
For Kimi K3.1 Pro, compare packed verification prefixes without loading weights again:
0 commit comments