[PR #2748] [CLOSED] Community benchmark: Apple M5 MacBook Air, 32 GB, Q2_0 (Metal, experts streamed) #4241

Closed
opened 2026-11-07 15:34:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2748
Author: @yourfate
Created: 10/16/2026
Status: ❌ Closed

Base: main ← Head: bench-apple-m5-32gb-q2_0


📝 Commits (3)

  • 38c481e Add community benchmark: Apple M5, 32 GB, Q2_0 (Metal, experts streamed)
  • 64111f0 Note the MacBook Air (fanless) in both M5 reports
  • 637ba86 Name the device in the M5 report folders (macbook-air-m5-32gb)

📊 Changes

5 files changed (+1907 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/README.md (+73 -0)
➕ bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/engine-log-excerpt.txt (+5 -0)
➕ bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/results.json (+897 -0)
➕ bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0/README.md (+65 -0)
➕ bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0/results.json (+867 -0)

📄 Description

Summary

Results-only submission: two runs of tools/strata_bench.py (default suite, 3 runs per test) on a MacBook Air (Apple M5) with 32 GB of unified memory, Flash-Next Q2_0, 32K context. MAC.md lists only the M5 Max (128 GB) and the M4 Mac mini (32 GB) as measured, so this adds a 32 GB M5 data point for the streaming path.

What changed

  • bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0/: first run, normal desktop load, server already running.
  • bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/: second run after a macOS update and restart with apps closed; the benchmark started the server itself.

Each folder has the tool's README.md and results.json, plus a "Notes added by hand" section.

Run 1 Run 2
Expert arena 5.41 GB 8.68 GB
Chat decode tok/s 9.6 (8.8-10.2) 17.7 (14.7-19.5)
Chat TTFT s 3.57 2.17
4K prompt tok/s 198.0 (187.2-201.7) 165.0 (158.1-215.8)
16K prompt tok/s 182.1 (177.8-199.2) 172.1 (166.7-174.1)
Agent decode tok/s 8.9 9.7
Agent cache hit 68.7 % 68.7 %

Setup

  • Hardware: MacBook Air (Mac17,3), Apple M5 (10-core CPU), 32 GB, model on the internal SSD. On AC power, 23 °C ambient, no forced cooling. The Air is fanless, so an actively cooled M5 (e.g. a Mac mini) may sustain higher clocks over long runs.
  • macOS 27.2: build 26B5101f (run 1), 26B5112a (run 2).
  • Strata 0.1.44.1 at 296b59d2, engine 0.1.44.1-metal, built from source by ./setup.sh --yes --model Q2_0 --no-start.
  • Q2_0 with the experts' copy (.experts, 31.64 GiB), no MTP draft layer, prompt chunks of 1024.

Extra Notes

  • strata_bench.py reports "CPU only" on a Mac because it detects GPUs through nvidia-smi/rocm-smi. I corrected the title and GPU line of both READMEs; results.json is unchanged.
  • Run 1 had only 12.9 GB of memory available at start, so the arena was 5.41 GB. That matches MAC.md's note about smaller arenas decoding slower.
  • Prompt throughput was lower in run 2 despite the larger arena. No swap was used and macOS recorded no thermal or performance warnings, so I can't explain it. The 4K runs varied widely (215.8, 158.1, 165.0 tok/s).
  • A background sync client was running during both runs. Speed suite only; no correctness or needle checks were run.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2748 **Author:** [@yourfate](https://github.com/yourfate) **Created:** 10/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench-apple-m5-32gb-q2_0` --- ### 📝 Commits (3) - [`38c481e`](https://github.com/Niko1221/Strata/commit/38c481e11e6ed9b2ab4ab0bc51aac6223a910c0e) Add community benchmark: Apple M5, 32 GB, Q2_0 (Metal, experts streamed) - [`64111f0`](https://github.com/Niko1221/Strata/commit/64111f0dc3fec7275b0f52a711845581ff3a0587) Note the MacBook Air (fanless) in both M5 reports - [`637ba86`](https://github.com/Niko1221/Strata/commit/637ba86baa009a78c508b40699f4c2f419a44156) Name the device in the M5 report folders (macbook-air-m5-32gb) ### 📊 Changes **5 files changed** (+1907 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/README.md` (+73 -0) ➕ `bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/engine-log-excerpt.txt` (+5 -0) ➕ `bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/results.json` (+897 -0) ➕ `bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0/README.md` (+65 -0) ➕ `bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0/results.json` (+867 -0) </details> ### 📄 Description ## Summary Results-only submission: two runs of `tools/strata_bench.py` (default suite, 3 runs per test) on a MacBook Air (Apple M5) with 32 GB of unified memory, Flash-Next Q2_0, 32K context. MAC.md lists only the M5 Max (128 GB) and the M4 Mac mini (32 GB) as measured, so this adds a 32 GB M5 data point for the streaming path. ## What changed - `bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0/`: first run, normal desktop load, server already running. - `bench/results/2026-10-16-community-macbook-air-m5-32gb-q2_0-run2/`: second run after a macOS update and restart with apps closed; the benchmark started the server itself. Each folder has the tool's `README.md` and `results.json`, plus a "Notes added by hand" section. | | Run 1 | Run 2 | | --- | ---: | ---: | | Expert arena | 5.41 GB | 8.68 GB | | Chat decode tok/s | 9.6 (8.8-10.2) | 17.7 (14.7-19.5) | | Chat TTFT s | 3.57 | 2.17 | | 4K prompt tok/s | 198.0 (187.2-201.7) | 165.0 (158.1-215.8) | | 16K prompt tok/s | 182.1 (177.8-199.2) | 172.1 (166.7-174.1) | | Agent decode tok/s | 8.9 | 9.7 | | Agent cache hit | 68.7 % | 68.7 % | ## Setup - Hardware: MacBook Air (Mac17,3), Apple M5 (10-core CPU), 32 GB, model on the internal SSD. On AC power, 23 °C ambient, no forced cooling. The Air is fanless, so an actively cooled M5 (e.g. a Mac mini) may sustain higher clocks over long runs. - macOS 27.2: build 26B5101f (run 1), 26B5112a (run 2). - Strata 0.1.44.1 at `296b59d2`, engine `0.1.44.1-metal`, built from source by `./setup.sh --yes --model Q2_0 --no-start`. - Q2_0 with the experts' copy (`.experts`, 31.64 GiB), no MTP draft layer, prompt chunks of 1024. ## Extra Notes - `strata_bench.py` reports "CPU only" on a Mac because it detects GPUs through `nvidia-smi`/`rocm-smi`. I corrected the title and GPU line of both READMEs; `results.json` is unchanged. - Run 1 had only 12.9 GB of memory available at start, so the arena was 5.41 GB. That matches MAC.md's note about smaller arenas decoding slower. - Prompt throughput was lower in run 2 despite the larger arena. No swap was used and macOS recorded no thermal or performance warnings, so I can't explain it. The 4K runs varied widely (215.8, 158.1, 165.0 tok/s). - A background sync client was running during both runs. Speed suite only; no correctness or needle checks were run. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:34:16 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4241
No description provided.