fix: retry empty prompted transcriptions - #182
Conversation
|
/build |
|
⏳ PR Build started for Build signed & notarized DMG... this usually takes 10–20 minutes. |
|
✅ PR Build ready!
📥 Install
SHA-256 checksum
|
|
@flesler, the signed and notarized test build is ready: download the DMG. Could you try it with Large v3 Turbo (Compact) and custom vocabulary enabled, using the same audio that reproduced the empty transcript? Let us know whether it returns text. |
|
Tested Results
Every real dictation logged: then returned usable text. Vocab mitigation works. Take 5 is the separate silent-capture bug from #176/#178: buffer was near-silent, so retrying without prompt tokens correctly still yields nothing. #182 isn’t meant to fix that. NoteOn the retry path vocabulary bias is gone — “Zod” → “sod”. Fine for unblocking; custom vocab still isn’t actually helping on this turbo model until upstream prompt prefill is fixed. I’d call #181 verified for this build on the vocab path. |
Summary
Root cause
WhisperKit can exit during
promptTokensprefill before decoding audio on affected models, returning an empty transcript. Retrying without custom prompt tokens recovers the dictation while keeping vocabulary bias on the normal path.Upstream context: argmaxinc/argmax-oss-swift#372 and argmaxinc/argmax-oss-swift#497.
Validation
swift test(225 passed, 1 environment-dependent test skipped, 0 failures)Closes #181