[PR #5168] [CLOSED] [Benchmark] Apple M5 Pro 64 GB: Gyro-M streamed from the SSD (suffix / MTP / DFlash2 drafters) #5332

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5168
Author: @Flo5k5
Created: 11/4/2026
Status: ❌ Closed

Base: main ← Head: community-m5-pro-gyro-m


📝 Commits (2)

  • 2a70dd2 Community benchmarks: Apple M5 Pro 64 GB, Gyro-M streamed from the SSD with the suffix, MTP and DFlash2 drafters
  • 0522836 README: the resident follow-up of the same day (44.3 tok/s at 32K with every expert, 34.7/33.0 at 64K/128K, 240K served, GEMV_NR=2 at 49.8 first-bench) - links to #5176 for the full tables

📊 Changes

7 files changed (+2965 additions, -0 deletions)

View changed files

➕ bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-dflash2/README.md (+62 -0)
➕ bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-dflash2/results.json (+919 -0)
➕ bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-mtp/README.md (+62 -0)
➕ bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-mtp/results.json (+917 -0)
➕ bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m/README.md (+76 -0)
➕ bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m/results.json (+915 -0)
📝 docs/COMMUNITY_BENCHMARKS.md (+14 -0)

📄 Description

Problem and result

No Mac measurement of an agentionai Gyro trellis quant existed, and no measurement of how the three drafters compare when the experts stream from an internal SSD. This adds three reports from the same MacBook Pro M5 Pro (20-core GPU, 64 GB unified memory), measured on 2026-11-04 with tools/strata_bench.py (3 runs per test, medians).

Run Chat decode Agent decode (6 turns) Prompt 4K / 16K
setup's own choice (suffix drafter, no MTP layer) 25.7 tok/s 22.5 tok/s 743 / 699 tok/s
MTP layer added by hand, --spec 2 35.5 tok/s (+38%) 28.6 tok/s (+27%) 702 / 672 tok/s
DFlash2 drafter (engine disables the suffix drafter) 24.7 tok/s 22.8 tok/s -

Context 32768, --mmap-experts, thinking off, 0 failed request on every run. Full reports with per-run ranges and configs in each folder.

Needs the TYPE_SIZE trellis fix of #5167 to build the streaming copy at all (the Mac source setup dies in step 6 without it). The 96 GB streaming-MTP threshold discussed below relates to the setup defaults, no maintainer agreement needed for a measurement.

Approach

Same machine, same build (v0.2.6 source + #5167), same bench tool across the three runs; only the drafter changes. Two observations that may be worth more than the numbers:

  • The 96 GB streaming-MTP threshold looks too conservative on Apple Silicon. This model needs ~71 GB, so the setup drops the MTP layer ("one token per step is faster there"), yet adding it back by hand buys +38% chat / +27% agent: every accepted draft skips full expert passes that would otherwise be read from the SSD. The trade the threshold encodes seems inverted for streamed MoE on Mac.
  • DFlash2 does not pay in streaming (24.7 vs 25.7 with the suffix drafter alone): its fresh-token proposals force expert reads whether they are accepted or not, while the suffix drafter only replays context.

Validation

Passed:

  • python tools/strata_bench.py (3 runs per test, medians above), v0.2.6 source build + #5167 on macOS 27, M5 Pro 20-core GPU, 64 GB: 0 failed request on every run; per-run ranges and configs in each report folder.

Failed:

  • none observed.

Not run:

  • strata bench run standard results: these are strata_bench.py runs (speed only, no correctness checks).
  • Correctness/quality evaluations: out of scope for this report.

Limits

Speed-only measurements on a single machine; the drafter comparison holds for streamed experts (mmap on the internal SSD), not for the resident mode.


🔄 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/5168 **Author:** [@Flo5k5](https://github.com/Flo5k5) **Created:** 11/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `community-m5-pro-gyro-m` --- ### 📝 Commits (2) - [`2a70dd2`](https://github.com/Niko1221/Strata/commit/2a70dd210d2ef04c9f2b012bf8824e7ed5f87677) Community benchmarks: Apple M5 Pro 64 GB, Gyro-M streamed from the SSD with the suffix, MTP and DFlash2 drafters - [`0522836`](https://github.com/Niko1221/Strata/commit/0522836b010f9e0356e9438479179ccbdd76217b) README: the resident follow-up of the same day (44.3 tok/s at 32K with every expert, 34.7/33.0 at 64K/128K, 240K served, GEMV_NR=2 at 49.8 first-bench) - links to #5176 for the full tables ### 📊 Changes **7 files changed** (+2965 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-dflash2/README.md` (+62 -0) ➕ `bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-dflash2/results.json` (+919 -0) ➕ `bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-mtp/README.md` (+62 -0) ➕ `bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m-mtp/results.json` (+917 -0) ➕ `bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m/README.md` (+76 -0) ➕ `bench/results/2026-11-04-community-apple-m5-pro-qwen3-8-flash-next-gyro-gyro-m/results.json` (+915 -0) 📝 `docs/COMMUNITY_BENCHMARKS.md` (+14 -0) </details> ### 📄 Description ## Problem and result No Mac measurement of an agentionai Gyro trellis quant existed, and no measurement of how the three drafters compare when the experts stream from an internal SSD. This adds three reports from the same MacBook Pro M5 Pro (20-core GPU, 64 GB unified memory), measured on 2026-11-04 with `tools/strata_bench.py` (3 runs per test, medians). | Run | Chat decode | Agent decode (6 turns) | Prompt 4K / 16K | | --- | ---: | ---: | ---: | | setup's own choice (suffix drafter, no MTP layer) | 25.7 tok/s | 22.5 tok/s | 743 / 699 tok/s | | MTP layer added by hand, `--spec 2` | **35.5 tok/s (+38%)** | **28.6 tok/s (+27%)** | 702 / 672 tok/s | | DFlash2 drafter (engine disables the suffix drafter) | 24.7 tok/s | 22.8 tok/s | - | Context 32768, `--mmap-experts`, thinking off, 0 failed request on every run. Full reports with per-run ranges and configs in each folder. ## Related discussion Needs the `TYPE_SIZE` trellis fix of #5167 to build the streaming copy at all (the Mac source setup dies in step 6 without it). The 96 GB streaming-MTP threshold discussed below relates to the setup defaults, no maintainer agreement needed for a measurement. ## Approach Same machine, same build (v0.2.6 source + #5167), same bench tool across the three runs; only the drafter changes. Two observations that may be worth more than the numbers: - **The 96 GB streaming-MTP threshold looks too conservative on Apple Silicon.** This model needs ~71 GB, so the setup drops the MTP layer ("one token per step is faster there"), yet adding it back by hand buys +38% chat / +27% agent: every accepted draft skips full expert passes that would otherwise be read from the SSD. The trade the threshold encodes seems inverted for streamed MoE on Mac. - **DFlash2 does not pay in streaming** (24.7 vs 25.7 with the suffix drafter alone): its fresh-token proposals force expert reads whether they are accepted or not, while the suffix drafter only replays context. ## Validation **Passed:** - `python tools/strata_bench.py` (3 runs per test, medians above), v0.2.6 source build + #5167 on macOS 27, M5 Pro 20-core GPU, 64 GB: 0 failed request on every run; per-run ranges and configs in each report folder. **Failed:** - none observed. **Not run:** - `strata bench run` standard results: these are `strata_bench.py` runs (speed only, no correctness checks). - Correctness/quality evaluations: out of scope for this report. ## Limits Speed-only measurements on a single machine; the drafter comparison holds for streamed experts (mmap on the internal SSD), not for the resident mode. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:34:25 +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#5332
No description provided.