encoder-v2: encoder_int8_v2 for 560/1120/2240 ms (FluidAudio #1170)

#1
by alexwengg - opened
Fluid Inference Community org Hugging Face CLI

The English encoders with the conv-cache slice of a concat rewritten (same rewrite as FluidAudio #1141 / #1145), so the M2 Neural Engine compiles them instead of running the encoder on the CPU. Same weights, inputs and outputs; byte-identical results on M5 Pro (CPU and ANE). Kept out of nemotron_coreml_ms/ because FluidAudio releases up to 0.15.5 download every .bin in a tier folder.

Issue: https://github.com/FluidInference/FluidAudio/issues/1170
FluidAudio branch: https://github.com/FluidInference/FluidAudio/tree/fix/1170-english-encoder-v2

Fluid Inference Community org Hugging Face CLI

Verified on M2 Pro by the reporter (FluidAudio #1170): 1,638 ANE ops, 12.1 s first load vs 311 s. FluidAudio PR #1171.

alexwengg changed pull request status to merged

Sign up or log in to comment