Skip to content

Chime v0.26.2

Choose a tag to compare

@tyrchen tyrchen released this 02 Dec 15:32
· 49 commits to main since this release

What's New in Chime v0.26.2

4× Lower CPU Usage During Active Typing (M1/M2 Air Friendly)

  • Restored incremental RouteABeamCache KV-Cache reuse: Fixed an issue where having any learned personal/session entity disabled incremental beam caching for real users, forcing full (N^2)$ recomputation from byte 0 on every keystroke. Personal entities are now substring-filtered per input and keyed into the cache signature.
  • Eliminated redundant Stage-1 MLX inference: Disabled the legacy synchronous MidpointPrefixAdapter 12-layer MLX pass when Route A constrained autoregressive beam decoding is active, keeping Stage-1 purely on CPU (< 0.3 ms).
  • Lock-free mid-beam preemption & burst coalescing: Added atomic BeamCancelToken preemption across Route A steps/rescues, human-cadence burst coalescing (115 ms / 140 ms on incomplete mid-syllable prefixes) with periodic 20-byte warm-cache checkpoints, single-consonant skip, 60 ms post-commit ghost debounce, and identical-snapshot skip in CandidatePanel.
  • Measured benchmark: Pure active typing CPU dropped from 21.0% → 5.3% (~4.0× reduction at 105 ms/keystroke continuous typing, reducing M2 MacBook Air active typing CPU from ~35–50% down to ~8–10%).

4.1× Faster Long-Utterance Voice Dictation

  • Upgraded PreviewVerifyDrafter to cursor-resyncing lossless speculative verification (stop_on_mismatch = false, 2-token anchor lookahead, warp-aligned L = 8 MLX qmv batches) and tightened the rolling active window to 22 s (12..18 s roll).
  • Key-up Pass 1 latency on 24 s / 83-char real utterances dropped from 763 ms → 186 ms (100% bit-exact).

Voice Punctuation & Disfluency Fixes

  • Punctuation Precedence Lattice: Unified punct_precedence across postprocess::tidy_punctuation and edit_tagger::reconstruct_from_tags so filler deletion can never produce consecutive or leading punctuation (e.g. ?,, 。,, ,,, ?。).
  • Bayes Punct Prior Calibration & Prosody Boundary Guard: Corrected v0.25.0 BidirEditTagger punctuation prior skew (eliminating short-utterance comma spam like 继续吧。 → 继,续,吧。), guarded against mid-sentence content deletions, and preserved acoustics-grounded question/exclamation marks (? / !).

Ecosystem & Platform

  • Added Personal Voice LoRA & External Adapters management UI in macOS Settings.
  • Merged iOS App + Keyboard Extension + MLX Voice bridge into main and added Homebrew Cask generator (packaging/homebrew/Casks/chime.rb).
  • Existing users automatically receive the lightweight ~17 MB notarized app-only delta update without re-downloading models.