Repository navigation
Description
Status 2026-11-11: Pins: native llama.cpp v0.9.0, LiteRT-LM v0.19.1-4 (core 0.19.6). llamadart-native#112 is still open and owns artifact qualification; remaining modes and validation below are unchanged.
Current status
Stateful LiteRT-LM streaming PCM and app-level live dictation have shipped:
- feat: add LiteRT-LM v0.16 ASR sessions #332 added the packaged LiteRT-LM ASR session ABI and low-level Dart session.
- feat: add live dictation and runtime controls #333 added opt-in live dictation plus physical Pixel/iPad and macOS evidence.
- feat: expose LiteRT-LM streaming speech-to-text #334 exposed worker-isolated streaming PCM through
SpeechToTextEngine.liteRtLm, including bounded producer backpressure, confirmed/pending events, finalization, cancellation and complete-PCM transcription. - llamadart
0.8.20publishes these capabilities withlitert-lm-native@v0.16.0-native.2.
The shipped LiteRT-LM path is stateful streaming PCM. The llama.cpp/Qwen3-ASR path remains whole-encoded-audio and must not be described as stateful.
As of 2026-10-16, the then-pinned native v0.6.0-3 predated this new upstream API, and native v0.7.0 also predated its merge; the current pin is v0.9.0 (not re-checked for this API). Native #112 owns artifact qualification; a separately versioned owner session boundary, bindings, input/progress/cancel/finalization capabilities and direct/worker parity must precede any new Dart claim.
Remaining modes and validation
- llama.cpp/Qwen3-ASR accumulative or bounded windowed input.
- Assess the new upstream
mtmd_audio_streamboundary (llama.cpp#30629,2851b3bcbf8d993a2243ae751c0a7dfa8e944a40) for a persistent session. It adds Voxtral-realtime infrastructure; it does not establish Qwen3-ASR compatibility or public CLI/server completion. - Cross-platform physical microphone/model coverage, especially Windows and Linux.
- Five-minute memory, cancellation and producer-backpressure measurements.
- Any future timestamp, confidence, language or diarization contract, only when supplied truthfully by the backend.
Acceptance gates
- Every input mode is capability-routed explicitly; whole-input, windowed and stateful are never conflated.
- Random PCM chunk boundaries produce the same final transcript and confirmed text remains monotonic.
- Missing, duplicate and out-of-order chunks fail explicitly.
- Audio buffering is bounded with no silent frame drops; cancellation releases blocked producers and prevents late callbacks.
- Repeated start/finish/cancel cycles do not leak or deadlock.
- Sustained real-time factor, partial/final latency and five-minute memory bounds are recorded for every claimed baseline.
- Windows/Linux and representative physical-microphone behavior are classified before broadening support claims.
Whole-input production validation is tracked in #325. Web hardware/WebGPU validation is tracked in #329.
Activity
[-]Add live speech-to-text sessions with explicit accumulative, windowed, and stateful modes[/-][+]Complete remaining live STT modes and cross-platform validation[/+]leehack commentedon Aug 21, 2026
Delivered scope and remaining modes — 2026-08-21
The stateful LiteRT-LM path and app-level live dictation described here have shipped:
SpeechToTextEngine.liteRtLm, including bounded producer backpressure, confirmed/pending events, finalization, cancellation, and complete-PCM transcription.0.8.20publishes these capabilities withlitert-lm-native@v0.16.0-native.2.The tracker remains open for the modes that were intentionally not claimed: llama.cpp/Qwen3-ASR accumulative or windowed input, a persistent llama.cpp streaming session, cross-platform real-microphone/model coverage (especially Windows/Linux), sustained five-minute memory and cancellation/backpressure measurements, and any future timestamp/diarization contract.
The shipped LiteRT-LM session should be described as stateful streaming PCM. The existing llama.cpp Qwen3-ASR path remains whole-encoded-audio and must not be relabeled as stateful.
fix: fail truncated Qwen3-ASR transcripts and report length finish re…
leehack commentedon Nov 10, 2026
2026-11-10 llama.cpp candidate delta: Gemma4 streaming audio input#31965,20c2e966, firstb12237, adds a stateful existing-family input capability. Resampler#31964,3d94ffe4, firstb12236, adds init/process/free with output borrowed only until the next process call and fixes upstream#31696.
Both remain RAW ONLY: owner/native/public core0.19.3 still use llama.cpp0.9/cd959bae. This does not turn complete-PCM transcription into live input or establish Qwen3-ASR compatibility. Keep P3 and the existing session/backpressure/event contract. Before admission: owner guarded stream/resampler lifetime and exports, copied buffers/bindings, explicit probes/version refusal, chunk/rate/flush/pause/finalization/error/cancel/reuse/exit controls, reference transcript/embedding semantics and sustained memory on actual platforms. Upstream chunked-GPU similarity varies; whole-input success is not live-stream qualification. No model/device or workflow execution by this scan.
leehack commentedon Nov 17, 2026
Update 2026-11-17: a planner assessed llama.cpp live ASR on
mtmd_audio_stream_*(present unchanged since v0.8.0; v1.0.0 adds only the Gemma 4 stream andmtmd_helper_resampler_*). Only Voxtral Realtime (voxtral_rt) and LFM3-Audio with itsasrtemplate produce live transcripts; Qwen3-ASR (qwen3a) is unsupported. Driving it safely needs a guarded native session in llamadart-native (#148), not direct Dart calls. Plan and probe results: llamadart-evidence/issue-327/live-stt-plan.md.leehack commentedon Nov 18, 2026
2026-11-18 owner delivery: native#200 is published in1.0.0-1,10bf3d2c, with14guarded llama_dart_asr_stream exports. Contract:16kHzmono queue/session, boundedstep, context-full/cancel/reset/teardown, VoxtralRealtime TOKEN_DELAY and LFM3Audio PROMPTED_CHUNKS; Qwen3ASR refused. This is no longer absent owner support.
Coremain8f3ac77 has generatedbindings/pin but no public llama.cpp liveASR wiring; public0.19.11 retains whole-input Qwen3ASR and the separate already-shipped LiteRT live path. Keep P3/open and0.20.x scope. Nextconsumer boundary: explicit capability/version/family probe, copied boundedPCM/backpressure/events, UTF8 segments, randomchunk/finalization/cancel/reuse/5minmemory and affected real-model/platform checks. Owner#202 retains prompted-mode/UTF8/cancel/reset/32bit/slowhost follow-ups. Do not turn nativeexports into a public live-transcript claim; no newrun by this scan.
leehack commentedon Nov 18, 2026
2026-11-18: llama.cpp live (stateful) ASR landed for 0.20.1 — #2054 (internal native service on native v1.0.0-1
llama_dart_asr_stream_*,a60436bf) and #2055 (publicLlamaCppLiveAsrAdapterviaSpeechToTextEngine.startStream(),540ab02a). Families: Voxtral Realtime (token-delay) and LFM3-Audio (prompted chunks, 2,048-position floor). Qwen3-ASR stays whole-input and is refused for live input; Web refuses. Recorded on macOS arm64 CPU (2 threads): 300 s live-paced runs for both models (first partial ~1.0–1.3 s, finalize 26–204 ms, no lost audio), fast runs, cancel/dispose/restart cycles. Still open here: Qwen3-ASR windowed input, Windows/Linux and physical-microphone classification, and memory bounds asserted (currently logged).fix(speech): address PR #2063 audit findings (Refs #327, #2059)
feat(speech): add opt-in Qwen3WindowedAsrAdapter and inputMode probe (#…
leehack commentedon Nov 19, 2026
Memory-growth calibration, 2026-11-19. Each row is 3 independent 300 s runs at 2 threads, ctx 4096, CPU. The ceilings are going into a follow-up to #2062.
Classification: on x64 CPU with 2 threads, Voxtral Realtime runs about 4× slower than real time, so it can't keep up with live input. LFM3-Audio keeps up. Windows L4 CUDA and the physical-microphone rows are still open.
leehack commentedon Nov 19, 2026
2026-11-19 layer reconciliation: public 0.20.1 now contains LlamaCppLiveAsrAdapter/startStream for native Voxtral Realtime and LFM3-Audio; its archive pins native v1.0.0-2 (minimum live-session ABI remains v1.0.0-1). Qwen3-ASR is still whole-input in that published package. #2063 / #2064 subsequently merged the opt-in Qwen3WindowedAsrAdapter and explicit inputMode probe on main: windowed re-decoding is NOT stateful native Qwen support, requires verified qwen3a projector ownership, and refuses Web/attach. No native export or binding change is needed for this windowed adapter.
Its bounded macOS CPU evidence records 2/4/6-second replaceable partials, first confirmation after 8 seconds plus decoding (paced 8.34 s), and LibriSpeech 5.88% WER. #2066 calibrates asserted memory ceilings; the recorded two-thread Linux/Windows CPU Voxtral RTF 3.74–4.31 cannot sustain live input, while LFM3 does. Do not generalize macOS or software evidence to hardware GPU/mobile. 0.20.2 plan #2059 owns publication/current-head acceptance and the maintainer's macOS microphone run; Windows/Linux microphone and Windows CUDA classification remain distinct. #2065 adds a harness, not a performed microphone pass. Existing remaining acceptance is preserved.
leehack commentedon Nov 19, 2026
macOS physical-microphone run, 2026-11-19: MacBook Pro Microphone through FFmpeg 9.0.2 AVFoundation, CPU, at
4df4c7ed(includes the capture fix #2076). Every model passed the lifecycle checks: each completed recording delivered exactly 320,000 samples, partials arrived while capturing, there was one final after stop, and the 8 s cancellation produced zero finals.The Qwen prompt leak and the Voxtral duplication are being diagnosed and will get their own issues. The receipts are kept privately as evidence. The Windows and Linux physical-mic rows stay open.
leehack commentedon Nov 19, 2026
Follow-up on the mic results, from controlled
say-generated audio through the same live path:Suppress quiet noise hallucinations in windowed Qwen ASR (#2080)
Prepare llamadart 0.20.2 release (#2092)
Suppress Qwen3-ASR windowed instruction echoes (#2093)
Correct the speech mode contract (#2113)
leehack commentedon Nov 20, 2026
2026-11-20 publication/validation boundary: opt-in Qwen3WindowedAsrAdapter/inputMode now first ships in core0.20.2, alongside calibrated memory ceilings and the #2079 quiet-noise mitigation. Native v1.0.0-3/b1b770d9 is pinned; windowed Qwen re-decodes bounded input and is not stateful native Qwen support. The existing Voxtral/LFM3 stateful mode remains distinct.
The maintainer's recorded macOS physical-microphone follow-up resolves the apparent Voxtral duplication as repeated operator speech and finds no reproducible LFM3 prefix/truncation defect; do not retain those as confirmed bugs. Windows/Linux microphone and Windows CUDA evidence are not established by that macOS run. Published two-thread x64 Voxtral CPU still cannot keep up with live audio.
#2088 residual partial echoes were not fixed by0.20.2. #2093, merged5804c8fe, is a bounded source mitigation for four known instruction forms, pending0.20.3; preserve its documented quiet/misrecognized exact-instruction dictation/empty-completion limits. Whole-encoded-file windowing, broader accuracy and other original acceptance remain open. No generic ASR-family or platform-qualification expansion.