Instructions to use mikewolfd/embeddinggemma-2-coreml-ane with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mikewolfd/embeddinggemma-2-coreml-ane with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mikewolfd/embeddinggemma-2-coreml-ane --local-dir embeddinggemma-2-coreml-ane
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Update model card with plain MLX tok/s and q/s comparisons
Browse files
README.md
CHANGED
|
@@ -7,6 +7,7 @@ tags:
|
|
| 7 |
- apple-silicon
|
| 8 |
- coreml
|
| 9 |
- ane
|
|
|
|
| 10 |
- embeddings
|
| 11 |
- fast-silicon
|
| 12 |
---
|
|
@@ -15,11 +16,19 @@ tags:
|
|
| 15 |
|
| 16 |
Prebuilt `W8` packed Core ML Neural Engine (`s32..s512`) and CPU-SME (`s256..s512`) bundles plus FP16 MLX weights and tokenizer for [`google/embeddinggemma-2`](https://huggingface.co/google/embeddinggemma-2), packaged for [`fast-silicon`](https://github.com/mikewolfd/fast-silicon) (`fast-embeddinggemma-2`).
|
| 17 |
|
| 18 |
-
##
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## Included Files
|
| 25 |
- `ane_models/` β `emb2_pk_s{32..512}_w8.mlmodelc` (`9` buckets) and `emb2_cpu_s{256,384,512}_mix_w8.mlmodelc` (`3` buckets)
|
|
|
|
| 7 |
- apple-silicon
|
| 8 |
- coreml
|
| 9 |
- ane
|
| 10 |
+
- mlx
|
| 11 |
- embeddings
|
| 12 |
- fast-silicon
|
| 13 |
---
|
|
|
|
| 16 |
|
| 17 |
Prebuilt `W8` packed Core ML Neural Engine (`s32..s512`) and CPU-SME (`s256..s512`) bundles plus FP16 MLX weights and tokenizer for [`google/embeddinggemma-2`](https://huggingface.co/google/embeddinggemma-2), packaged for [`fast-silicon`](https://github.com/mikewolfd/fast-silicon) (`fast-embeddinggemma-2`).
|
| 18 |
|
| 19 |
+
## Throughput & Latency vs. Plain MLX and Public Core ML (`tok/s`)
|
| 20 |
+
|
| 21 |
+
| Workload / Suite | Host | Plain MLX (`gpu`) | ANE-only (`ane`) | **`hetero` (GPU + ANE)** | Public Baselines |
|
| 22 |
+
| :--- | :--- | ---: | ---: | ---: | :--- |
|
| 23 |
+
| Corpus benchmark (`2026-11-24`) | Base M5 | `30,430 tok/s` | `21,888 tok/s` | **`49,106 tok/s`** (**`1.61Γ`** vs. plain MLX) | β |
|
| 24 |
+
| Corpus benchmark (`2026-11-24`) | M4 Pro | `17,936 tok/s` | `21,445 tok/s` | **`36,809 tok/s`** (**`2.05Γ`** vs. plain MLX) | β |
|
| 25 |
+
| Matched `2,000`-doc corpus (`551,889` toks) | Base M5 | β | β | **`48,803 tok/s`** | `14,945 tok/s` OpenInfinity INT8 (`3.27Γ`); `12,482 tok/s` CoreAI BF16 |
|
| 26 |
+
| Matched `2,000`-doc corpus (`551,889` toks) | M4 Pro | β | β | **`38,517 tok/s`** | `14,294 tok/s` OpenInfinity INT8; `14,251 tok/s` FluidInference FP16 |
|
| 27 |
+
| Document OCR (`2,000` docs, `hetero2`) | M4 Pro | `11,844 tok/s` (`47.3 s`) | β | **`32,569 tok/s`** (`17.2 s`, **`2.75Γ`** vs. plain MLX) | β |
|
| 28 |
+
| Warm `B=1` `24`-token query | Base M5 | `5.02 ms` | **`2.58 ms`** (**`1.94Γ`** vs. plain MLX) | β | `8.48 ms` stock `mlx-vlm`; `2.59 ms` OpenInfinity INT8 |
|
| 29 |
+
| Warm `B=1` `24`-token query | M4 Pro | `7.72 ms` | **`2.08β2.11 ms`** (**`3.72Γ`** vs. plain MLX) | β | `8.39 ms` stock `mlx-vlm`; `2.59 ms` OpenInfinity INT8 |
|
| 30 |
+
|
| 31 |
+
- **Full `2,048`-token context & Tier-1 (`500` items):** Unlike public `512`-token Core ML exports (`+0.0514` whole-passage `LegalBench-RAG` lift), delivers **`4.33Γ` EOT** vs stock `mlx-vlm` (`6.24Γ` vs Apple CoreAI) on Base M5 (`0.5376`, `57.1 s`, `3.43 GB` vs stock `246.9 s`) and **`4.80Γ` EOT** on M4 Pro (`0.5365`, `74.9 s`, `2.49 GB` vs stock `358.6 s`).
|
| 32 |
|
| 33 |
## Included Files
|
| 34 |
- `ane_models/` β `emb2_pk_s{32..512}_w8.mlmodelc` (`9` buckets) and `emb2_cpu_s{256,384,512}_mix_w8.mlmodelc` (`3` buckets)
|