Repository navigation
RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "")) #496
Copy link
Copy link
Closed
Description
With Coder model result is same.
Windows 11
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)
Found your earlier install in D:\STRATA\Strata-main_old (q2_0): setting up this copy the same way - the model files are reused, nothing big is downloaded.
=== Step 1: checking your PC ===
[ok] GPU: NVIDIA GeForce RTX 3060 Laptop GPU, 6.0 GB VRAM, compute capability 8.6, driver 617.14
[!] less than 12 GB of VRAM: Strata will run, but most experts stay on the CPU and it will be slow
[ok] RAM: 64 GB
[ok] CPU: Intel(R) Core(TM) i5-10500H CPU @ 2.50GHz (AVX2)
=== Step 2: your choices ===
[ok] model: Qwen3.8-Flash-Next
1) Q2_0 2-bit, the fastest; download 66 GB, uses ~34 GB of RAM
2) IQ2_XS 2-bit i-quant, a little better quality, close in speed; download 68 GB, uses ~36 GB of RAM
3) IQ3_XXS 3-bit i-quant, better quality, slower (more CPU work per token); download 76 GB, uses ~43 GB of RAM
4) IQ3_S 3.5-bit i-quant, the best quality (matches the full model), the slowest; needs a 64 GB PC with little else running; download 84 GB, uses ~50 GB of RAM
[ok] size: Q2_0
[ok] context: 32768 tokens
[ok] KV cache: 8-bit
[ok] images: off
[ok] experimental speed projection: off
=== Step 3: Python packages ===
Installing numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil ...
> D:\STRATA\Strata\.venv\Scripts\python.exe -m pip install --quiet --disable-pip-version-check numpy==2.5.3; python_version >= "3.12" numpy==2.4.6; python_version == "3.11" numpy==2.2.6; python_version < "3.11" jinja2==3.1.6 regex==2026.9.10 pyyaml==6.0.3 tqdm==4.70.1 requests==2.34.2 cmake==4.4.3 ninja==1.13.2 pillow==12.3.0 psutil==7.2.2 markupsafe==3.0.3 certifi==2026.7.22 charset-normalizer==3.5.1 idna==3.20 urllib3==2.8.0 colorama==0.4.6; sys_platform == "win32"
[ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil installed
=== Step 4: the Strata engine ===
llama.cpp source: 39.6 MB
[ok] llama.cpp source downloaded
[ok] llama.cpp 3cf0325 (gguf-py, ggml, mtmd)
Downloading the ready-made Strata engine ...
Strata engine: 0.12 / 0.12 GB (94%)
[ok] Strata engine downloaded
[ok] ready-made engine 0.1.35 for sm_75, sm_86, sm_89, sm_120 (CUDA 13.0)
Installing NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) ...
> D:\STRATA\Strata\.venv\Scripts\python.exe -m pip install --quiet --disable-pip-version-check nvidia-cublas==13.0.2.14 nvidia-cuda-runtime==13.0.96
[ok] NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) installed
[ok] engine: D:\STRATA\Strata\engine\strata.exe
=== Step 5: downloading Qwen3.8-Flash-Next Q2_0 ===
[ok] Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00001-of-00002.gguf already downloaded
[ok] Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00002-of-00002.gguf already downloaded
[ok] model files present
=== Step 6: preparing the model for Strata ===
[ok] model prepared: D:\STRATA\Strata-data\packs\q2_0
[ok] MTP draft layer: D:\STRATA\Strata-data\mtp\rt
=== Step 7: writing the start script ===
[ok] start script: run-q2_0.bat
All set.
API (OpenAI): http://127.0.0.1:8080/v1 (any API key; model name: anything)
API (Anthropic): http://127.0.0.1:8080/v1/messages
Next time: just run START-HERE.bat (or run-q2_0.bat) - it starts right away
[ok] GPU: GPU 0 (NVIDIA GeForce RTX 3060 Laptop GPU, 6 GB)
----------------------------------------------------------------------------------------------------
Starting qwen3.8-flash-next-q2_0: it loads about 38 GB into RAM and locks part of it for the GPU.
While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a
restart). That is normal: please wait and don't close this window - the browser opens when it is ready.
Later, closing this window stops the model.
----------------------------------------------------------------------------------------------------
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 38 GB) and locking part of them for the GPU.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
[strata] experts loaded: 31.64 GiB at 3.17 GiB/s (15 s so far)
[strata] almost ready ...
Traceback (most recent call last):
File "D:\STRATA\Strata\serve\server.py", line 2619, in <module>
sys.exit(main())
~~~~^^
File "D:\STRATA\Strata\serve\server.py", line 2496, in main
engine = StrataEngine(exe, engine_args(cfg), cwd=cfg.get("cwd"), log=cfg.get("log"), env=env, lazy=lazy)
File "D:\STRATA\Strata\serve\server.py", line 262, in __init__
raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else ""))
RuntimeError: the engine exited before it was ready (see D:\STRATA\Strata\strata-q2_0.log)
Metadata
Metadata
Assignees
Labels
No labels
Activity
Niko1221 commentedon 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 commentedon Oct 2, 2026
strata-q2_0.log
AlexBekhtin commentedon Oct 2, 2026
Reducing the context didn’t help.
I updated to 0.1.36 using git pull.
serve: the engine-exited-before-READY error shows this start's last 2…
Niko1221 commentedon 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 commentedon 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.
Engine 0.1.37: a silent engine is restarted (Niko1221#481), Windows A…
AlexBekhtin commentedon 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 commentedon 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 commentedon Oct 2, 2026
I didn't see this duplicate but my own thread #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.
A 6 GB card starts with a small expert cache, or says what is short (#…
#496: the engine chooses a small card's reserve; setup only gives the…
Engine 0.1.38: faster prompts (#372 #374 #413 #452), Q5_0 experts on …
13 remaining items
Engine 0.1.38: faster prompts (Niko1221#372 Niko1221#374 Niko1221#413 N…
serve: the engine-exited-before-READY error shows this start's last 2…
Engine 0.1.37: a silent engine is restarted (Niko1221#481), Windows A…
A 6 GB card starts with a small expert cache, or says what is short (N…
Niko1221#496: the engine chooses a small card's reserve; setup only g…
Engine 0.1.38: faster prompts (Niko1221#372 Niko1221#374 Niko1221#413 N…
replay(githubproxy.fjygbaifeng.eu.org-eelgaev-Strata-AC922-ac922): src/core from ac922
replay(githubproxy.fjygbaifeng.eu.org-eelgaev-Strata-AC922-ac922): src/core from ac922
prefill: the advisory VRAM plan - the startup arithmetic says what it…
feat: opt-in shared prefill stage under Windows CUDA VRAM pressure
low-RAM mode: the auto expert cache keeps 1500 MiB of VRAM free under…
prefill: STRATA_PREFILL_KEEP (128) is the slots a loan leaves the cache
prefill: STRATA_PREFILL_KEEP (128) is the slots a loan leaves the cache
DeepSeek engine: Project Maya's one-GPU decode path (the PCIe lane, i…
Qwen: the automatic expert cache leaves the reserve it was asked to k…