Skip to content

Chime v0.21.1 — 2x–3.2x Zero-Loss Voice Speedup, Route-A Mixed Jianpin & Unified Bilingual Phonetic RAG

Choose a tag to compare

@tyrchen tyrchen released this 01 Dec 04:12
· 78 commits to main since this release
9def116

Highlights

2×–3.2× Zero-Loss Offline Voice Speedup (100% Bit-Exact)

  • Pass 1 Final-Flush Speculative Prefix Verification & Pass 2 Header Speculation: Tuned empirically to Apple Silicon MLX's L=8 qmv tile regime for faster decode with zero accuracy loss.
  • Lock-Free PreviewCancel: Immediately aborts stale streaming previews on Flush/Cancel instead of blocking final delivery.
  • Pipeline Latency Hygiene: Raised long-silence compression threshold from 1.0 s to 4.0 s to preserve warm streaming caches, moved debug WAV recording off the critical path to a background thread, and restarted Swift final-result polling at 4 ms (live end-to-end delivery down to 45–85 ms on Apple M5 Pro).

Route-A Neural Mixed Jianpin (半简拼)

  • Added mixed_jianpin_2syl index in crates/neural and wired MatchKind::Abbreviation end-to-end through crates/core.
  • Mixed Jianpin + Quanpin inputs such as kyi -> 1. 可以, nikyi -> 1. 你可以, bshi -> 1. 不是, and zme -> 1. 怎么 now rank #1 with zero regression on canonical Pinyin (kui -> 1. 葵).

First-Principles Unified Bilingual PhoneticMemoryIndex

  • Unified CJK fuzzy-Mandarin (including 2-char medial-glide recovery such as 圆凯 -> 颜楷) and ASCII/alphanumeric/mixed personal entity retrieval (四比特 -> 4-bit, Hydrgen -> Hydrogen, postmodern -> postmortem) with active-screen-only Pass 1 bias.
  • Bypassed legacy post-Pass-2 text-only BI-12L homophone rewriting when native Pass 2 delivery is active, eliminating false swaps and saving 20–60 ms latency.

First-Principles [APPEND] Context-Leak Immunity

  • Added general has_appended_prev_leak invariants (verbatim span + short-utterance expansion) with clean prev= Pass 2 retry preserving all rag_hits.
  • Scoped lastVoiceCommit strictly to the immediately preceding utterance instead of concatenating across completed sentences.

Installation & Upgrades

  • Existing users on v0.19.2+ will automatically receive the passwordless 16 MB slim update (Chime-app-v0.21.1-macos-arm64.zip) while preserving their existing v0.21.0 offline voice pack.
  • All macOS artifacts (.pkg, Full .zip, Slim .zip) are signed with Apple Developer ID, notarized by Apple Notary Service, and offline-stapled.