mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5169] The 96 GB streaming-MTP threshold looks too conservative on Apple Silicon: +38% chat with MTP on a 71 GB model #3074
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#3074
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 @Flo5k5 on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5169
Observation
On a MacBook Pro M5 Pro (20-core GPU, 64 GB unified memory) running Gyro-M streamed from the internal SSD, the setup drops the MTP draft layer with the message:
The model needs ~71 GB, under the
STREAM_MTP_FROM_GB = 96rule instrata_control/mac_fit.py. Preparing the MTP layer by hand (tools/mtp_fetch.py,mtp_pack.py --experts q2_0,mtp_rt.py) and adding--mtp mtp/rton top of the setup's own config gives the opposite outcome:tools/strata_bench.py, 3 runs, medians)--spec 2Full runs with ranges: the three reports in #5168 (
bench/results/2026-11-04-community-apple-m5-pro-*).Why it likely pays below the threshold
In streaming, a generated token costs full expert reads from the SSD when its experts are not resident. An accepted MTP draft skips those passes entirely, so the slower the base decode (the situation the threshold was written for), the more a draft is worth - the trade seems inverted for streamed MoE. The -5% prompt cost is the only regression we measured, and the agent turns' time-to-first-token is unchanged (5.81 s vs 5.86 s median).
Suggestion
Either lower the rule, or make the streaming-MTP choice a first-class setup option (for example
--drafting mtphonored on a small Mac too), or measure the break-even on one Mac per memory tier. Happy to run more configurations on this machine if that helps.(Build context: v0.2.6 source build + #5167,
--mmap-experts, context 32768, thinking off, 0 failed request on every run.)@github-actions[bot] commented on GitHub (Nov 4, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md