sglang icon indicating copy to clipboard operation
sglang copied to clipboard

xgrammar 0.1.13

Open qeternity opened this issue 1 week ago • 5 comments

Motivation

Xgrammar compiler now supports regex compilation directly and the latest contains fixes (e.g. lazy groups) which bring it closer to parity with Outlines.

Modifications

Upgrade deps and migrate to regex compiler.

Checklist

  • [ ] Format your code according to the Code Formatting with Pre-Commit.
  • [ ] Add unit tests as outlined in the Running Unit Tests.
  • [ ] Update documentation / docstrings / example tutorials as needed, according to Writing Documentation.
  • [ ] Provide throughput / latency benchmark results and accuracy evaluation results as needed, according to Benchmark and Profiling and Accuracy Results.
  • [ ] For reviewers: If you haven't made any contributions to this PR and are only assisting with merging the main branch, please remove yourself as a co-author when merging the PR.
  • [ ] Please feel free to join our Slack channel at https://slack.sglang.ai to discuss your PR.

qeternity avatar Feb 15 '25 13:02 qeternity