mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2844] Community benchmark: Apple M1 Max 64 GB (Metal) — Q2_0 decode 26.7 tok/s, 4K/16K prompts, agent session; 245K needle at 262144 context; Metal OOM note #1141
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @abssoul on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2844
Thanks for asking for more Mac data in
docs/MAC.md— here is the first Apple M1 Max 64 GB report (the chip class between your M4 mini and M5 Max measurements). Everything below is from a quiet machine, engine's own timings,tools/strata_bench.pysuite 1.Hardware and software
296b59d2, engine 0.1.44.1-metal, built from source bysetup.shon the Mac--mmap-experts,STRATA_METAL_STREAM=0Benchmark report (verbatim, suite 1: short chat / 4K / 16K / agent)
Measured on 2026-10-17 with
tools/strata_bench.py(suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run.Model and configuration
Environment of the config:
STRATA_METAL_STREAM=0Results
Agent session: cache hit 68.7 % over follow-up turns; first turn (nothing cached) first token 3.21 s. For comparison on your M5 Max 128 GB table (Q2_0, same defaults): decode 119.5/108.2 and 4K prompt ~1430 tok/s — the M1 Max lands at ~4.5× slower decode and ~6.3× slower prompt.
Extra measurements beyond the suite
Context beyond 32K (your "measured up to 32K" open question). Ran with
--max-context 262144(the model's full window), thentools/needle_bench.py:Quality spot checks (greedy, informal): 4/4 correct — bat-and-ball (5 with correct algebra), palindrome function, a two-leg average-speed arithmetic problem (63 min), wolf-goat-cabbage (full 7 crossings including taking the goat back). Same answers as a 35B MoE we run locally gets on these.
Startup: "decode window … ready in 26759 ms" from engine start; ~65 s from a cold
run-q2_0.shto the HTTP API answering.A Metal OOM observation (exit code 5, reproducible)
The engine reports "6331 MiB of VRAM free with everything loaded" at startup — ~42 GB wired through Metal for pack+KV+buffers on a 64 GB machine. If another GPU process then wires a large block (in our case a second local inference server loading 17-20 GB of weights), the next Strata request dies with:
and the engine exits with code 5. Two notes that may be useful:
/v1/memory/release) before each Strata request. Since then: three consecutive requests with a growing conversation, stable 28.8 tok/s, no exits.Happy to open a PR with the
bench/results/2026-10-17-community-cpu-qwen3-8-flash-next-q2-0/folder (results.json + engine-log-excerpt.txt included) if that is preferred — the folder name just carries the misdetection above.@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.