mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4662] [Engine] 0.1.54: every ~10K-token prefill on a CUDA layer split kills the engine (layer-major launch failure; with it off, QSA step records upload failed) #2119
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#2119
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 @otimp2-bit on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4662
Problem: On engine 0.1.54 (compiled locally from the 0.2.8 checkout, commit
870aedd9), every request whose prefill reaches ~10K tokens kills the engine process (exit code 1), while short requests decode normally (~88 tok/s). Engine 0.1.48 on the same box, same model pack and same run args serves days of real agent traffic (prefill up to ~100K tokens, ~94% cache hits) without a crash.Environment:
update.sh(BUILD.json: source local, archs [75], vision gpu)--native--pack ~/Strata-data/packs/huihui-ud-q4kxl --native ~/gguf-q4kxl/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf --expert-profile ~/Strata-data/profile-learned.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.7 --mtp ~/Strata-data/mtp/rt --max-context 262144 --kv int8 --kv-resident 32768 --vision --vram-reserve-mib 1000 --expert-profile-save ~/Strata-data/profile-learned.bin --layer-split 32 --pipeline-windows 2 --batch-mtp --batch-groups 1serve/server.pyunder systemd; server envSTRATA_HC_Q8=1,STRATA_ROUTE_TAIL_SKIP=1; thinking on (the model's default)Reproduce:
./update.shat 0.2.8 with the server service stopped → engine 0.1.54 compiled locally; start the service; the model loads in ~4.5 min and/v1/modelsanswers 200./v1/chat/completionswith a 9,600-character Korean prompt (~10K tokens),max_tokens: 24,temperature: 0→ HTTP 400 and the engine exits with code 1; following requests get 503 until the engine restarts.Expected: the request completes — engine 0.1.48 completes 10K–100K-token prefills on these same args.
Actual: the engine process dies on every prefill past ~10K tokens. Exact errors per variant (each line is the engine's own report):
400 invalid request: prefill (layer-major): unspecified launch failureSTRATA_PREFILL_LAYER_MAJOR=0prefill: the QSA step records' upload failed, conversation-cache parking,CUDA1: 625 MiB of VRAM free with everything loaded--vram-reserve-mib 3000prefill (layer-major): unspecified launch failure--vram-reserve-mib 3000+--layer-split 36prefill: the QSA step records' upload failedShort requests passed in every variant; the ~10K prefill died in every 0.1.54 variant (5 crashes, then the 0.1.48 control healthy).
Observations (recorded, not presented as the cause):
625 MiBfree line names CUDA1, the 24 GB card.--vram-reserve-mibcontract), #2678 (closed; head dequant launch failure on sm_120) — none covers this crash.Evidence (verbatim log lines):
Reproduction status: reproduced locally — 4 config variants on 0.1.54 plus the 0.1.48 control, 6 for 6 as described above.
Happy to run candidate builds or capture longer logs on this box.
@rugabunda commented on GitHub (Oct 30, 2026):
im getting 10-40tok/s average less on 0.1.54 on 3080 ti compared to 0.1.53
@Niko1221 commented on GitHub (Oct 31, 2026):
We couldn't make this happen on two matching cards, but we found one way to get exactly this error: an engine built for only one kind of card (yours says sm_75, the TITAN RTX) and also run on a newer one (the 3080 is sm_86). On our test PC that engine failed every request with "unspecified launch failure".
In 0.2.9, setup builds the engine for every usable NVIDIA card in the PC, and the server prints one plain line at start when a card isn't covered. Please run
./update.shon 0.2.9 (it compiles again once, a few more minutes) and tell us if long prompts work. If the build then lists both sm_75 and sm_86 and it still fails, please send the engine log. We haven't confirmed this is your cause, so this stays open.