[GH-ISSUE #1709] [Windows 10][AMD RX 9070 XT][HIP] Strata 0.1.41 loads IQ3_XXS but crashes on every generation request #684

Closed
opened 2026-11-04 01:45:03 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @fifawot710-hub on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1709

<html> <html><head></head>

Summary

Strata 0.1.41 on Windows 10 with an AMD RX 9070 XT (gfx1201) successfully loads Qwen3.8-Flash-Next IQ3_XXS but fails on every generation request, including a minimal Hi request through the OpenAI-compatible API.

Depending on the environment settings, the engine crashes with 0xC0000005, fails during prefill, or returns verify: layer N never rang (graph finished ...).

No configuration tested so far has produced a successful response.

System configuration

Component | Specification -- | -- OS | Windows 10 CPU | AMD Ryzen 7 9800X3D GPU | AMD Radeon RX 9070 XT, 16 GB (gfx1201) RAM | 64 GB DDR5-6000 GPU driver | AMD Adrenalin 26.8.1 Strata | Engine 0.1.41, Windows HIP backend Model | Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS Context | 65,536 tokens KV cache | int8 Original speculative decoding | --spec 4 --spec-min-p 0.5

Steps to reproduce

  1. Install Strata using START-HERE.bat and select Qwen3.8-Flash-Next IQ3_XXS with the HIP backend.

  2. Wait until the model finishes loading and the server reports ready.

  3. Open the web UI and send a simple prompt, such as Hi.

  4. The engine terminates unexpectedly without producing a response.

The same behavior can be reproduced using the API:

{
  "model": "anything",
  "messages": [
    {"role": "user", "content": "Hi"}
  ],
  "max_tokens": 32,
  "stream": false
}

Expected: A normal generated response.

Actual: The engine crashes, or the API returns an error during verification.

Observed failures

1. Initial HIP access violation

With the original configuration:

prefill gemm: hipBLASLt tuning enabled (32 rows, gfx1201, version 100500)
strata serve: 296 MiB of VRAM free with everything loaded
Exception Code: 0xC0000005
amdhip64_7.dll ... hipModuleLoad()
libtensilelite-host.dll ... loadCodeObjectFile()
libhipblaslt.dll ... hipblasLtMatmul()

Windows reports exit code 3221225477.

2. After increasing VRAM reserve and changing BLAS settings

With --vram-reserve-mib 2048 and ROCBLAS_USE_HIPBLASLT=0:

strata serve: 1718 MiB of VRAM free with everything loaded
prefill mmq: mul_mat_q: unspecified launch failure

The engine exits with code 1.

3. After disabling MMQ prefill

With STRATA_PREFILL_MMQ=0:

prefill gemm: cublasGemmEx f16: cuBLAS status 6

Another run produced:

prefill gemm: cublasGemmEx f16 left unspecified launch failure

4. Direct API requests

A minimal Hi request fails with:

verify: layer 19 never rang (graph finished ...)

After changing --spec 4 to --spec 2, the error persists:

verify: layer 20 never rang (graph finished ...)

Troubleshooting already performed

  • Moved installation and model directories to ASCII-only paths to resolve an earlier file-loading problem.

  • Increased VRAM reserve from 700 to 2048 MiB.

  • Disabled hipBLASLt tuning using STRATA_HIPBLASLT_TUNING="".

  • Set ROCBLAS_USE_HIPBLASLT=0.

  • Disabled MMQ prefill using STRATA_PREFILL_MMQ=0.

  • Tested speculative decoding with --spec 4 and --spec 2.

  • Tested both the web UI and a direct PowerShell API request.

  • Confirmed that the model loads successfully, but generation does not complete.

All attempts failed. The specific error changes depending on the selected compute path.

Related issues

  • #1644 — Windows HIP with IQ3_XXS on RX 7900 XT; model loads, but generation fails.

  • #613 — RX 9070 XT with Adrenalin 26.8.1; GPU timeout during generation.

These reports have related symptoms but are not necessarily the same underlying bug.

Additional information

The installation uses the prebuilt Windows HIP engine with bundled ROCm libraries.

The model weights and expert cache initialize successfully. Approximately 39.97 GiB of experts are loaded into system RAM.

I can provide sanitized engine logs and run additional targeted diagnostic tests if needed.

Is this a known compatibility problem with the Windows HIP backend on gfx1201? Are there recommended diagnostic flags or a specific engine build that could help isolate the failing GPU operation?

</html> </html>
Originally created by @fifawot710-hub on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1709 <html> <body> <!--StartFragment--><html><head></head><body><h2><span>Summary</span></h2><p><span>Strata 0.1.41 on Windows 10 with an AMD RX 9070 XT (gfx1201) successfully loads Qwen3.8-Flash-Next IQ3_XXS but fails on every generation request, including a minimal </span><code><span>Hi</span></code><span> request through the OpenAI-compatible API.</span></p><p><span>Depending on the environment settings, the engine crashes with </span><code><span>0xC0000005</span></code><span>, fails during prefill, or returns </span><code><span>verify: layer N never rang (graph finished ...)</span></code><span>.</span></p><p><span>No configuration tested so far has produced a successful response.</span></p><h2><span>System configuration</span></h2> Component | Specification -- | -- OS | Windows 10 CPU | AMD Ryzen 7 9800X3D GPU | AMD Radeon RX 9070 XT, 16 GB (gfx1201) RAM | 64 GB DDR5-6000 GPU driver | AMD Adrenalin 26.8.1 Strata | Engine 0.1.41, Windows HIP backend Model | Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS Context | 65,536 tokens KV cache | int8 Original speculative decoding | --spec 4 --spec-min-p 0.5 <h2><span>Steps to reproduce</span></h2><ol start="1"><li><p><span>Install Strata using </span><code><span>START-HERE.bat</span></code><span> and select Qwen3.8-Flash-Next IQ3_XXS with the HIP backend.</span></p></li><li><p><span>Wait until the model finishes loading and the server reports </span><code><span>ready</span></code><span>.</span></p></li><li><p><span>Open the web UI and send a simple prompt, such as </span><code><span>Hi</span></code><span>.</span></p></li><li><p><span>The engine terminates unexpectedly without producing a response.</span></p></li></ol><p><span>The same behavior can be reproduced using the API:</span></p><pre><code><span>{ "model": "anything", "messages": [ {"role": "user", "content": "Hi"} ], "max_tokens": 32, "stream": false }</span></code></pre><p><strong><span>Expected:</span></strong><span> A normal generated response.</span></p><p><strong><span>Actual:</span></strong><span> The engine crashes, or the API returns an error during verification.</span></p><h2><span>Observed failures</span></h2><h3><span>1. Initial HIP access violation</span></h3><p><span>With the original configuration:</span></p><pre><code><span>prefill gemm: hipBLASLt tuning enabled (32 rows, gfx1201, version 100500) strata serve: 296 MiB of VRAM free with everything loaded Exception Code: 0xC0000005 amdhip64_7.dll ... hipModuleLoad() libtensilelite-host.dll ... loadCodeObjectFile() libhipblaslt.dll ... hipblasLtMatmul()</span></code></pre><p><span>Windows reports exit code </span><code><span>3221225477</span></code><span>.</span></p><h3><span>2. After increasing VRAM reserve and changing BLAS settings</span></h3><p><span>With </span><code><span>--vram-reserve-mib 2048</span></code><span> and </span><code><span>ROCBLAS_USE_HIPBLASLT=0</span></code><span>:</span></p><pre><code><span>strata serve: 1718 MiB of VRAM free with everything loaded prefill mmq: mul_mat_q: unspecified launch failure</span></code></pre><p><span>The engine exits with code 1.</span></p><h3><span>3. After disabling MMQ prefill</span></h3><p><span>With </span><code><span>STRATA_PREFILL_MMQ=0</span></code><span>:</span></p><pre><code><span>prefill gemm: cublasGemmEx f16: cuBLAS status 6</span></code></pre><p><span>Another run produced:</span></p><pre><code><span>prefill gemm: cublasGemmEx f16 left unspecified launch failure</span></code></pre><h3><span>4. Direct API requests</span></h3><p><span>A minimal </span><code><span>Hi</span></code><span> request fails with:</span></p><pre><code><span>verify: layer 19 never rang (graph finished ...)</span></code></pre><p><span>After changing </span><code><span>--spec 4</span></code><span> to </span><code><span>--spec 2</span></code><span>, the error persists:</span></p><pre><code><span>verify: layer 20 never rang (graph finished ...)</span></code></pre><h2><span>Troubleshooting already performed</span></h2><ul><li><p><span>Moved installation and model directories to ASCII-only paths to resolve an earlier file-loading problem.</span></p></li><li><p><span>Increased VRAM reserve from 700 to 2048 MiB.</span></p></li><li><p><span>Disabled hipBLASLt tuning using </span><code><span>STRATA_HIPBLASLT_TUNING=""</span></code><span>.</span></p></li><li><p><span>Set </span><code><span>ROCBLAS_USE_HIPBLASLT=0</span></code><span>.</span></p></li><li><p><span>Disabled MMQ prefill using </span><code><span>STRATA_PREFILL_MMQ=0</span></code><span>.</span></p></li><li><p><span>Tested speculative decoding with </span><code><span>--spec 4</span></code><span> and </span><code><span>--spec 2</span></code><span>.</span></p></li><li><p><span>Tested both the web UI and a direct PowerShell API request.</span></p></li><li><p><span>Confirmed that the model loads successfully, but generation does not complete.</span></p></li></ul><p><span>All attempts failed. The specific error changes depending on the selected compute path.</span></p><h2><span>Related issues</span></h2><ul><li><p><span>#1644 — Windows HIP with IQ3_XXS on RX 7900 XT; model loads, but generation fails.</span></p></li><li><p><span>#613 — RX 9070 XT with Adrenalin 26.8.1; GPU timeout during generation.</span></p></li></ul><p><span>These reports have related symptoms but are not necessarily the same underlying bug.</span></p><h2><span>Additional information</span></h2><p><span>The installation uses the prebuilt Windows HIP engine with bundled ROCm libraries.</span></p><p><span>The model weights and expert cache initialize successfully. Approximately 39.97 GiB of experts are loaded into system RAM.</span></p><p><span>I can provide sanitized engine logs and run additional targeted diagnostic tests if needed.</span></p><p><span>Is this a known compatibility problem with the Windows HIP backend on gfx1201? Are there recommended diagnostic flags or a specific engine build that could help isolate the failing GPU operation?</span></p></body></html><!--EndFragment--> </body> </html>
Author
Owner

@Niko1221 commented on GitHub (Oct 10, 2026):

Looking at the log: 296 MiB of VRAM free with everything loaded on a 16 GB card, then the access violation inside hipModuleLoad (hipBLASLt loading a code object needs VRAM). The 0.1.40.2 fix for Windows (an auto cache keeps a 2560 MiB reserve) only applied to cards reporting 16 GiB or more, and a 16 GB card reports 15.9 GiB. v0.1.42 lowers that limit to 15 GiB (we cannot run Windows AMD here, so this is a guard that compiles and passes its tests, not something we saw on a card). The later mul_mat_q 'unspecified launch failure' with 1.7 GB free is the same family as #1644 (both: IQ3_XXS native pack, context 65536 so setup turned KV streaming on, Windows HIP). Please test: 1) a 32K context (no --kv-resident), 2) STRATA_KV_HOST_DMA=1, 3) STRATA_PF_STEP_SYNC=1 and send the log lines, 4) the driver-reset notes in docs/TROUBLESHOOTING.md (Windows AMD: the driver resets).

<!-- gh-comment-id:6099703474 --> @Niko1221 commented on GitHub (Oct 10, 2026): Looking at the log: 296 MiB of VRAM free with everything loaded on a 16 GB card, then the access violation inside hipModuleLoad (hipBLASLt loading a code object needs VRAM). The 0.1.40.2 fix for Windows (an auto cache keeps a 2560 MiB reserve) only applied to cards reporting 16 GiB or more, and a 16 GB card reports 15.9 GiB. v0.1.42 lowers that limit to 15 GiB (we cannot run Windows AMD here, so this is a guard that compiles and passes its tests, not something we saw on a card). The later mul_mat_q 'unspecified launch failure' with 1.7 GB free is the same family as #1644 (both: IQ3_XXS native pack, context 65536 so setup turned KV streaming on, Windows HIP). Please test: 1) a 32K context (no --kv-resident), 2) STRATA_KV_HOST_DMA=1, 3) STRATA_PF_STEP_SYNC=1 and send the log lines, 4) the driver-reset notes in docs/TROUBLESHOOTING.md (Windows AMD: the driver resets).
Author
Owner

@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.

<!-- gh-comment-id:6156188739 --> @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](https://github.com/Niko1221/Strata/releases/tag/v0.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.
Author
Owner

@fifawot710-hub commented on GitHub (Oct 19, 2026):

Retested on Strata 0.1.44. I found a workaround for the minimal generation failure: adding --pcie-frac 0 makes Hi succeed on this Windows AMD system.

Same hardware: Windows 10 Pro 19045, Ryzen 7 9800X3D, RX 9070 XT 16 GB (gfx1201), 64 GB RAM. GPU driver: 32.0.31041.1004 (dated 2026-08-17). Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, existing native pack and MTP. No driver or registry changes were made.

I updated the engine and server to 0.1.44, removed the old diagnostic overrides, and used 32768 context, KV int8, no --kv-resident, expert cache auto, prefill auto. The new automatic 2560 MiB reserve is active; roughly 2.1–2.3 GiB of VRAM remained after loading. Both downloaded GGUF shards passed checksum verification at the model revision pinned by setup.

The requested STRATA_KV_HOST_DMA=1, then adding STRATA_PF_STEP_SYNC=1, did not resolve the short-request failure. After a Windows restart, these additional tests were run with fresh engine processes and the same Hi API request:

Test Result
--spec 4, empty env HTTP 400: verify: layer 23 never rang (graph finished)
Change only to --spec 2 Same error, layer 23
Keep spec 2; add only STRATA_VERIFY_TRACE=1 HTTP 400, now layer 16
Keep spec 2 and trace; add only --pcie-frac 0 HTTP 200: Hello! How can I help you today?

In the failing traced run, the host served layer 15. GPU breadcrumbs reached layer 15 VRAM hits(20), but there was no subsequent waitB(21), PCIe grp(22), waitCPU(23) or combine(24) marker. The log then reported verify: layer 16 never rang (graph finished) and HIP unspecified launch failure (719). No new Windows Display 4101 event occurred during these short-request tests.

The successful configuration was also verified through START-HERE.bat after updating the main installation, and I successfully sent a short Russian message through the web UI.

This points toward the expert transfer/staging path as a useful area to investigate, but it does not identify the exact failing kernel. Trace is still enabled in the working configuration. Long prompts and sustained generation have not yet been retested with --pcie-frac 0. Before this workaround, a longer synthetic prompt with DMA + PF step sync caused a Display 4101 driver reset; that log is included separately.

The attached archive contains sanitized engine logs, configs and exact synthetic API requests/results for the failing and successful runs. Could you reopen this for follow-up, or suggest one targeted test to narrow down the failure further?

strata-1709-evidence.zip

<!-- gh-comment-id:6265217014 --> @fifawot710-hub commented on GitHub (Oct 19, 2026): Retested on **Strata 0.1.44**. I found a workaround for the minimal generation failure: **adding `--pcie-frac 0` makes `Hi` succeed** on this Windows AMD system. Same hardware: Windows 10 Pro 19045, Ryzen 7 9800X3D, RX 9070 XT 16 GB (gfx1201), 64 GB RAM. GPU driver: `32.0.31041.1004` (dated 2026-08-17). Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, existing native pack and MTP. No driver or registry changes were made. I updated the engine and server to 0.1.44, removed the old diagnostic overrides, and used **32768 context, KV int8, no `--kv-resident`, expert cache auto, prefill auto**. The new automatic 2560 MiB reserve is active; roughly 2.1–2.3 GiB of VRAM remained after loading. Both downloaded GGUF shards passed checksum verification at the model revision pinned by setup. The requested `STRATA_KV_HOST_DMA=1`, then adding `STRATA_PF_STEP_SYNC=1`, did not resolve the short-request failure. After a Windows restart, these additional tests were run with fresh engine processes and the same `Hi` API request: | Test | Result | | --- | --- | | `--spec 4`, empty env | HTTP 400: `verify: layer 23 never rang (graph finished)` | | Change only to `--spec 2` | Same error, layer 23 | | Keep spec 2; add only `STRATA_VERIFY_TRACE=1` | HTTP 400, now layer 16 | | Keep spec 2 and trace; add only `--pcie-frac 0` | HTTP 200: `Hello! How can I help you today?` | In the failing traced run, the host served layer 15. GPU breadcrumbs reached layer 15 `VRAM hits(20)`, but there was no subsequent `waitB(21)`, `PCIe grp(22)`, `waitCPU(23)` or `combine(24)` marker. The log then reported `verify: layer 16 never rang (graph finished)` and HIP `unspecified launch failure` (719). No new Windows Display 4101 event occurred during these short-request tests. The successful configuration was also verified through `START-HERE.bat` after updating the main installation, and I successfully sent a short Russian message through the web UI. This points toward the expert transfer/staging path as a useful area to investigate, but it does **not** identify the exact failing kernel. **Trace is still enabled in the working configuration. Long prompts and sustained generation have not yet been retested with `--pcie-frac 0`.** Before this workaround, a longer synthetic prompt with DMA + PF step sync caused a Display 4101 driver reset; that log is included separately. The attached archive contains sanitized engine logs, configs and exact synthetic API requests/results for the failing and successful runs. Could you reopen this for follow-up, or suggest one targeted test to narrow down the failure further? [strata-1709-evidence.zip](https://github.com/user-attachments/files/33661588/strata-1709-evidence.zip)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#684
No description provided.