-
Notifications
You must be signed in to change notification settings - Fork 7.8k
[Feature] Add Reasoning Tokens Usage #15562
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
Merged
Merged
Changes from 55 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
39622e8
add reasoning_tokens
Muqi1029 eb957f0
Merge branch 'main' into reasoning_tokens
Muqi1029 e059cdb
update for streaming situation
Muqi1029 8eafafd
Merge branch 'main' into reasoning_tokens
JustinTong0323 f5e0fd2
Merge branch 'main' into reasoning_tokens
JustinTong0323 48439ae
Merge branch 'main' into reasoning_tokens
Muqi1029 3e68a62
Cherry-pick test from #15875
Muqi1029 bb91801
Tiny fix
Muqi1029 bd8138e
Merge branch 'main' into reasoning_tokens
Muqi1029 86b5400
Add reasoning usage to responses and grpc
cklxx 4e0f876
Merge pull request #2 from cklxx/ckl/reasoning-tokens-followup
Muqi1029 1c85346
Merge branch 'main' into reasoning_tokens
JustinTong0323 8a81432
Merge branch 'main' into reasoning_tokens
Muqi1029 f308942
Convert token_id to list to unify spec decoding
Muqi1029 a9fb2c0
remove print info
Muqi1029 a888f78
Remove redundant getattr in gRPC request manager
cklxx 129f675
Merge pull request #17 from cklxx/remove-unnecessary-getattr-usage
cklxx a4ee9e1
Merge branch 'main' into reasoning_tokens
Muqi1029 4e09b56
Update tests
Muqi1029 080d306
Handle empty reasoning_tokens list in gRPC batch output
cklxx 1380ef1
Merge branch 'ckl/reasoning-tokens-followup' into remove-unnecessary-…
cklxx 7db9ca3
Merge pull request #18 from cklxx/remove-unnecessary-getattr-usage-8a…
cklxx 1816807
Merge pull request #4 from cklxx/ckl/reasoning-tokens-followup
Muqi1029 c93a33a
Merge remote-tracking branch 'origin/reasoning_tokens' into reasoning…
Muqi1029 fbbae99
Merge branch 'main' into reasoning_tokens
Muqi1029 a7f99b3
Rename _reasoning_over to _is_reasoning_over
Muqi1029 6a4d305
Merge branch 'main' into reasoning_tokens
Muqi1029 11be80b
Revert "Add reasoning usage to responses and grpc"
Muqi1029 b2c6674
Merge branch 'main' into reasoning_tokens
Muqi1029 eb82d8c
Finish
Muqi1029 c64817a
Merge branch 'main' into reasoning_tokens
Muqi1029 1d1c680
Register CI and reduce tolist overhead
Muqi1029 7bf2235
Rename variables
Muqi1029 176233f
Tiny fix
Muqi1029 835b56e
Merge branch 'main' into reasoning_tokens
JustinTong0323 9e775d2
Fix suite due to oom
Muqi1029 fb4f52c
Add accept_length_per_req_cpu for ngram_worker
Muqi1029 a2e6b5a
Tiny fix
Muqi1029 cd21df3
Fix api
Muqi1029 3237808
Merge branch 'main' into reasoning_tokens
JustinTong0323 dbe5ddc
Merge branch 'main' into reasoning_tokens
Muqi1029 712da62
Fix
Muqi1029 a20c2f9
Merge remote-tracking branch 'origin/reasoning_tokens' into reasoning…
Muqi1029 811fc42
Merge branch 'main' into reasoning_tokens
Muqi1029 78012d9
Merge branch 'main' into reasoning_tokens
Muqi1029 4767dfa
Fix
Muqi1029 01d912f
Merge branch 'main' into reasoning_tokens
JustinTong0323 7be4714
Merge branch 'main' into reasoning_tokens
Muqi1029 4aa6f45
Merge remote-tracking branch 'origin/reasoning_tokens' into reasoning…
Muqi1029 e171f35
Merge branch 'main' into reasoning_tokens
JustinTong0323 8a7c8de
Keep ngram verify() return value unchanged, read accept_length from v…
hnyls2002 a73397d
Merge branch 'main' into reasoning_tokens
hnyls2002 c3950cf
Simplify update_reasoning_tokens with index lookup
hnyls2002 ebffd0c
Cache think_end_id and extract _maybe_update_reasoning_tokens helper
hnyls2002 eddfedc
Add type hint for _maybe_update_reasoning_tokens
hnyls2002 976d07b
Fix CI suite name for reasoning usage tokens test
hnyls2002 5e01651
Remove AMD CI registration from reasoning usage tokens test
hnyls2002 4295505
Merge branch 'main' into reasoning_tokens
hnyls2002 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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.