Skip to content

Releases: Dan-wanna-M/kbnf

v0.3.7-python

02 Sep 23:24
e73916a
Compare
Choose a tag to compare
  • Changes from v0.5.2-rust

v0.5.1-rust

02 Sep 23:19
e888035
Compare
Choose a tag to compare
  • Add #substrs docs.
  • max_state_id is now correctly computed with respect to #substrs
  • Make Python FFI docs safety section more comprehensive

v0.5.0-rust

30 Aug 03:12
437236e
Compare
Choose a tag to compare
  • Make EngineLike a sealed trait so adding more methods to it will not break compatibility.
  • Support new syntax: #substrs"xxxxx" which supports generating one substring out of a long string.

v0.3.6-python

02 Sep 23:22
5f5c8de
Compare
Choose a tag to compare
  • The case of all tokens are allowed is now handled without UB in the fast path of mask_logits for torch tensor
  • Add safety checks to guard against the fast path of mask_logits so mask_logits does not lead to UB on platforms where usize is not 64 bit.
  • Update docs to align with implementations of Engine
  • Changes from v0.5.1-rust

v0.3.5-python

30 Aug 03:14
437236e
Compare
Choose a tag to compare
  • Make torch mask_logits significantly faster by bypassing unreasonably slow Python interpreter & allowed token ids index->allowed token ids CPU tensor cache
  • Changes from v0.5.0-rust

v0.3.4-python

22 Aug 22:09
efbd362
Compare
Choose a tag to compare
  • Make compute_allowed_token_ids no-gil. In other words, it no longer blocks python threads.
  • Changes from v0.4.3-rust

v0.4.3-rust

30 Aug 03:07
ac19bfa
Compare
Choose a tag to compare
  • Cache invalid bytes for token skipping when computing allowed tokens

v0.4.2-rust

19 Aug 20:44
83a7a4d
Compare
Choose a tag to compare
  • Reuse the computation of first byte when computing allowed tokens

v0.3.2-python

19 Aug 20:44
83a7a4d
Compare
Choose a tag to compare
  • Changes from v0.4.2-rust

v0.4.1-rust

17 Aug 19:57
a57bace
Compare
Choose a tag to compare
  • If a token can be accepted by the engine but also completes the engine in the middle of accepting, the token will now be fully accepted.