Andrey Mikhaylov (@drumih) header
Andrey Mikhaylov (@drumih) profile picture

GPU/Metal engineer • Creator of TurboFieldfare

England, United Kingdom
Joined December 2011
Hi @googlegemma! I built an open-source inference engine (7k stars on GitHub) to run Gemma 4 26B-A4B on any M-series Mac, even an 8 GB M1 Air. The engine is built from scratch in Swift and Metal and the kernels are heavily optimized. It uses SSD weight streaming to make this possible. I achieved 5–6 tok/sec decode on an 8 GB M2 Air (roughly human reading speed) and 30–35 tok/sec on a 24 GB M5 Pro. There’s also a CLI, a Mac app and a server for use with local agents. It would be cool to hear what you think! github.com/drumih/turbo-fiel…
3
1
6
3,080
Andrey Mikhaylov retweeted
You can now run Google's Gemma 4, a 26-billion-parameter AI model, on a basic 8 GB MacBook Air. Free, offline, no subscription. The model normally needs 14.3 GB of memory. TurboFieldfare keeps a small 1.35 GB core in memory and pulls only the parts each token needs from your SSD, so it runs in about 2 GB of RAM. → about 5 to 6 tokens per second on an 8 GB M2 MacBook Air, and 31 to 35 on an M5 Pro → native Mac app: click Download Model, then Load Model, then start typing → also comes with a command line and a local OpenAI-compatible server, so other apps can use it Needs an Apple Silicon Mac on macOS 26, Apple's Swift tools, and about 15 GB of free disk space. git clone github.com/drumih/turbo-fiel… cd turbo-fieldfare swift build -c release .build/release/TurboFieldfareMac Apache-2.0, 6.9K stars.
21
35
307
61,208
Andrey Mikhaylov retweeted
2 GB RAM is all TurboFieldfare needs to run Gemma 4 26B locally—streaming sparse experts from SSD, hitting 5–35 tok/s on any M-series Mac. No cloud, no subscription. Open source by @drumih. #macOS #Swift #DeveloperTools 🔗 Link in the comments
1
2
5
235
Andrey Mikhaylov retweeted
Ejecutar un modelo de 26B en un Mac con solo 2 GB de RAM parecía imposible. Hasta ahora. [Turbo Fieldfare] Carga únicamente la parte del modelo que necesita en cada momento, en lugar de mantener los 15 GB completos en memoria. REPOOO👇
12
49
2
309
18,561