Gemma 4 26B-A4B inference in ~2 GB of RAM on any M-series MacBook
Swift apple-silicongemmagemma4gemma4-26b-a4bgpgpullmllm-inferencelocal-aimacosmetalon-device-aion-device-llmswift
Add A18 Pro benchmark and overview video (#82)
Andrey Mikhaylov7a99f2a635e3
diff --git a/README.md b/README.mdindex 527956e7..e84417ba 100644--- a/README.md+++ b/README.md@@ -301,6 +301,9 @@ multiple rows. Generation repeats the routed layer loop one token at a time.The installer applies the same bounded-memory rule: it repacks remote rangesdirectly into `.gturbo` without staging a full shard or tensor.+For a video overview of TurboFieldfare, see Better Stack's+[Local AI On Apple Silicon uses 7X Less RAM](https://youtu.be/vHhephsP6vU).+For a visual introduction to the model architecture, see Maarten Grootendorst's[A Visual Guide to Gemma 4](https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-gemma-4).diff --git a/docs/COMMUNITY_BENCHMARKS.md b/docs/COMMUNITY_BENCHMARKS.mdindex 24479df7..b1ea21ba 100644--- a/docs/COMMUNITY_BENCHMARKS.md+++ b/docs/COMMUNITY_BENCHMARKS.md@@ -51,6 +51,9 @@ mkdir -p benchmark-results/system benchmark-results/warmup benchmark-results/meaReview the system file before sharing it. The filtered hardware command omitsthe serial number and hardware UUID.+If you calculate memory from `vm_stat`, use the page size printed on its first+line. Do not assume 4 KB; the A18 Pro report in issue #80 used 16 KB pages.+## Run the casesRun one discarded warmup for each case:@@ -132,6 +135,9 @@ all affect decode speed.| Source | Mac | Memory | Storage | Prompt / generated tokens | Decode | Measurement || --- | --- | ---: | --- | ---: | ---: | --- |+| [bangddong](https://github.com/bangddong) · [issue #80](https://github.com/drumih/turbo-fieldfare/issues/80) | A18 Pro MacBook Neo | 8 GB | Internal SSD | 61 / 516 | 4.134 tok/s | One submitted run |+| [bangddong](https://github.com/bangddong) · [issue #80](https://github.com/drumih/turbo-fieldfare/issues/80) | A18 Pro MacBook Neo | 8 GB | Internal SSD | 430 / 780 | 3.672 tok/s | One submitted run |+| [bangddong](https://github.com/bangddong) · [issue #80](https://github.com/drumih/turbo-fieldfare/issues/80) | A18 Pro MacBook Neo | 8 GB | Internal SSD | 3,015 / 617 | 3.012 tok/s | One submitted run || [German](https://github.com/iGerman00) · [issue #76](https://github.com/drumih/turbo-fieldfare/issues/76) | M1 MacBook Air | 16 GB | Internal SSD | 61 / 511 | 7.802 tok/s | One submitted run || [German](https://github.com/iGerman00) · [issue #76](https://github.com/drumih/turbo-fieldfare/issues/76) | M1 MacBook Air | 16 GB | Internal SSD | 430 / 669 | 7.173 tok/s | One submitted run || [German](https://github.com/iGerman00) · [issue #76](https://github.com/drumih/turbo-fieldfare/issues/76) | M1 MacBook Air | 16 GB | Internal SSD | 3,015 / 604 | 6.093 tok/s | One submitted run |