-
-
Notifications
You must be signed in to change notification settings - Fork 11k
[Spec Decode] Efficient padded speculation #24539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 13 commits
426441b
5c9cd1c
94cf9c5
940cb1a
ff408d9
6f80fad
7b74a69
3a89853
fe748a6
ddba16d
8a5bdac
a1e8f73
ef59c6c
71afe35
52d6a48
ba13d15
fb34a5b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1949,6 +1949,11 @@ class SpeculativeConfig: | |
| disable_by_batch_size: Optional[int] = None | ||
| """Disable speculative decoding for new incoming requests when the number | ||
| of enqueued requests is larger than this value, if provided.""" | ||
| disable_padded_batch: bool = False | ||
|
||
| """Disable input padding for speculative decoding. If set to True, | ||
| speculative input batches can contain sequences of different lengths, | ||
| which may only be supported by certain attention backends. This currently | ||
| only affects the EAGLE method of speculation.""" | ||
|
|
||
| # Ngram proposer configuration | ||
| prompt_lookup_max: Optional[int] = None | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.