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 community benchmark results (#30)
Andrey Mikhaylov1859181ae26e
diff --git a/README.md b/README.mdindex 8a40eb71..f18d56a3 100644--- a/README.md+++ b/README.md@@ -75,8 +75,9 @@ your prompt, and press **Generate**.The measured result is a reference point, not a performance ceiling. Promptlength, generated length, page-cache state, and hardware all affect throughput.-To help measure another Apple Silicon Mac, follow the-[community benchmark guide](docs/COMMUNITY_BENCHMARKS.md).+See [community benchmark results](docs/COMMUNITY_BENCHMARKS.md#community-results)+from other Macs, or follow the+[community benchmark guide](docs/COMMUNITY_BENCHMARKS.md) to add your own.## Using TurboFieldfarediff --git a/docs/COMMUNITY_BENCHMARKS.md b/docs/COMMUNITY_BENCHMARKS.mdindex 54d14934..50894075 100644--- a/docs/COMMUNITY_BENCHMARKS.md+++ b/docs/COMMUNITY_BENCHMARKS.md@@ -6,6 +6,9 @@ They exercise different prompt lengths and require coherent text that reachesthe end of the model turn. A repeating calibration prompt is not a valid speedresult because repeated expert choices can make decode artificially fast.+Submitted measurements are listed under+[Community results](#community-results).+The frozen prompts are in[`benchmark-prompts/real-generation-v1/`](benchmark-prompts/real-generation-v1/).Runs use the app sampling defaults with fixed seeds: temperature `0.2`, Top-K@@ -119,3 +122,26 @@ Compare rows only when the case, prompt tokens, generated tokens, settings, andstop reason match. The [reference M5 range](BENCHMARKS.md#m5-measured-decode)uses controlled non-repeating continuations for stable token-for-tokenmeasurement, while this public protocol checks autonomous product generation.++## Community results++These measurements were submitted by GitHub users. They are collected here+for reference, not as a controlled hardware comparison.+Prompt length, generated tokens, storage, cache state, and the number of runs+all affect decode speed.++| Source | Mac | Memory | Storage | Prompt / generated tokens | Decode | Measurement |+| --- | --- | ---: | --- | ---: | ---: | --- |+| [Benjamin Schilling](https://github.com/benjamin-schilling) · [issue #27](https://github.com/drumih/turbo-fieldfare/issues/27) | M3 Pro MacBook Pro | 18 GB | Internal SSD | 61 / 516 | 19.09 tok/s | One submitted run |+| [Benjamin Schilling](https://github.com/benjamin-schilling) · [issue #27](https://github.com/drumih/turbo-fieldfare/issues/27) | M3 Pro MacBook Pro | 18 GB | Internal SSD | 430 / 780 | 16.50 tok/s | One submitted run |+| [Benjamin Schilling](https://github.com/benjamin-schilling) · [issue #27](https://github.com/drumih/turbo-fieldfare/issues/27) | M3 Pro MacBook Pro | 18 GB | Internal SSD | 3,015 / 617 | 13.88 tok/s | One submitted run |+| [22f](https://github.com/22f) · [issue #23](https://github.com/drumih/turbo-fieldfare/issues/23) | M4 Mac mini | 16 GB | Internal 256 GB SSD | 61 / 516 | 11.38 tok/s | Median of five runs |+| [22f](https://github.com/22f) · [issue #23](https://github.com/drumih/turbo-fieldfare/issues/23) | M4 Mac mini | 16 GB | Internal 256 GB SSD | 430 / 780 | 8.43 tok/s | Median of five runs |+| [22f](https://github.com/22f) · [issue #23](https://github.com/drumih/turbo-fieldfare/issues/23) | M4 Mac mini | 16 GB | Internal 256 GB SSD | 3,015 / 617 | 8.58 tok/s | Median of five runs |+| [22f](https://github.com/22f) · [issue #23](https://github.com/drumih/turbo-fieldfare/issues/23) | M4 Mac mini | 16 GB | External Samsung 990 Pro | 61 / 516 | 11.53 tok/s | Median of five runs |+| [22f](https://github.com/22f) · [issue #23](https://github.com/drumih/turbo-fieldfare/issues/23) | M4 Mac mini | 16 GB | External Samsung 990 Pro | 430 / 780 | 10.79 tok/s | Median of five runs |+| [22f](https://github.com/22f) · [issue #23](https://github.com/drumih/turbo-fieldfare/issues/23) | M4 Mac mini | 16 GB | External Samsung 990 Pro | 3,015 / 617 | 11.21 tok/s | Median of five runs |++These submissions use the public community prompts and generate until the end+of the model turn. Compare rows only when the prompt and generated-token counts+match.