-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Allow single LLM step to generate multiple tokens #2120
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
Closed
Closed
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
75ae5fd
spec draft
LiuXiaoxuanPKU 46cd4c3
Merge branch 'vllm-project:main' into spec
LiuXiaoxuanPKU edeaec0
minor
LiuXiaoxuanPKU 95a7e13
minor
LiuXiaoxuanPKU 366fbb9
draft tokens
LiuXiaoxuanPKU 3c7397e
minor
LiuXiaoxuanPKU 9f35009
merge
LiuXiaoxuanPKU 9b64276
Merge branch 'main' of github.com:LiuXiaoxuanPKU/vllm
LiuXiaoxuanPKU 1525262
Merge branch 'main' into spec
LiuXiaoxuanPKU 7e6224a
minor
LiuXiaoxuanPKU 93901c8
Merge branch 'spec' of github.com:LiuXiaoxuanPKU/vllm into spec
LiuXiaoxuanPKU 692328a
draft logits
LiuXiaoxuanPKU 8b6d647
need to change draft token probs data structure
LiuXiaoxuanPKU 675e1ae
rejection sampling
LiuXiaoxuanPKU 32267f6
rejection sampling
LiuXiaoxuanPKU 1aab040
format
LiuXiaoxuanPKU 826b54a
get draft probs
LiuXiaoxuanPKU b2ec9aa
style
LiuXiaoxuanPKU 6382396
combine draft_token_ids and output_token_ids in SequenceData
LiuXiaoxuanPKU 89d8ba2
invalidate kv draft
LiuXiaoxuanPKU 9594d08
fix
LiuXiaoxuanPKU 6b1e94c
pass in multiple tokens for generation phase, kv_mqa
LiuXiaoxuanPKU 2d5c379
pass scheduler to spec worker
LiuXiaoxuanPKU 025bb89
mqa
LiuXiaoxuanPKU dd23ff7
separate sampler
LiuXiaoxuanPKU f1b3987
lots of fix, multi_qa_kv runnable
LiuXiaoxuanPKU 9a85990
nan in hidden states
LiuXiaoxuanPKU 54bfebd
lots of style fix, early break accepting tokens
LiuXiaoxuanPKU a904ac9
fix free bug
LiuXiaoxuanPKU 0cb9326
bug fix
LiuXiaoxuanPKU 4e9ae6c
minor fix get target probs in prefill phase
LiuXiaoxuanPKU 0ff36e7
fix mismatch between logical and physical blocks!!
LiuXiaoxuanPKU d2d67f9
add alphas
LiuXiaoxuanPKU 7d94cb2
tokenizer & bug fix
LiuXiaoxuanPKU b1a5a88
pass tests
LiuXiaoxuanPKU 93c7956
add flag
LiuXiaoxuanPKU 141da66
remove speculative decoding for prompt run
LiuXiaoxuanPKU 439c88b
remove temperature, only support all greedy for now
LiuXiaoxuanPKU 40ab8d4
clean
bf2ebe9
minor
179e968
merge
LiuXiaoxuanPKU 664a256
fix & pass tests
LiuXiaoxuanPKU 7f9a373
format
LiuXiaoxuanPKU 0540142
remove old files
LiuXiaoxuanPKU 993f2d4
remove untouched file
LiuXiaoxuanPKU c410cbe
format
LiuXiaoxuanPKU 9f2d98b
format
LiuXiaoxuanPKU c7df07b
restore test
LiuXiaoxuanPKU 8a3208f
remove cached_mqa kernel, remove spec dec
LiuXiaoxuanPKU a5e8ea1
restore input metadata, change sampler
LiuXiaoxuanPKU 83775d0
restore
LiuXiaoxuanPKU 7218b7f
remove test
LiuXiaoxuanPKU 33767b9
sequence
LiuXiaoxuanPKU 8295830
update comments in sequence
LiuXiaoxuanPKU 35b8a5c
engine
LiuXiaoxuanPKU 9bab2c6
restore runner
LiuXiaoxuanPKU e11933d
Merge branch 'main' into multi-token
LiuXiaoxuanPKU 0635148
fix
LiuXiaoxuanPKU 7f9ac80
minor
LiuXiaoxuanPKU 9b7d454
format
LiuXiaoxuanPKU File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this comment?