Skip to content

Releases: mlc-ai/xgrammar

v0.1.19

08 May 07:01
742a380
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.18...v0.1.19

v0.1.18

08 Apr 09:18
8062bec
Compare
Choose a tag to compare

Highlights

  • Provides a MLX kernel to support mac devices
  • Fix bugs in json schema converter
  • Fix the compilation failure issue of torch kernels
  • Supports float range, format in json schema
  • Adds a function testing._is_single_token_bitmask for spec decoding
  • Releases GIL for most of the methods

What's Changed

New Contributors

Full Changelog: v0.1.17...v0.1.18

v0.1.17

25 Mar 11:01
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.16...v0.1.17

v0.1.16

15 Mar 21:15
9892221
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.15...v0.1.16

v0.1.15

05 Mar 23:18
ccc355c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.14...v0.1.15

v0.1.14

26 Feb 14:36
71591de
Compare
Choose a tag to compare

Highlights

This version supports XGrammar on Linux Arm64, removes the restriction of glibc 2.28, and adds a source distribution.

It fixes the self-recursion error, extends apply_token_mask_inplace to support some corner cases.

It changes the API of StructuralTag, renaming field "start" to "begin".

What's Changed

  • update GenerateRangeRegex by @zanderjiang in #182
  • [Fix] Fix compatibility for apply_token_bitmask_inplace by @Ubospica in #206
  • [Feature] Support self-recursion in json schema reference by @Ubospica in #210
  • Modernize build to support sdists by @zbowling in #190
  • Update README to announce that Modular MAX uses XGrammar by @zbowling in #217
  • [Feature] Support padding for logits and unequal batch size for logits and bitmask by @Ubospica in #220
  • [Refactor][Breaking] Rename start->begin in StructuralTag by @Ubospica in #221
  • Bump to v0.1.14 by @Ubospica in #222

New Contributors

Full Changelog: v0.1.13...v0.1.14

v0.1.13

13 Feb 13:56
b14a281
Compare
Choose a tag to compare

Highlight

This version enhances the compatibility of XGrammar on various platforms. It also provides full support for regex. Now most features are supported. It also enhances the efficiency of the token bitmask application kernel.

What's Changed

New Contributors

Full Changelog: v0.1.11...v0.1.12

v0.1.11

13 Feb 13:53
933f6f5
Compare
Choose a tag to compare

Highlight

In this PR we supported the structural tag. This is a new feature that can support strict function calling (and many more flexible patterns).

What's Changed

Full Changelog: v0.1.10...v0.1.11

v0.1.10

13 Feb 13:51
c1b6492
Compare
Choose a tag to compare

Highlight

In this version we enhanced the ability of json schema, ebnf, and provided APIs for grammar concat and union.

What's Changed

Full Changelog: v0.1.9...v0.1.10

Release v0.1.8

25 Dec 17:01
Compare
Choose a tag to compare

Features