fast-silicon: GPU and Neural Engine in parallel on the Mac, the numbers and the limits

The processor your Mac barely uses
Your Mac has two machine-learning engines that almost always work in isolation. The Metal GPU, which local runners like MLX and llama.cpp use for queries, and the 16-core Neural Engine, which sounds like a smartphone luxury and sits off almost all the time. The two accelerators do not talk to each other: MLX uses the GPU and leaves the ANE idle, Core ML does the opposite.
fast-silicon is an open-source project (MIT license) that runs both accelerators in parallel on the same Mac: the longest sequences go to the Metal GPU with packed kernels, the shortest ones to the Neural Engine with Core ML bundles, and the outputs are merged back in order. The headline result, per the author's own numbers: throughput up to 12x stock MLX on embedding batches, with zero telemetry, no account, and 100% offline execution after the weight download.
It is not a chat runner. It is a toolkit for batch work: indexing thousands of documents, extracting tables from PDFs, generating structured JSON from whole repositories. The question that matters: do the numbers hold, and at what price?
How the two-accelerator scheduler works
The idea is easy to explain and rare to see: instead of picking one accelerator for everything, you balance per sequence. Each batch is sorted by token length; the longest sequences (the ones that cost the most and benefit from the GPU's bandwidth) go to Metal, the shortest (tiny batches that are dirt-cheap per query on the ANE) go to Core ML. Two output files, rejoined in original order.
On top of that scheduler, the project stacks four techniques that make the difference in the numbers:
- Sequence packing without zero-padding. Variable-length sequences are packed without filler, so the GPU does not compute tokens that do not exist.
- Shared KV cache for the system prompt. When thousands of rows share the same system prompt, the prefix is computed once and reused (PrefixTree) instead of re-running the prefill for every row.
- Compact vector indexes. Binary int8 indexes at 0.30 ms per query on one million 1024-d vectors, 16x faster than standard MaxSim in batch.
- Schema-constrained decoding. For generative models, grammar enforcement (via llguidance) cuts the tokens that would violate the JSON schema, so generation is valid by construction and faster.
Verified on M4 Pro 48 GB and base M5 24 GB, macOS 15+, Python 3.12+. M1-M3 work via the same MLX/Core ML paths but are not in the project's CI matrix.
The numbers, and the price
All values below are those reported by the project on public benchmarks, run locally after warmup. We reproduce them with the caveat: they are self-reported, and no third party has replicated them yet.
| Workload (base M5, 24 GB) | fast-silicon | Baseline | Multiple |
|---|---|---|---|
| BGE-small embedding, 325 queries FP16 | 218.9k tok/s (11 s, 1.06 GB) | stock MLX: 133.8 s | 12.2x |
| EmbeddingGemma-2, batch of 500 queries 2K | 51.5k tok/s (57 s) | MLX: 4.3-4.8x; Core ML: 3.3x | 4.3-4.8x |
| Laya-421M scoring, 1,400 items | 228.6 q/s (37.9 s) in hybrid mode | 77.0 s on pure ANE | 2x vs MLX, up to 25x vs CoreAI |
| gpt-oss-20b MXFP4, batch 16 | 168.2 tok/s in 12.9-13.8 GB of RAM | stock mlx-lm | 3.35x vs B=1 on the same M5 |
| PDF OCR, 96 pages | 31 s (433.8 decode tok/s) | forced VLM at 4 pages | 1.4-2.05x |
The key point for 24 GB machines: gpt-oss-20b in MXFP4 fits in 13-14 GB and pushes 168 tokens per second at batch 16. With 48 GB (the M4 Pro reference), the same model climbs to 444 tok/s at batch 128.
And there is a price, and it must be stated:
- RAM. Running GPU and ANE together uses more memory than a single standalone Core ML model: 3.43 GB vs 0.84 GB on EmbeddingGemma-2. The
ane-only mode is the one that stays minimal, when latency allows. - Weights to download. The full download of all 8 packages is roughly 36-38 GB (25.6 GB skipping test extras).
- No streaming. The HTTP server collects micro-batches and returns the completed response, not token-by-token SSE. For interactive chat this is the wrong tool: MLX or llama.cpp remain the right choice.
- Hardware. Benchmarks are on M4 Pro and M5; M1-M3 are not in the project's CI matrix.
Setup in 5 steps
Requirements: Mac with Apple Silicon (M4/M5 verified, M1-M3 via the same paths), macOS 15+, Python 3.12+, uv.
git clone https://github.com/mikewolfd/fast-siliconcd fast-silicon && uv sync --python 3.13 --package fast-bge-smallmake -C packages/fast-bge-small native(compiles the ANE runners; Xcode Command Line Tools required. If it fails:xcode-select --installand retry).venv/bin/bge-small setup-weights(downloads the pre-compiled weights, ~0.15-0.35 GB)- A 10-line Python test:
from fast_bge_small import FastBgeSmall
engine = FastBgeSmall(default_mode="hetero")
query = engine.encode_texts("How does heat move through the oceans?", add_query_prefix=True)
vectors = engine.encode_texts(["Ocean currents carry heat from the tropics toward the poles.", "A piano has 88 keys."])
print(vectors @ query)
When it works: two numbers, with the second one higher than the first (the query is closer to the first passage). To load all 8 packages: python scripts/setup_all.py --dry-run to see the footprint, then run without --dry-run.
And the limits?
Three, in order of severity:
The numbers are self-reported. The repository has 141 commits, 4 stars, no release tags, no third-party benchmarks. The figures are reproducible with the provided commands (receipts live in docs/benchmarks/), but until someone replicates them independently, treat them as "claimed".
It is not a generator for chat. Batch HTTP without streaming, no UI, no account, nothing. If you want an interface to talk to a model, Open WebUI or LM Studio are the right plane. fast-silicon is for people who script pipelines.
Quality sometimes drops where speed goes up. On a 25-task tool benchmark, the MXFP4-Q4 build of gpt-oss-20b recorded 9/25 valid against 14/25 for unconstrained mlx-lm: the grammar enforcement that keeps the JSON always valid cut more than it saved in those cases. For structured-JSON workloads validity is guaranteed (300/300 valid on the Gemma 4 benchmark); for freeform, verify.
Who it is really for
The niche is precise: people with an Apple Silicon Mac (M4 or M5, better 32-48 GB) and a repeated batch job — indexing a document library, extracting tables, generating JSON from a repo — who do not want to ship that data to a hosted service. The multiples (12x on embeddings, 4-5x on 2K-token batches) only apply when the batch is large: on a single query, stock MLX has nothing to envy.
If you do this kind of work locally, and your Mac has 32 GB or more, it is worth the half hour of setup. If you do chat, stay where you are.
Sources
- fast-silicon on GitHub (README and benchmarks)
- llama.cpp release b12820
- Analysis of Local Open-Weight LLM Agents on Vulnerability-Reproduction Tasks (arXiv 2611.06257)
In summary
fast-silicon is the first open toolkit that runs the Metal GPU and the 16-core Neural Engine in parallel on the same Mac, with per-sequence scheduling, a shared KV cache and compact vector indexes. The claimed numbers — 12.2x on batch embeddings, 444 tok/s on gpt-oss-20b with 48 GB — are among the highest ever measured on Apple Silicon for batch work, with the caveat that they are self-reported by a young project. It is the right tool for offline pipelines (indexing, OCR, JSON) on M4/M5 with 32 GB or more; it is not a replacement for MLX for chat, where streaming and model coverage matter more than peak throughput. The Neural Engine, for the first time, stops being a decorative option.
Article generated with AI
In these reading paths
Enjoyed this article?
Subscribe to the newsletter for new tutorials and guides.

