#6254 [Engine] Cold-boot first load of Qwen3.8-Flash-Next-Gyro-M crashes with 0xC0000005 on RX 9060 XT (gfx1200)
open · @Song-Bai-1 · 4 Kommentare · Auf GitHub
Setup & installAMD / HIPModels & quantsWindows
Beschreibung
**Title:** Cold-boot first load of Qwen3.8-Flash-Next-Gyro-M crashes with 0xC0000005 in amdhip64_7.dll / rocBLAS GEMM on RX 9060 XT (gfx1200); only the `--resident-budget-gib` retry succeeds ### Environment - Strata engine `0.1.60-windows-x86_64-hip-rx9070`, desktop app - GPU: AMD Radeon RX 9060 XT, **gfx1200 (RDNA4)**, 16 GB VRAM - Driver / runtime: `71726391` (bundled `amdhip64_7.dll` matches the system driver) - Windows 11, 55.9 GiB RAM, commit limit 78.9 GiB - Model: `Qwen3.8-Flash-Next-Gyro-M-TQ2_0` with Hadamard-folded expert pack + PLE table, 128K context - Install route: desktop app ### Steps to reproduce 1. Cold boot, first launch of the day 2. Load Gyro M directly (no prior model load) 3. Engine starts with `--pack / --native / --ple-gguf / --expert-cache auto --draft dflash2 --spec 6 --vision`, **no** `--resident-budget-gib` ### Expected Model loads fully into RAM/VRAM and serves, as it does on warm starts. ### Actual `Exception Code: 0xC0000005` (exit `3221225477`) on the first two attempts, always at the same point — right after: ``` strata generate: --ram-keep-gib 8.00: the expert arena is used only if ... ``` and **before** `warmed the BF16 and FP16 GEMM libraries`. The host then retries with MTP (same crash), then automatically adds `--resident-budget-gib 23`, which succeeds but puts 97% of lendable expert slots on the SSD (`FileExpertSource: ... 1657 of 1712 lendable slots (97%) will read their experts from the pack`). Crash stack (top = `amdhip64_7.dll`, then `rocblas.dll` `rocblas_internal_gemm_grouped_batched_ex_template`, `hipblas.dll`, `strata.exe`): ``` amdhip64_7.dll + 0x83A7FE hsa_system_get_major_extension_table() + 0x3AD1DE amdhip64_7.dll + 0x445785 hipProfilerRegisterChunkCallbackExt() + 0x9EF05 ... rocblas.dll rocblas_internal_gemm_grouped_batched_ex_template<...> hipblas.dll ``` ### Key diagnostic facts - **`strata-device.exe --selftest` passes**: arch gfx1200 wave32 (compiled for gfx1200,gfx1201), driver == runtime == `71726391`, `FITS`. HIP runtime layer is healthy. - The engine itself warns: `Hadamard-folded experts are validated end to end on gfx1151 and gfx1201 among AMD GPUs, not yet on gfx1200`. - **Warm-up workaround:** loading a plain GGUF model (Qwen3.6-35B-A3B UD-Q4_K_XL) first, then Gyro M, always succeeds. A second/third retry in the same session also eventually succeeds. So the crash is specific to the first GEMM-warmup code-object load on a cold GPU/RDNA4 state. - **Ruled out per TROUBLESHOOTING.md #654:** `HIP_PATH` / `HIP_DEVICE_LIB_PATH` / `LLVM_PATH` are all unset; `TEMP`/`TMP` point to a writable folder. Deleting `cl.cache` and moving TEMP to a fresh dir did not help. `STRATA_KV_HOST_DMA=1` and `STRATA_PF_STEP_SYNC=1` don't apply — the crash is at load time, before any prompt step. - No TDR/WHEA in Event Viewer, no minidump — it is an access violation, not a driver timeout. ### Log file and exact line ranges File: `C:\Users\bai\AppData\Local\Strata\install\strata-gyro-gyro-m.log` (774 lines, this repro session only — log was cleared before reproducing) | What | Lines | |---|---| | 1st crash stack (DFlash2) | **330–369** (crash at 330, stack through 368, auto-retry at 369) | | 2nd crash stack (MTP retry) | **396–435** (crash at 396, retry at 436) | | Successful `--resident-budget-gib 23` retry (SSD fallback) | **436–540** (session up 480, `session is up`; SSD warnings at 495–496) | | 3rd crash stack | **565–603** (crash at 565, retry at 604) | | 4th crash stack | **631–670** (crash at 631, retry at 671) | | Final successful budget retry | **671–774** (Warm GEMM at 710, `session is up` at 715) | The cleanest single example is **lines 306–369**: engine start → `--ram-keep-gib 8.00` → `0xC0000005` → full stack → auto-restart. gfx1200 warning line appears at 313, 377, 443, 548, 612, 678. <!-- Failed to upload "strata-gyro-gyro-m.json" --> <!-- Failed to upload "strata-gyro-gyro-m.log" --> <!-- Failed to upload "app-1.host.log" --> <!-- Failed to upload "app-1.server.log" -->
Mehr auf der Site
Links zu Install, Modellen, Releases.