FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

Error downloading Parakeet TDT-0.6b v3 (Validation error parsing MIL model)

Open stm opened this issue 1 year ago • 3 comments

The download of the Parakeet Voice to Text Model is not working for me (using Ventura 13.7.8). Neither does it auto-download when needed, nor do I see a "Download Model Now" button in the settings.

Image

According to the log, the issue is a validation error parsing the MIL model:

[17:00:26.032] [DEBUG] [ASRService] Starting ASR initialization...
[17:00:26.032] [DEBUG] [ASRService] Model cache directory (v3): /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml
[17:00:26.033] [DEBUG] [ASRService] Cache directory exists: true
[17:00:26.033] [DEBUG] [ASRService] Using FluidAudio's v3 loader (AsrModels.downloadAndLoad)
[17:00:26.033] [DEBUG] [ASRService] Invoking AsrModels.downloadAndLoad()
[17:00:26.064] [INFO] [ASRService] Model download flagged as in-progress (progress=0)
[17:00:51.176] [ERROR] [ASRService] ASR initialization failed with error: Error Domain=com.apple.CoreML Code=70 "at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Validation error parsing MIL model: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Specialization 'ios17' not in blocks." UserInfo={NSLocalizedDescription=at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Validation error parsing MIL model: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Specialization 'ios17' not in blocks., NSUnderlyingError=0x600001e28000 {Error Domain=com.apple.CoreML Code=203 "(null)"}}
[17:00:51.176] [ERROR] [ASRService] Error details: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Validation error parsing MIL model: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Specialization 'ios17' not in blocks.
[17:00:51.176] [ERROR] [ASRService] ASR transcription failed: Error Domain=com.apple.CoreML Code=70 "at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Validation error parsing MIL model: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Specialization 'ios17' not in blocks." UserInfo={NSLocalizedDescription=at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Validation error parsing MIL model: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Specialization 'ios17' not in blocks., NSUnderlyingError=0x600001e28000 {Error Domain=com.apple.CoreML Code=203 "(null)"}}
[17:00:51.176] [ERROR] [ASRService] Error details: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Validation error parsing MIL model: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Specialization 'ios17' not in blocks.
[17:00:51.176] [ERROR] [ASRService] Error domain: com.apple.CoreML, code: 70
[17:00:51.176] [ERROR] [ASRService] Error userInfo: ["NSLocalizedDescription": at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Validation error parsing MIL model: at /Users/<redacted>/Library/Application Support/FluidAudio/Models/parakeet-tdt-0.6b-v3-coreml/MelEncoder.mlmodelc/model.mil:4:4: Specialization 'ios17' not in blocks., "NSUnderlyingError": Error Domain=com.apple.CoreML Code=203 "(null)"]
[17:00:51.176] [DEBUG] [ContentView] Transcription returned empty text
[17:00:51.176] [WARN] [ASRService] Model download aborted due to error; resetting progress state

stm avatar Oct 12 '25 15:10 stm

Hi - can you tell me what version of mac you're using for this? Seems like a new issue that could be caused if it's built on incompatible mac version etc. Thanks

altic-dev avatar Oct 27 '25 10:10 altic-dev

I've got the same issue.

Model load fails with a CoreML error:

  • “Validation error parsing MIL model … Specialization ‘ios17’ not in blocks.”
  • Result: empty transcription; app aborts/reset the model state.

Using Ventura 13.7.2 Apple Silicon M2 Max

from what I understand the model that was downloaded is wrong for my Mac/CoreML version and/or incomplete:

  • The “Specialization ‘ios17’ not in blocks” message means the compiled CoreML model expects an iOS-17-style specialization that isn’t present in the file for my os. Model build isn’t compatible with my macOS 13/CoreML runtime (I guess?)
  • The separate “Missing coremldata.bin” error indicates at least one download produced a corrupted or partial model folder.

If this helps:

CoreML Code=70 … Specialization 'ios17' not in blocks (from MelEncoder.mlmodelc/model.mil) NSCocoaErrorDomain Code=259 Missing coremldata.bin in model: MelEncoder.mlmodelc

I hope this helps you fix the issue BTW this is for version 1.3.4 because 1.4.1 doesn't really open and instantly crashes on my mac 🙇‍♂️

CrabMalace avatar Nov 06 '25 16:11 CrabMalace

Sorry, There was another on similar note and it won't work for macOS 13 anymore because of a package update needed for FV. If you can upgrade to 14.0+ and give it a try - this might work. If you still have problems, please feel free to open up an issue! Thanks for feedback and support :))

altic-dev avatar Dec 11 '25 21:12 altic-dev