mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3683] [Engine] 0.1.47 test-start times out after the model reaches ready on Windows/CUDA #1522
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#1522
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 @YifanShi on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3683
Title: Engine 0.1.47 update test-start times out after the model reaches ready on Windows/CUDA
Summary
The signed-feed updater downloads, unpacks, and verifies engine 0.1.47 successfully. The staged engine loads the model and publishes a ready file with both api_state and model_state set to "ready", but the updater's one-token generation probe does not complete. After exactly 600 seconds the updater reports startup_wait_expired and correctly leaves the current engine unchanged.
This reproduces with both a two-GPU layer split and a minimal single-GPU configuration. The minimal single-GPU run had ample system memory and 1609 MiB of free VRAM after the model was fully loaded.
Environment
Reproduction
Close all running Strata model instances.
Use a separate components directory so the currently working engine cannot be changed:
$env:STRATA_COMPONENTS_DIR = "<STRATA_ROOT>\engine-feed"
Run the updater with a valid minimal IQ3_XXS configuration:
..venv\Scripts\python.exe .\strata.py update --no-control --force --model-config "\strata-iq3_xxs-update-test.json"
Relevant model arguments in the minimal configuration:
--expert-cache auto
--prefill 4096
--spec 4
--mtp
--max-context 8192
--kv int8
--mmap-experts
--vram-reserve-mib 2000
Top-level GPU setting: 0
No layer split, vision, control vector, API key, or remote bind.
Observed result
The updater reports that download, unpacking, and signature/file verification succeeded:
downloading engine 0.1.47 windows-x86_64-cuda-cuda13: 100% (554 of 554 MiB)
Unpacking 0.1.47 windows-x86_64-cuda-cuda13
Checking the package signature and every file
Test-starting engine 0.1.47 windows-x86_64-cuda-cuda13 before switching to it
The staged server then reaches ready normally. Its ready JSON was:
{"api_state":"ready","api_url":"http://127.0.0.1:63699","bound_host":"127.0.0.1","bound_port":63699,"model_id":"qwen3.8-flash-next-iq3_xxs-update-test","model_state":"ready","schema_version":1}
Relevant engine log lines:
strata generate: session is up (engine 0.1.47)
strata serve: Windows commit: 58.3 GiB left of a 91.6 GiB limit (RAM + page file)
strata serve: 1609 MiB of VRAM free with everything loaded
No prompt or generation request appears in the engine log after the session becomes ready. At the 600-second timeout the updater reports:
Engine none NOT changed: The new engine 0.1.47 did not pass its test start
(it did not answer a one-token probe (startup_wait_expired)).
It was not installed; your current engine is unchanged.
The staged process and staging directory are then cleaned up normally.
Additional reproduction
The same timeout occurred in valid two-GPU tests using GPU 0 + GPU 1 with layer_split auto. In one lightweight 32K IQ3_XXS mmap test, engine 0.1.47 reached "session is up" and still had 1114 MiB free on CUDA0 and 1242 MiB free on CUDA1, but the updater again ended with startup_wait_expired.
Expected result
After the staged server reaches ready, the updater should send the one-token generation probe, receive at least one generated token, stop the staged server, and install engine 0.1.47.
Notes
github-upload-strata-iq3_xxs-update-test.sanitized.json
github-upload-test-start-0.1.47.sanitized.log
@github-actions[bot] commented on GitHub (Oct 22, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@bigolokevin-bit commented on GitHub (Oct 22, 2026):
Confirmed on a different architecture, and via the ordinary update path (not only the isolated
--forcerepro).Environment
0.1.47 windows-x86_64-cuda-cuda13What I ran
setup.py --yes --update— i.e. exactly whatUPDATE.batruns for a git-clone install. No--force, no separate components dir. This is the path a normal user takes.Result
Download, unpack and "Checking the package signature and every file" pass. The staged engine loads and reports ready, then the probe never completes:
test_timeoutdefaults to 600 s and is clamped to 600, so this is a full 600 s with zero tokens — consistent with your conclusion that this is the readiness path rather than loading or resource exhaustion.Model arguments (relevant, since they differ from the minimal case):
plus a configured
api_keyandtrusted_origins. Engine 0.1.45 serves this exact config fine (12/12 greedy checks, tool calls,/health, remote access all OK).Things I ruled out, to save maintainer time
strata_control/readiness.pysendsAuthorization: Bearerwhen a key is present, and the sandbox profile has none — not the cause.readiness.pyuseshttp.client.HTTPConnection(host, port), which does not consultHTTP_PROXY; clearing the proxy env vars and re-running produced a byte-identical failure.Two things that did work as intended, for the record
components/.updates/state.jsonrecordsengine.failed."0.1.47"with the manifest sha256 and the reason, so the 600 s test is not repeated on every run.serve/server.pynever invokes the updater, so a start through the server directly does not stall; onlySTART-HERE.bat/UPDATE.batdo the (failing) test start.Happy to retest a candidate build or capture anything specific — say what to collect.
@github-actions[bot] commented on GitHub (Oct 22, 2026):
Thanks, this follows the format now.
@YifanShi commented on GitHub (Oct 22, 2026):
@bigolokevin-bit Thank you for independently reproducing this through the normal UPDATE.bat path on a different GPU setup. Your results help rule out my dual-GPU configuration, API key, proxy settings, and VRAM headroom as the cause.
I’m happy to test a candidate build or collect any additional logs the maintainers may need.
@ergotone commented on GitHub (Oct 22, 2026):
test-start-0.1.47.log
Same here, adding a third architecture: single NVIDIA RTX A3000 12GB Laptop GPU
(sm_86, Ampere), Windows 11, driver 597.16, i7-12700, 64 GB RAM. Zip install of
0.2.2, installed engine 0.1.43, target 0.1.47 cuda13, feed sequence 107.
Model IQ3_XXS: --max-context 32768 --kv int8 --spec 4 --mtp, vision on (CPU encoder).
Ran
strata.py update --no-control --forcethree times. After raising the page file(commit-limit warning) and --vram-reserve-mib 700 -> 1536, the staged engine loads
fully (
session is up (engine 0.1.47), 1302 MiB VRAM free) and the log stops there;startup_wait_expired after 600 s. Engine 0.1.43 serves the same config normally
through serve/server.py. Test-start log attached.
PS: the same 0.1.47 package runs fine when started directly through server.py