github mlc-ai/xgrammar v0.1.33

10 hours ago

What's Changed

  • refactor: simplify TagDispatch by removing stop_eos and stop_str by @Ubospica in #554
  • feat: provide PlusFormat, OptionalFormat, StarFormat to enhance StructuralTag. by @Seven-Streams in #557
  • feat: support structural_tag-level cache. by @Seven-Streams in #553
  • feat: token-level grammar support with Token/ExcludeToken/TokenTagDispatch edges by @Ubospica in #547
  • Expose IsCompleted through C++, Python, and JS bindings by @ushiromiya-lion in #549
  • feat: token-level structural tag API (TokenFormat, ExcludeTokenFormat, AnyTokensFormat, TokenTriggeredTagsFormat) by @Ubospica in #560
  • refactor: rename ExcludeTokenFormat.excludes to exclude_tokens for API consistency by @Ubospica in #563
  • feat: support RepeatFormat. by @Seven-Streams in #558
  • Better kimi-k2 series models support in builtin_structural_tag by @eraser00 in #562
  • fix: fix the wheel building of xgrammar on macos-15-intel. by @Seven-Streams in #566
  • [Bugfix] Allow whitespace between multiple XML tool-call parameters by @izhuhaoran in #559
  • feat: support Fork() method for GrammarMatcher. by @Seven-Streams in #556
  • feat: support BatchRollback. by @Seven-Streams in #555
  • Add Meta and Google collaborator logos by @Ubospica in #572
  • fix: undefined reference to some static const data members by @apocelipes in #570
  • [feat] support glm47/glm5 tool call xml style by @izhuhaoran in #571
  • fix: fix the tools with empty parameters. by @Seven-Streams in #568
  • feat: support DispatchFormat and TokenDispatchFormat. by @Seven-Streams in #564
  • refactor: align get_builtin_structural_tag with downstream software. by @Seven-Streams in #565
  • Silence To copy construct from a tensor, it is recommended to use sourceTensor. clone(). detach() or sourceTensor. clone() warning by @ExtReMLapin in #552
  • refactor: migrate the binding logic into tvm_ffi. by @Seven-Streams in #550
  • Revert "refactor: migrate the binding logic into tvm_ffi. (#550)" by @Seven-Streams in #574
  • Bump to v0.1.33. by @Seven-Streams in #575

New Contributors

Full Changelog: v0.1.32...v0.1.33

Don't miss a new xgrammar release

NewReleases is sending notifications on new releases.