mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #496] RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "")) #231
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#231
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 @AlexBekhtin on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/496
With Coder model result is same.
Windows 11
@Niko1221 commented on GitHub (Oct 2, 2026):
Thanks. The console stops right after
session is up, which is where a 6 GB card sets up the draft head and the verify buffers. On 0.1.35 the engine's own reason isn't shown there. Could you post the last ~40 lines ofstrata-q2_0.logfrom the Strata folder? Meanwhile, please try 0.1.36 (it names the draft-head case), andSTART-HERE.bat --setup --draft-vocab enor a smaller context. The next release also shows the end of the engine log in that error for every kind of failure.@AlexBekhtin commented on GitHub (Oct 2, 2026):
strata-q2_0.log
@AlexBekhtin commented on GitHub (Oct 2, 2026):
Reducing the context didn’t help.
I updated to 0.1.36 using git pull.
@Niko1221 commented on GitHub (Oct 2, 2026):
0.1.37 shows the end of the engine's log in that error for every kind of failure, so updating and starting again will show the reason directly. Please post it here.
@Niko1221 commented on GitHub (Oct 2, 2026):
Thanks for the log, it shows the cause. It isn't the context: on a 6 GB laptop RTX 3060, after the weights (1.4 GB), the draft layer (839 MiB) and the reserve (700 MiB + the draft head), only 0.29 GiB of VRAM is left, so the expert cache gets 0 slots. The verify step needs at least some of them, so the engine stops.
To get it running now, edit
strata-q2_0.jsonin the Strata folder, in"args":"--vram-reserve-mib"to300(or add"--vram-reserve-mib", "300"). That frees ~400 MB.0 slots: remove"--mtp", "<path>"and the"--spec", "4"/"--spec-min-p", ...pairs. Turning off the draft layer frees ~1 GB of VRAM (answers come out slower per step, but it runs).--vision noin setup) on a 6 GB card.It will still be slow on 6 GB, since most experts run on the CPU (setup warns about it). On our side this should not need hand edits: setup should pick these settings for a card under 8 GB, and the engine should start with a tiny cache instead of stopping. Reopening this to track that for the next release.
@AlexBekhtin commented on GitHub (Oct 2, 2026):
The advice regarding the “--vram-reserve-mib”, “300” limit turned out to be useful. Now everything works. I’ll also keep the other tips in mind. Thank you very much!
@AlexBekhtin commented on GitHub (Oct 2, 2026):
If I use "--vram-reserve-mib", "300" and a context of 8K, the model starts, but doesn’t complete the task.
I tried removing the parameters "--mtp", "" separately and together with the "--spec" pair; it doesn’t even start for a 8K context, with the following error:
@XeonG commented on GitHub (Oct 2, 2026):
I didn't see this duplicate but my own thread https://github.com/Niko1221/Strata/issues/517
same problem, I didn't have this issue days ago not sure what build version last worked for me now or what changed since to effect this, but rolling back should be easier given the amount of changes coming in almost daily to this project.
@Niko1221 commented on GitHub (Oct 3, 2026):
Fixed in 0.1.38. When the default reserve leaves the expert cache too little room, the engine now lowers its own reserve (down to 300 MiB) until the cache fits, and warns if the card ends nearly full. If even that is not enough, the start stops with how many MiB are short and what frees them (a smaller context,
--draft-vocab en, images on the CPU). Setup gives the same tip on cards under 8 GB. Please reopen with the new log if your 3060 Laptop still doesn't start.