-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
[Frontend] Use new Renderer for Completions and Tokenize API #32863
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 2 commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
f8bc899
[Frontend] Use new Renderer for Completions and Tokenize API
DarkLight1337 a999855
Simplify
DarkLight1337 55f51e4
Shorten
DarkLight1337 9bc5ab0
Shorten name
DarkLight1337 a4bc111
Simplify
DarkLight1337 d94c320
Clean
DarkLight1337 c8b9e2e
Lazy import
DarkLight1337 673e724
Simplify
DarkLight1337 4279c5d
Fix
DarkLight1337 28be477
Simplify
DarkLight1337 b7d1666
Avoid cast
DarkLight1337 7026b15
Remove cast
DarkLight1337 a84eadc
Fix
DarkLight1337 33c79ac
Fix
DarkLight1337 d907c4f
Fix
DarkLight1337 a84f2cf
Fixes
DarkLight1337 d8f11a6
Reduce diff
DarkLight1337 8410354
Clean
DarkLight1337 fa5525b
Fix mypy
DarkLight1337 cfe6265
Don't overwrite with `None`
DarkLight1337 123c6b9
Fix
DarkLight1337 33771ef
Rename
DarkLight1337 88fe1fe
Optimize
DarkLight1337 a8766bc
Remove ignores
DarkLight1337 f811a16
Update
DarkLight1337 1b16051
Fix
DarkLight1337 199f073
Update
DarkLight1337 0b0d300
Update
DarkLight1337 66fc274
Merge branch 'main' into init-renderer-2
DarkLight1337 38addc5
Consolidate UUID check
DarkLight1337 b73d554
Move test
DarkLight1337 6152a3e
Migrate tests
DarkLight1337 2e1745d
Merge branch 'main' into init-renderer-2
DarkLight1337 25d863c
Update
DarkLight1337 25dcaa3
Clean
DarkLight1337 154f645
Simplify
DarkLight1337 4ea6c52
Migrate tests
DarkLight1337 6a96f2d
Fix mypy
DarkLight1337 f68ce60
Clean
DarkLight1337 491d927
Fix mypy
DarkLight1337 5ea5d4e
Be less strict
DarkLight1337 dbf38c2
Update
DarkLight1337 a135791
Simplify
DarkLight1337 983d709
Simplify
DarkLight1337 58da6d8
Fix types
DarkLight1337 47d65cb
Apply to disagg
DarkLight1337 1290e0b
Fix
DarkLight1337 30a3bf9
Merge branch 'main' into init-renderer-2
DarkLight1337 92246d7
Keep previous error
DarkLight1337 40255f9
Oops
DarkLight1337 2922361
Remove unused
DarkLight1337 98370df
Merge branch 'main' into init-renderer-2
DarkLight1337 bf95d8c
Fix
DarkLight1337 fb56a64
Merge branch 'main' into init-renderer-2
DarkLight1337 8b8c04b
Update
DarkLight1337 4e78896
Merge branch 'main' into init-renderer-2
DarkLight1337 343baca
Update tokenization params
DarkLight1337 2aaca9d
Merge branch 'main' into init-renderer-2
DarkLight1337 918f15d
Mypy
DarkLight1337 911da11
Avoid double BOS
DarkLight1337 fc58c8f
Fix prompt normalization
DarkLight1337 ffd948b
Update
DarkLight1337 318c61f
msg
DarkLight1337 a3c76c3
Update
DarkLight1337 ee0e9ab
Clean
DarkLight1337 d2c47dc
Handle `do_lower_case`
DarkLight1337 55c974b
Fix
DarkLight1337 22bc3da
Fix
DarkLight1337 1009199
Doc
DarkLight1337 a83c910
Simplify
DarkLight1337 241f68c
Update
DarkLight1337 437291f
Fix tests
DarkLight1337 b0f95a1
Deprecate
DarkLight1337 cbf2f7f
Let MM processor handle tokenization
DarkLight1337 c129b32
Fix `truncate_prompt_tokens == 0`
DarkLight1337 f5f97ef
Fix
DarkLight1337 add7cae
Fix
DarkLight1337 18097a0
Fix
DarkLight1337 a4a18d8
Don't allow zero
DarkLight1337 4d55f49
Merge branch 'main' into init-renderer-2
DarkLight1337 79e54b1
Fix mocks
DarkLight1337 ac90878
Fix tests
DarkLight1337 be60017
More fixes
DarkLight1337 2c3109b
Fix
DarkLight1337 8e949a5
Fix
DarkLight1337 47755a0
Fixes
DarkLight1337 1e1925d
Unused
DarkLight1337 e7bcbd9
Simplify
DarkLight1337 883298c
Fix
DarkLight1337 dfe2f15
Merge branch 'main' into init-renderer-2
DarkLight1337 e6efddc
Update
DarkLight1337 9e325b2
Update
DarkLight1337 cb523d0
Fix
DarkLight1337 f98127c
Allow `prompt=None`
DarkLight1337 b82d792
Fix ultravox
DarkLight1337 dcbf176
Fix
DarkLight1337 c24e821
Merge branch 'main' into init-renderer-2
DarkLight1337 4d60a6d
Revert params changes, will do in another PR
DarkLight1337 edef165
Fix
DarkLight1337 af83a1d
mypy
DarkLight1337 8ed3cf4
Fix double BOS
DarkLight1337 f69ac6d
Merge branch 'main' into init-renderer-2
DarkLight1337 8dc81f2
Merge branch 'main' into init-renderer-2
DarkLight1337 ae3c6f1
Merge branch 'main' into init-renderer-2
DarkLight1337 27f5610
Fix
DarkLight1337 c8977ec
Handle padding
DarkLight1337 c22c2dc
Don't use tokenizer attribute
DarkLight1337 e19cafd
Use bool
DarkLight1337 2666e7f
Merge branch 'main' into init-renderer-2
DarkLight1337 dc5f6a6
Fix
DarkLight1337 3fb0161
Fix
DarkLight1337 4663b8d
Typo
DarkLight1337 a827153
Merge branch 'main' into init-renderer-2
DarkLight1337 2e26322
Fix mock
DarkLight1337 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
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.