mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2694] [Bug]: Metal (M1 Ultra): engine stalls at token 0 reading an 8.7K-token prompt — "no progress for 60 s", exit -6 (0.1.44.1, stock config) #1073
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#1073
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 @beettlle on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2694
What happened
On Apple Silicon (Metal backend), the engine stalls at token 0 while reading a longer prompt (8,722 tokens). After 60 s the watchdog stops it with exit code -6 and asks for a report under #29. A short prompt (58 tokens) on the same install completes, but slowly: prefill runs at 1.6 tok/s and decode at 2.3 tok/s.
This happened on 2 of the 4 engine starts in the log, once with
--max-context 32768and once with--max-context 65536. Everything else is the stocksetup.shconfig (--expert-cache 64,--prefill auto,--mmap-experts,STRATA_METAL_STREAM=1). This is a different bug from #2671: no flags were changed, and the engine stalls instead of exiting with code 1.Steps
./setup.shinstall of v0.1.44.1 (commit296b59d), Qwen3.8-Flash-Next GSQ-RCO IQ3_S../run-iq3_s.sh, then wait forready: http://127.0.0.1:8081/v1.Console output
Stall report
What the log shows
host idle for 112309 msis longer than the 60 s watchdog window. The host thread was already idle before this request started.memory guard: the available RAM cannot be read; parking and session save/restore are refused. On macOS the stall report's memory figures may never be filled in.the arena is small: the prompt's 1.63 GB of buffers are their own allocation, not a region of its slots, andthe prompt path allocates its own buffers (too few cache slots to borrow).PCIe probe failed -> pcie_frac default 0.55. This is expected on unified memory, but it shows up on every start.Setup notes
/Volumes/NVMe, APFS). The expert arena fill reads at about 0.90 GB/s.strata-stall-*.dmpfile was written. That dump is Windows-only, as far as I can tell.I'm happy to run a debug build, try environment variables (for example
STRATA_PREFILL_CPU_SHARE=0orSTRATA_METAL_WIRE_ARENA=0), or test a patch on this machine.Strata version, GPU, OS
0.1.44.1-metal (commit
296b59d) · Apple M1 Ultra, 64 GB unified memory · macOS 27.0.1 (26A434)Engine log
(attach
strata-iq3_s.log)@beettlle commented on GitHub (Oct 15, 2026):
Log file attached. strata-iq3_s.log
@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.