mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2313] [Bug]: --calibrate on Linux/HIP (RX 7800 XT eGPU over Thunderbolt): engine stops unexpectedly (exit code -15) with no ERR line #931
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#931
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 @RandallSP on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2313
Environment
a0116b27(which wasorigin/mainat the time).What happened
--calibrateaborts with the engine gone (exit code -15), on a Linux + HIP setup../setup.sh --calibrate(configstrata-iq3_s.json, engine 0.1.43.1, commita0116b27, which wasorigin/mainat the time).2026-10-13 10:57:48 engine started), reachedsession is up, and served requests.Expected: the tuning finishes, or a start that fails inside a later stage drops that candidate (#1337) instead of ending the whole run.
What I checked (no supervisor here, no llama-swap; the engine was started by setup itself)
ERR verifyline that day and noissue #29line (the only one in the file is from 2026-10-11).ring .* timeout0,device wedged0,reset compute queue0,amdgpu_pmops_suspend0, no devcoredump entry. The eGPU stayed present (runtime_status=active, link 16 GT/s x16).mem_info_vram_used16,959,606,784 B -> 191,897,600 B.-15is a SIGTERM.setup.pyandtools/calibrate.pycannot send one: their stop path isQUITthenproc.kill()(SIGKILL, -9), and the READY timeout (ENGINE_READY_S, 900 s) also kills with SIGKILL and reports a different message. Onlyserve/server.pysends SIGTERM to the engine:_pumpon aFATAL_PREFIXESline, andclose()whenQUITdoes not end the engine in 20 s. Neither trace is in the log.Engine log tail (
strata-iq3_s.log, the 4-worker engine, last 20 lines)The log ends there (file mtime 11:05:12). No error line, no QUIT line, nothing after it.
Config:
strata-iq3_s.json— IQ3_S pack,--vision cpu,--kv int8,--kv-resident 32768,--max-context 65536,--vram-reserve-mib 700,--prompt-cache-every 4096.Nothing was killed by hand, no OOM line in the kernel log, and the machine kept running the whole time.
@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.
@drewski1138 commented on GitHub (Nov 6, 2026):
Another firsthand Linux/HIP calibration engine death on the current packaged Strata Terminal 0.2.11 / Control + engine 0.1.57. This matches the symptom of calibration losing the engine without a fatal engine-log line, but not your specific worker-count stage or known exit signal.
Environment: AMD Ryzen AI MAX+ 395 / Radeon 8060S (gfx1151, single integrated GPU), 128 GB RAM (122 GiB OS-visible), Linux 7.0.0-38-generic. Qwen3.8-Flash-Next Unsloth Dynamic v3.1 UD-IQ4_XS (four-shard GGUF); configured 262144 context, int8 KV, 32768 KV-resident,
--spec 4 --spec-min-p 0.5 --mtp .../rt --expert-cache auto --prefill auto --ple-io ram --batch 6, CPU vision.I stopped the serving service and used the packaged Terminal's report-only path, with the packaged HIP library path and gfx1151 hipBLASLt tuning table exported to match the normal service environment:
The PCIe-share sweep completed all three rounds. The draft-floor sweep printed rounds 1/3 and 2/3, then calibration ended around 2026-11-05 23:03 EST with exit code 6 and:
The native engine log ends after successful short 128-token generations and contains no fatal/verify/QUIT explanation immediately before the calibration engine disappeared. The calibration output did not expose the child's exit signal, so I cannot claim
-15here. The user-unit memory peak was 106.2 GiB, swap peak 4.2 GiB; the kernel journal showed no OOM kill or GPU reset. This is one observed calibration failure, not a repeatable trigger and not proof of memory exhaustion. There is no complete calibration report, and no partial sweep setting was applied. The production config/unit hashes stayed unchanged; the service was restarted and verified loaded with a real chat completion.Could this be reopened for a 0.2.11 reproduction (or should we file a new
[Engine]issue because this older title lacks the required prefix)? Is there a supported way to capture the child exit reason/status duringstrata engine calibrate --measure? We also observed a separate long-prompt verify timeout and posted that in #2449; we do not know whether the two failures share a cause.