mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2386] cannot use strata in opencode through 0.1.44.1 by RTX4090 #963
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#963
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 @RNGMARTIN on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2386
Re: "The engine stopped unexpectedly" - OpenCode client
Date: 2026-10-14 (update, supersedes the 2026-10-12 report)
User: RNGMARTIN
Short version: the stall reproduces on 0.1.40.3, 0.1.43 and 0.1.44.1 - every
version I tried. Same stage, same signature, every time. It is not RAM
exhaustion and it is not the client.
====================================================================
"the engine stopped unexpectedly (exit code ...)"
====================================================================
Latest reproduction, 2026-10-14, engine 0.1.44.1, started via START-HERE.bat.
The server window showed, in order:
The matching engine log (strata-iq2_xs.log, 0.1.44.1, 2026-10-14):
Notes:
own self-stop path after it caught the hang, not an OOM kill; the Windows System log
has no OOM event.
always completes. The NEXT request (the real conversation prompt, here 8,069 tokens)
hangs at the same stage. My own back-to-back API tests (53, 53, 8,457 tokens right
after a fresh start) passed on 0.1.44.1 - the repro needs the title request first,
which is exactly what OpenCode sends.
"WARNING: --ple-io direct measures slow here (407-455 rows/s, about 2 MB/s of random
4 KiB reads): a prompt can spend minutes reading layer 1 and trip the stall watchdog
(#1425, #1629)." The stall sits at exactly that stage (layer 1).
engine decided after 60 s that nothing was being read, and stopped itself.
====================================================================
2. Strata version, OS, GPU and VRAM, total RAM, model
Code updated to main each time; the latest test used the 0.1.44.1 release engine.
AVX-2)
The log says it "loads about 39 GB into RAM and locks part of it for the GPU".
An IQ3_XXS pair is also on disk but not used.
====================================================================
3. The command line / config, especially context size and --prefill
Started with START-HERE.bat (menu choice 1 = iq2_xs). Engine command line exactly
as logged:
So: --prefill "auto" (chooses the batched path, "prompt chunk auto: 8192 tokens"),
context 131072. Server listens on 0.0.0.0:8080 with an API key.
From the start-up log, things that may matter on this machine:
35456548864 B (VirtualAlloc error 1314); using 4 KB pages"
reads)" with the note that mmap was "40-100x faster on some DRAM-less NVMe
drives but 7x slower on a SATA SSD (#2040), so it is not chosen for you"
====================================================================
4. Free RAM while it happens / OOM check
9583 MiB RAM available, over 10.6 million page faults so far.
The 0.1.40.3 stall had 5565 MiB available.
exhaustion.
memory. The exit code is the engine's self-stop (0xC0000409), not -9/137.
====================================================================
5. Does a long prompt (10-20K tokens, OpenCode scale) work from the
web page / API?
title request hangs at layer 1 for over 60 s with zero progress - on all three
engine versions.
out". It is a hang in the engine's batched prefill path, triggered by the request
sequence (title request, then the real prompt), at a stage the start-up warning
already flags as slow on this storage (--ple-io direct, ~2 MB/s random reads).
====================================================================
6. Is the engine dying, or is the client giving up?
The engine is hanging and stopping itself (the server's 60 s watchdog, issue #29).
The client (OpenCode) only sees the request error out afterwards. On every
reproduction:
wall again (15 stall dumps collected, 2026-10-08 through 2026-10-14)
@RNGMARTIN commented on GitHub (Oct 14, 2026):
@Niko1221
@RNGMARTIN commented on GitHub (Oct 15, 2026):
same problem in deepseek harness
@PARLTOR commented on GitHub (Oct 15, 2026):
Same problem in Deepseek Harness and in the regular Strata chat with a 7900xtx on windows:
[strata] the engine stopped unexpectedly (exit code None). The engine stopped itself because it had stopped making progress - a hang it caught. Its log line: strata serve: no progress for 60 s during a request (request -1) - stopping the engine so the server starts it again (issue #29) - please report it at github.com/Niko1221/Strata/issues. The next request starts the engine again. Its log: C:\Users{...}\strata-iq3_xxs.log
[strata] done: 0 tokens in 138 s (0.0 tok/s) (error, cancel=False)
[strata] the engine had stopped (exit code 3221226505); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
@JoeHalasz commented on GitHub (Oct 18, 2026):
Im having the same issue, RX 9070 XT 16gb VRAM and 96gb of ram. Using the model Qwen3.8-Flash-Next iq3_s. Any solution?
@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.