CoolFace
Modelpublic

smdesai/canary-1b-v2-int8-coreml

sourceHugging Facecc-by-4.0updated 17d agoView on Hugging Face
0likes8downloads
Model Card

Canary 1B v2 — CoreML (INT8 encoder, KV-cache)

Memory-optimized CoreML build of NVIDIA canary-1b-v2 for Apple silicon: the encoder's weights are quantized to INT8 per-channel (linear symmetric) and decompressed in flight on the Apple Neural Engine, so the encoder's resident memory halves with the same FP16 activations and Neural Engine placement as the FP16 reference build (canary-1b-v2-coreml). Decoder and cross-KV stay FP16. Accuracy is within noise of FP16.

Base model: nvidia/canary-1b-v2 (NVIDIA NeMo EncDecMultiTaskModel, 1B parameters, 25 European languages, ASR + speech translation). License: the base model is released under CC-BY-4.0; this conversion carries the same license. Please attribute NVIDIA for the model.

This build

EncoderINT8 per-channel weights, Neural Engine-resident, 792 MB on disk, ~0.8 GB resident
Decoder / cross-KVFP16 (unchanged), 271 MB + 34 MB
Download1.10 GB
iOS RAM while transcribing1.2 GB (measured) vs 1.9 GB for the FP16 build
Encoder latency~36 ms per 15 s window (M3 Max, warm)

Build family

All 1B v2 builds share the same preprocessor, tokenizer, package layout, and decode contract; only the weight format of the encoder and/or decoder differs. Download sizes are as hosted on the Hub; iOS RAM was measured in an app while transcribing a 6-minute file.

RepoBuildEncoder weightsDecoder weightsDownloadiOS RAM
`canary-1b-v2-coreml`FP16 (reference)FP16FP161.89 GB1.9 GB (measured)
`canary-1b-v2-int8-coreml` (this repo)INT8 encoderINT8 per-channelFP161.10 GB1.2 GB (measured)
`canary-1b-v2-pal6-coreml`6-bit encoder6-bit palette, g=16FP160.92 GB1.0 GB (measured)
`canary-1b-v2-int8full-coreml`INT8 fullINT8 per-channelINT8 per-channel0.95 GB1.0 GB (measured)
`canary-1b-v2-pal6-int8-coreml`6-bit + INT86-bit palette, g=16INT8 per-channel0.77 GB910 MB (measured)
`canary-180m-flash-coreml`180M FlashFP16 (17L, d=512)FP16 (4L)0.37 GB470 MB (measured)

Files

FileContents
canary_preprocessor.mlmodelcFP32 mel front end (128 mel bins, 16 kHz mono, 15 s window)
canary_encoder.mlmodelcFastConformer encoder, 32 layers, d=1024, subsampling 8
canary_cross_kv.mlmodelcCross-attention K/V projection, 8 layers (run once per window)
canary_decoder_kv.mlmodelcStateful single-step Transformer decoder, 8 layers, 16384-way LM head
canary_spe.modelSentencePiece tokenizer (16384 pieces)
metadata.jsonShapes, decode geometry, seed tokens, and the weight recipe of this build

Credits

Model: NVIDIA NeMo team, canary-1b-v2, CC-BY-4.0.