github mlc-ai/xgrammar v0.1.21

latest releases: v0.1.24, v0.1.23, v0.1.22...
one month ago

Summary

v0.1.21 brings significant performance improvements and resolves previous issues with infinite loops and system freezes. It introduces the Earley parser. The preprocessing time is now up to six times faster than before (See #308), and it no longer suffers from the previous problems of exponential growth in the number of states or infinite (or very deep) recursion.

It also fixes the cache corruption problem that occurs when the input is invalid in GrammarCompiler.

What's Changed

Full Changelog: v0.1.20...v0.1.21

Don't miss a new xgrammar release

NewReleases is sending notifications on new releases.