Phonon-2.5 Core ML β Neural Engine encoder
Core ML build of Fermion Research Phonon-2.5 (25 languages, derived from NVIDIA Parakeet TDT 0.6B v3) whose encoder runs on the Apple Neural Engine and produces the same transcripts as the published GPU build Muesli-HQ/phonon-2.5-coreml, at a fraction of the energy.
Load
Requires macOS 15 / iOS 18 or later. Loads through unmodified FluidAudio with the v3 component contract:
let models = try AsrModels.loadLocal(from: directory, version: .v3,
encoderComputeUnits: .cpuAndNeuralEngine)
let manager = AsrManager(config: .default)
try await manager.loadModels(models)
The first load on a device compiles the encoder for the Neural Engine (about a minute); later loads take well under a second.
What differs from the GPU build
Only Encoder.mlmodelc. Preprocessor, Decoder, JointDecisionv3 and the vocabulary are
copied unchanged from Muesli-HQ/phonon-2.5-coreml at revision
a042ef89966d289df295709b58ffdabb50bd2510.
- Weight layout. The published encoder stores its five-value weights as 3-bit
palette indices, which the Neural Engine compiler rejects (
ANECCompile() FAILED); Core ML then runs every op on the CPU. This encoder uses thesparse-g8layout from the same conversion (1-bit mask + 6-bit palette). All 240 palettized matrices are bit-exact to the checkpoint. - Exact sigmoid. The Neural Engine evaluates
siluandsigmoidwith a coarse built-in approximation; that, not the weights or accumulation, is the source of the ANE activation drift reported upstream.tools/exact_sigmoid.pyrewrites all 72siluand 24sigmoidops to their definitions,x / (1 + exp(-x))and1 / (1 + exp(-x)). The math and every weight byte are unchanged.
Validation
Apple Silicon Mac, macOS 26, FluidAudio 0.18.4. Encoder compared on a 15-second window against the fp32 PyTorch encoder; transcripts on 83 public clips (3 LibriSpeech, 20 FLEURS each for English, German, French and Spanish), three passes.
| Encoder | Device | Cosine vs fp32 | NRMSE vs fp32 | Transcripts identical to GPU build |
|---|---|---|---|---|
| Published 3-bit | GPU | 0.999997 | 0.0012 | β |
| sparse-g8, built-in sigmoid | Neural Engine | 0.999546 | 0.0314 | 77/83 |
| This encoder | Neural Engine | 0.999996 | 0.0020 | 83/83 |
Energy measured with the IOReport energy counters around the timed transcriptions, idle baseline subtracted: about 2.6β3.0 J per minute of audio on the Neural Engine versus 18β23 J for the GPU build, at 124β126Γ realtime (GPU build 111β119Γ).
These are results from one machine and 83 clips, not a full benchmark.
Provenance and license
Source checkpoint FermionResearch/Phonon-2.5 revision
2673618ad8636c8dfd20fe57e94d1f67f75bdeaa, model.fermion SHA-256
17cb62d08e751a41819eb779db089aa7ac4eb2bab433ba5c2991d8cbd3cfefb9.
Conversion: FluidInference/mobius
models/stt/phonon-2.5/coreml (Apache-2.0) plus tools/exact_sigmoid.py.
Weights are CC-BY-4.0; see NOTICE for the full attribution chain (NVIDIA,
Fermion Research, Muesli-HQ) and LICENSE-WEIGHTS-CC-BY-4.0.txt. Code is
Apache-2.0 (LICENSE-CODE-Apache-2.0.txt). checksums.json lists the SHA-256 of
every file. This repository does not imply endorsement by Fermion Research,
FluidInference or Muesli-HQ.
- Downloads last month
- 15
Model tree for ferdinandl007/phonon-2.5-ane-coreml
Base model
nvidia/parakeet-tdt-0.6b-v3