-
Notifications
You must be signed in to change notification settings - Fork 99
[Feature] Provide batched fill next token mask and batched accept string/token methods. #445
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
Seven-Streams
merged 30 commits into
mlc-ai:main
from
Seven-Streams:main-dev/2025-09-28/batch
Oct 8, 2025
Merged
Changes from 24 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
2839185
add the apis.
Seven-Streams 66429af
finitsh the basic frame.
Seven-Streams e2c4112
finish.
Seven-Streams bf06612
finish the basic tests for accepting.
Seven-Streams e75f61c
fix.
Seven-Streams 99abdb6
try to fix.
Seven-Streams 93e06fd
fix.
Seven-Streams 0b7efc6
refactor.
Seven-Streams 8a32e9c
format.
Seven-Streams 7b7be49
more tests.
Seven-Streams 6a94a5c
finish testing.
Seven-Streams c6c7f10
test.
Seven-Streams 2df1e8a
format.
Seven-Streams 8adc1d2
format.
Seven-Streams 0664c3d
change the return value.
Seven-Streams 28d46ce
refactor.
Seven-Streams be32a0b
finish refactor.
Seven-Streams b60f487
fix tests.
Seven-Streams ca22ac1
test utf8 and bytes.
Seven-Streams 3212137
add tests.
Seven-Streams 6146895
doc.
Seven-Streams 9ca3fa2
fix.
Seven-Streams c1f81f6
format.
Seven-Streams 570284c
format.
Seven-Streams 9b5f727
Update python/xgrammar/matcher.py
Ubospica cd29191
Update docs/xgrammar_features/runtime_safeguards.md
Ubospica 0f1b53d
format.
Seven-Streams 13e0fc8
refactor batch_fill_next_bitmask.
Seven-Streams e9e7f09
refactor.
Seven-Streams 6374909
refactor.
Seven-Streams 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
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.