-
Notifications
You must be signed in to change notification settings - Fork 257
Feature/grammar logits processor #1006
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 7 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
0a50783
feat(grammar): add constrained decoding support
wanglining97 fea2a8e
fix(grammar): harden constrained decoding integration
wanglining97 af5f2c5
fix(grammar): support byte vocab tokens
wanglining97 ef80a41
fix(grammar): align DashSC structured output integration
wanglining97 e002829
fix(grammar): address structured output review findings
wanglining97 f6b0be2
fix(grammar): align sampler processor rows with main
wanglining97 5bfbc87
build: declare flashinfer dependency for exec ctx ops
wanglining97 8276802
refactor(grammar): make matcher termination service-level
wanglining97 20fffd1
build: link packed mask test implementations
wanglining97 a00e817
fix(grammar): align vocab and finalization boundaries
wanglining97 e77e705
build: expose narrow flashinfer runtime dependency
wanglining97 8fd9ac6
refactor(grammar): simplify synchronous processor flow
wanglining97 9b77dc4
fix(config): preserve plain-text response format fallback
wanglining97 291c834
fix(grammar): update xgrammar budget integration
wanglining97 f9fddfd
fix(config): reject malformed response format JSON
wanglining97 cc5889d
fix(config): reject malformed response format envelopes
wanglining97 e8d7083
fix(grammar): cap tokenizer metadata to model vocab
wanglining97 09e5721
fix(grammar): normalize response format validation
wanglining97 c1ee8c9
refactor(grammar): centralize constraint field lifecycle
wanglining97 1bdc5e7
fix(grammar): address constrained decoding review findings
wanglining97 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| package(default_visibility = ["//visibility:public"]) | ||
|
|
||
| # Vendored dlpack header (single file). xgrammar's matcher.h includes | ||
| # <dlpack/dlpack.h>, but xgrammar's upstream pulls dlpack as a git | ||
| # submodule from github.com/dmlc/dlpack which is unreachable from the | ||
| # internal build environment. We vendor the v0.8 header verbatim instead. | ||
|
wanglining97 marked this conversation as resolved.
wanglining97 marked this conversation as resolved.
wanglining97 marked this conversation as resolved.
wanglining97 marked this conversation as resolved.
wanglining97 marked this conversation as resolved.
|
||
| cc_library( | ||
| name = "dlpack_headers", | ||
| hdrs = ["include/dlpack/dlpack.h"], | ||
| includes = ["include"], | ||
| ) | ||
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.