mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1644] Windows HIP (RX 7900 XT, gfx1100): every generation fails with "mtp prefill: unspecified launch failure" on a GSQ-RCO IQ3_XXS native pack (0.1.41 and 0.1.40.4) #662
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#662
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 @johnmiu on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1644
Summary
On Windows 11 with a Radeon RX 7900 XT (gfx1100), Strata loads the full IQ3_XXS model, serves
/v1/modelsand/health, and passesstrata-device --selftest— but no generation ever completes. The first request returns HTTP 400 with:The engine's own GPU kernel faults inside the MTP draft layer's prompt pass, about 0.5 s into the first request. The same fault reproduces with both engine 0.1.41 and 0.1.40.4 (identical symptom, identical final log line), so it does not look like a 0.1.41 regression.
Because a native (IQ) pack requires the MTP drafter, there is no configuration that reaches a generated token — the engine refuses to start without
--mtp/--spec:This is the same shape as #273 (gfx1100, Linux, 0.1.29 — "no working configuration"), now on Windows with the ready-made HIP engine.
Environment
HIP_VISIBLE_DEVICES=1, see below)32.0.31041.1004strata-windows-x64-hip.zip— tested at 0.1.41 and 0.1.40.4. Both report"rocm": "10.2.0a20260930","hipblaslt_version": 100500, archsgfx1100,gfx1101,gfx1102,gfx1200,gfx1201,gfx1030,gfx1151qwen, sizeIQ3_XXS(GSQ-RCO, ISTA-DASLab), context 65536, KV int8,--spec 4 --spec-min-p 0.5,--prefill auto,--expert-cache auto0.0.0.0:8080, API key setWhat works
IQ3_XXS needs ~60 GB RAM: fitsstrata-device --selftest(withHIP_VISIBLE_DEVICES=1):device 0: AMD Radeon RX 7900 XT→strata-device selftest OKexperts loaded: 39.97 GiB at 10.45 GiB/s,filling the GPU's expert cache (6601 experts, 10.68 GiB of VRAM),session is up (engine 0.1.41)/health,/v1/models,/v1/statusall correct; HTTP 401 without the key; reachable from the LANReproduce
START-HERE.bat --family qwen --model IQ3_XXS --host 0.0.0.0 --api-key <key> --yes(orserve/server.py --engine strata --config strata-iq3_xxs.json --port 8080with the config setup wrote)ready: http://127.0.0.1:8080/v1/v1/chat/completions, any prompt, any length — 12 tokens fails the same as anything else)Result: HTTP 400
mtp prefill: unspecified launch failure; the engine then exits (code 1) and the server restarts it (the engine had stopped (exit code 1); starting it again). Fully deterministic — every start that received a request failed at exactly the same point.Engine log at the failure
(engine 0.1.40.4 above; the 0.1.41 run is identical apart from the version string)
The shape of it: the prompt read completes, the verify window is captured successfully — including its upload and its sync (
upload no error, sync no error) — and then the draft layer's prompt pass is the first thing that faults. The server keeps reporting the model as loaded and keeps serving/v1/models; it is the engine that dies.Configurations tried — all fail identically at the same line
envwithSTRATA_HIPBLASLT_TUNINGremoved → plain hipBLAS for the prompt's dense products)STRATA_MTP_PREFILL_SYNC=1(the per-group loop, HIP's default) and=0(the E-4 batched queue)--vram-reserve-mib 6144— 5.9 GiB of VRAM free at the failure point instead of 2.2 GiBSTRATA_NO_BATCH_KV_STEP=1+STRATA_NO_MULTI_GR=1(the #783 per-token fallbacks)STRATA_STAGER_SSD=0,STRATA_HC_SPLIT=1,STRATA_PLE_BATCH=0--spec 2(a 4-token verify window) and--spec 4--prefill 4096and--prefill auto(8192)HIP_VISIBLE_DEVICES=1, so the 7900 XT is HIP device 0 — the engine logsGPU 0: AMD Radeon RX 7900 XT (gfx1100)and never mentions gfx1036)So it is not VRAM pressure, not the hipBLASLt table, not the prefill chunk size, not the verify-window size, and not device selection.
Notes
--prefill autopicks 8192 on this box; #1630 reports a Windows-HIP-7900-XTX problem at that chunk size, but--prefill 4096changes nothing for this fault.strata-iq3_xxs.log(~10 KB, every run retained) available on request.@Niko1221 commented on GitHub (Oct 10, 2026):
Reading the code: 'mtp prefill: unspecified launch failure' is a sticky error found at the stream sync of the draft layer's prompt pass, so any kernel of that pass can be the one that faulted. What is specific to this setup: context 65536 makes setup turn KV streaming on, and then the draft layer's own K/V ring keeps a pinned host copy that the append kernels write to directly (src/core/mtp.cpp, kv_append_*step with &st.host). STRATA_KV_HOST_DMA=1 (which moves that write to a DMA for the main model) does not cover the draft layer. Kernel writes into host memory over PCIe are what the Windows AMD driver-reset notes (#613) point at as well. We cannot test Windows AMD here, so a fix is not in v0.1.42. Please try: (a) setup again with a 32K context, or remove --kv-resident 32768 from the args: if that works it is this; (b) AMD_SERIALIZE_KERNEL=3 and HIP_LAUNCH_BLOCKING=1 in the env block: the log should then name the kernel. If (a) works we will give the draft layer the DMA path.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.