Skip to content

Chime v0.26.3 — Deep Long-Sentence CPU/GPU Fix & 5-Layer E2E Gate

Choose a tag to compare

@tyrchen tyrchen released this 02 Dec 16:41
· 45 commits to main since this release

Highlights

Deep Long-Sentence Typing CPU & GPU Optimization (M1/M2 Air)

  • Zero-Thrash Stage-1 Incremental Cache & O(K) Zero-Alloc Beam Pruning: Fixed long-sentence mid-syllable boundaries (...gongyuanz, ...jintia) flipping full_is_canonical on every syllable, which previously invalidated IncrementalDecodeCache and triggered ~2,500 typo expansions + ~200 English dictionary lookups per keystroke. Moved beam deduplication & pruning from per-edge (~2,100x/key) to once-per-byte-position with a reusable scratch arena, cutting 32–45 byte main-thread latency from p50=6.93 ms / p95=25.52 ms down to p50=3.02 ms / p95=6.37 ms (up to 4x faster).
  • Adaptive Human-Cadence EMA Coalesce + Instant Commit Flush (FlushRouteA): Replaced the fixed 115 ms burst window (which misfired on medium-cadence 150–200 ms/key typing on M1/M2 Airs, burning wasted MLX GPU passes mid-sentence) with an adaptive 1.30x EMA window (95–215 ms). Combined with FlushRouteA on Space/punctuation commit, continuous dual-cadence long-sentence typing drops to ~5.8% total CPU while preserving 100% neural Top-1 even with zero pause before Space.

5-Layer End-to-End Release Regression Gate (make release-gate)

  • Added automated L0–L4 release gates covering Rust pedantic lint & unit tests, iOS dual-profile checks, Swift C-ABI & version-lockstep XCTests, real-bundle keyboard E2E + dual-cadence CPU/latency redlines + Blind Holdout-1010, frozen streaming voice golden suite, hot-update delta & macOS 14.0 AIR compatibility sandbox, and PM-13 online manifest verification.

Upgrades

  • Existing users on v0.26.x can update in-app via the 17 MB incremental hot-update (Chime-app-v0.26.3-macos-arm64.zip) without re-downloading neural weights.
  • Signed with Developer ID and Apple-notarized (macOS 14.0+ Apple Silicon).