docs: does speculative decode have a prefill analogue? #3
No reviewers
Labels
No labels
human-approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!3
Loading…
Reference in a new issue
No description provided.
Delete branch "prefill-optimization-notes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Records the answer to a bring-up question: speculative decoding is our top decode lever (
DECODE-OPTIMIZATION.md) — is there an equivalent for prefill?No direct transfer, and the reason is the useful part. Spec decode reclaims idle compute created by decode's serial, bandwidth-bound dependency. Prefill has neither property — it is already parallel and compute-bound — so "draft-then-verify" has nothing to bite on. Prefill accelerators do less work rather than overlap serial work.
New
docs/PREFILL-OPTIMIZATION.mdrecords the applicable levers, ranked for our batch-1 long-context regime and graded perPERFORMANCE.md:Plus the prefill-vs-decode "opposite optimizations" table so the two toolkits don't get mixed.
No stack measurement — this is a survey of technique, not a gate; third-party items stay graded directional. Cross-linked from
DECODE-OPTIMIZATION.md.🤖 Generated with Claude Code
4125fedfe70ba8bd16820ba8bd1682edbb8e164f