Skip to content

v0.3.1: 20 community bug fixes

Choose a tag to compare

@0xaron 0xaron released this 27 Nov 09:04
· 10 commits to main since this release
c5644a3

A bug-fix release: 20 fixes from the community. Speed and the model file are unchanged.

Fixed

  • Engine: the attention fast path frees its per-thread workspaces when worker threads exit (#100) and keeps split-mode scratch inside each graph's own workspace (#103). Adaptive speculation depth is bounded before it indexes its tables (#117).
  • Resume from disk: saved prefix states are invalidated when the model file is replaced (#101), are not used or written while a LoRA adapter is active (#116), and a failed save no longer leaves a temporary file behind (#119).
  • Model grafting: metadata types and string bytes are kept as they are (#90), big-endian files keep their byte order (#102), and an incompatible MTP sidecar is rejected before any output is written (#118).
  • install.sh: numpy and pyyaml installed with pip install --user no longer make the graft fail (#78). A native build is staged before it replaces a working engine (#109). A cached engine is rebuilt when the build recipe changes (#110).
  • ./serve: --ctx, --multi, --threads, --port and --spec-depth values outside the 32-bit range are rejected with a clear message (#108).
  • Benchmark tools: server processes are stopped on every exit path (#84, #85). Failed or incomplete response streams are reported as failures (#86) and left out of identity comparisons (#111). Multi-stream ratios are compared within one CPU class (#87). A failed phase in bench/jobs.sh stays resumable (#106). main-guard examples inside Python strings are preserved (#107).

Added

  • scripts/smoke-test.sh, a three-check smoke test for a running server (#24).
  • .gitattributes that keeps LF line endings (#20) and a dependabot config for GitHub Actions (#33).

Upgrade

Run git pull && ./install.sh in your clone. The engine is rebuilt once. The model file is unchanged.

Thanks

Thank you to @Afloat16, @Johnbjoseph-cybersec, @stevenmessinger, @shivanipoddariiith and @kcalvinaIvin. Every change in this release came from the community.

Full list: CHANGELOG.md