Fast-silicon is an open-source toolkit for running bulk machine-learning workloads on Apple Silicon Macs instead of sending them to cloud APIs. It targets offline batch tasks such as text embeddings, document OCR, decision scoring, and schema-constrained JSON extraction. Its central design is to use the Metal GPU and 16-core Apple Neural Engine at the same time: a scheduler directs longer sequences to the GPU and shorter ones to the ANE, while batching, sequence packing, shared prompt caches, and constrained decoding reduce overhead. The project also includes compact vector search, local post-training tools, and prebuilt model artifacts. It requires Apple Silicon and macOS; some native ANE runners need Xcode Command Line Tools.
Reported benchmarks show workload-dependent gains over existing local runtimes: BGE-small reaches 200,600 tokens per second on a base M5, 11.3 times stock MLX, while EmbeddingGemma-2 runs 4.3-4.8 times faster than MLX. Other demonstrations include contextual retrieval scoring, batch JSON generation, OCR routing, and 20-billion-parameter model inference, with accuracy checks reported alongside throughput. A compact index searches 100,000 vectors in roughly 0.5-0.66 milliseconds without ranking loss. These results are benchmark-specific rather than a universal speed guarantee. The GPU-plus-ANE mode can use substantially more unified memory than ANE-only inference, and the largest batches need 32-48 GB or more; the repository does not support Windows, Linux, or Intel Macs.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.