github mlc-ai/xgrammar v0.2.4

7 hours ago

What's Changed

  • Fix: fix the ci. by @Seven-Streams in #685
  • [feat] support whitespace control for structural tag by @izhuhaoran in #660
  • fix: fix the ci. by @Seven-Streams in #689
  • refactor: remove specialized XML tool calling EBNF converter functions by @Ubospica in #686
  • perf: deduplicate identical repetition expansions in RepetitionRangeExpander by @Ubospica in #691
  • fix: \S regex escape wrongly rejected a literal [ by @CaiJohn in #693
  • feat: warn when apply_token_bitmask_inplace leaves logits unmasked (undersized bitmask) by @whycoming in #694
  • fix: make JSON Schema multipleOf sound for integers, warn for numbers by @palios-taey in #670
  • fix: reject unsupported overlapping oneOf schemas by @palios-taey in #672
  • fix(structural_tag): fix several models with tool_choice="required" to terminate instead of looping. by @Napuh in #695
  • Bugfix(fsm): resolve trie back edges via Aho-Corasick failure links by @izhuhaoran in #697
  • Bump to v0.2.4. by @Ubospica in #700

New Contributors

Full Changelog: v0.2.3...v0.2.4

Don't miss a new xgrammar release

NewReleases is sending notifications on new releases.