[GH-ISSUE #5478] [Engine] Windows RTX 3090 / 0.1.56: GPU lost during 620–1362-token batched prefill, also without lookup, correlated WHEA-17 #5447

Open
opened 2026-11-07 19:35:51 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @carabinshely on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5478

Area

Engine

Reproduction status

Reproduced locally in three separately recorded runs on one Windows RTX 3090. Two runs used suffix lookup; a later counterexample used no suffix, no prompt lookup and no lookup chain, with effective verify width 4. Root cause is not established.

We have stopped this experiment because each device-loss incident affects the shared GPU. We are submitting the retained evidence, not promising further reproductions or proposing a patch.

Desktop app, Terminal or source?

The official ready-made Windows CUDA 13 engine, served through serve/server.py from a pinned source checkout. Loopback only, one request at a time. A local wrapper checks resource ownership, records exact child identities, disables automatic engine restart, and drains its own server after terminal requests. The wrapper does not patch engine arithmetic.

Strata version

  • Release/source checkout: v0.2.10, ffa80d73133ea5c548aefe57889a16e8085a938f.
  • Ready-made engine: 0.1.56, build 06698c674673+cuda13.0; its binary-build source is 06698c674673008395ba6e971580538d6b1ea6e0, not the checkout SHA above.
  • Executable SHA256: 7bc94d1decd1eecbea5b95128013e2cc8be99cd62e6be64b87a007e9386dcde3.
  • We have not tested 0.2.11 / engine 0.1.57.

Graphics card, memory and system

  • One RTX 3090 24 GiB, sm_86, PCIe 4.0 x16 maximum.
  • Core i9-13900K, 128 GiB RAM, Windows 11 Pro.
  • Read-only post-run OS API reports 10.0.26300.0; kernel-file version is 10.0.26100.9711. These are reported separately rather than conflated.
  • NVIDIA driver modules in the retained A1 process minidump: nvcuda.dll / nvcuda64.dll 32.0.16.2114; the live signed-driver inventory also reported that version. The initial earlier inventory reported 617.42, so historical driver-version provenance is not fully reconciled. No driver changes were made by this experiment.
  • Loaded packaged cublas64_13.dll / cublasLt64_13.dll: file version 6.14.11.1302.
  • Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_XXS, revision ed59f92082b1e93c0e96d60a8b11aab089b52f09, two native GGUF shards; PLE table on a SATA SSD. Full weight hashes were verified before execution.
  • MTP: Q2_0 draft pack, default CJK vocabulary, about 791 MiB draft weights plus 178.4 MiB head.
  • We did not use gpu-unlock or change firmware, power limits, drivers or system security for these runs. A full hardware/driver fault has not been ruled out.

Steps to reproduce / observed request sequence

This describes actual recorded runs, not a guarantee that the failure occurs on every machine or every launch.

Common engine arguments, with local paths replaced by roles:

strata.exe --serve
  --pack <PACK> --native <SHARD_1> --ple-gguf <SHARD_2>
  --expert-profile <PROFILE> --expert-cache 8192
  --vram-reserve-mib 2048 --prefill 256 --pool-workers 15
  --spec 4 --max-context 2048 --kv int8 --ple-io direct
  --conversation-cache-mib 0 --mtp <MTP_RUNTIME>

Environment explicitly set CUDA_VISIBLE_DEVICES=0, STRATA_IQ_MT_MIN=1. No vision, layer split or batch mode. CPU prefill share and the logged Ampere speed defaults were left at their defaults. We did not select explicit --pcie-mode dma.

  1. Lookup run 1 and run 2: append --suffix-draft 3 --lookup-chain 0 --lookup-max-t 4. Send short synthetic arithmetic, typed JSON, Python-code and explanatory-prose requests, then a repeated-paragraph request. The first four requests succeeded; the fifth had 620 actual input tokens, output cap 256, and failed during prefill. The second run followed a user-performed reboot and verified cleanup of the first run.
  2. No-lookup counterexample: append --suffix-draft 0 --lookup-chain 0 --lookup-max-t 0. Startup confirms verify width 4. Send a synthetic hash-table explanation (40 input / 512 output, length-truncated), then a dependency-reasoning JSON task (100 input / 42 output, correct), then synthetic inventory retrieval (1362 actual input tokens, output cap 128). The third request lost the GPU while reading its prompt. No request after this failure was dispatched.

The lookup configuration actually allocated a six-token verifier, despite the requested spec 4 and lookup-max-t 4. We preserve that difference rather than calling those runs a matched-width comparison. The no-lookup counterexample establishes that suffix/lookup and width >4 are not necessary conditions for the observed device loss.

Expected behavior

Requests complete, or the engine returns a contained error without making the physical GPU inaccessible to NVIDIA and unrelated users.

Actual behavior and chronology (2026-11-06, UTC)

Run Observed failure Device / Windows evidence
Lookup 1 prefill gemm: cublasGemmEx f16: cuBLAS status 13, engine exit 1, terminal API error Last healthy sample 09:42:40.202; first failed NVML sample 09:42:45.358. No corresponding WHEA event was captured for this attempt; do not infer the same low-level record as the later runs.
Lookup 2 Prefill stalls at attention/router layer 2, chunk starting at token 256; native 60-second watchdog aborts with exit 3221226505 WHEA-17 at 10:10:46.2438775, actual GPU parent root port; first failed NVML sample starts 10:10:46.606.
No lookup Prefill stalls at attention/router layer 2, chunk starting at token 512; same watchdog exit 3221226505 WHEA-17 at 18:10:49.6374375, same parent port; first failed NVML sample starts 18:10:48.884515.

Telemetry timestamps mark sample start, not the exact end of an NVML call; subsecond causal ordering is not established. In the latter two incidents, the device-access failure was observed approximately a minute before watchdog termination, not caused by an agent killing the engine.

Sanitized log excerpts:

Unable to determine the device handle for GPU0: 0000:01:00.0: GPU is lost.
Reboot the system to recover this GPU
No devices were found

reading the prompt (batched): waiting for the GPU (attention, router)
at layer 2 of the prompt chunk from token 512

strata: released the verify window's GPU waits (#267):
the GPU finished in 0 ms

That last message was emitted after the loss; it did not restore NVML availability. The #267 wait-release fix is already in this build and is not sufficient evidence of recovery.

Exact-build src/prefill/prefill.cpp:4715-4720 sets that stage before an unchecked cudaStreamSynchronize(m.cs); it can wait for preceding-layer work too. This is a synchronization observation point, not identification of a faulty attention kernel. Likewise, the stall report's “last verify window” describes a previous window, not necessarily the failing prefill operation.

WHEA evidence: correlated PCIe error, not a proven defective component

Read-only PnP mapping identifies Intel 8086:A70D, root port 0000:00:01.0, as the parent of the RTX 3090 at 0000:01:00.0.

Both captured events are WHEA-Logger event 17, corrected PCI Express/AER reports:

  • Lookup 2: UncorrectableErrorStatus=0x4000, CorrectableErrorStatus=0x2041.
  • No lookup: UncorrectableErrorStatus=0x4000, CorrectableErrorStatus=0x2001.

The status register includes completion-timeout status. Bad-TLP is present in 0x2041, not in 0x2001; we do not copy that claim to the no-lookup incident. Event severity remains “corrected.” No numeric NVIDIA Xid 79, fatal WHEA, or proof of a defective card/slot/PSU was captured.

Sampled resources

Run Peak VRAM / 24576 MiB Peak GPU core temperature Peak board power Minimum available host RAM
Lookup 1 22282 MiB 50.34 C 258.53 W 43.10 GiB
Lookup 2 22263 MiB 51.47 C 338.10 W 54.20 GiB
No lookup 22499 MiB 52.97 C 335.91 W 57.70 GiB

No-lookup startup reported 28.4 GiB commit headroom; the failing request began with 1377 MiB free VRAM. Post-capacity admission had passed 85 GiB free commit / 64 GiB available RAM before loading. The actual expert cache was 9861 experts / 15.99 GiB; --expert-cache 8192 is a largest-blob byte budget, not a fixed resident-expert count.

There was no ordinary OOM error or observed GPU-core overheating. Sampling does not exclude transient allocations, PSU/power spikes, memory-junction temperature, link instability or driver faults. Device-global samples are not per-process attribution.

Controls, cleanup and limits

  • Earlier no-lookup A0, MTP A1 and FP16-KV A3 each completed 15 short requests; the old largest input was 620 tokens. This does not establish stability at larger input lengths or on every process history.
  • A later tiny no-lookup arithmetic diagnostic passed (31 input / 4 output, 65 healthy NVML samples). It did not predict the subsequent multi-chunk prefill failure.
  • Cooperating GPU computation was serialized; no competing compute was identified at admission. Continuous complete GPU process history was not captured, so bypass interference cannot be categorically excluded.
  • One early suite bug attempted the next distinct request after the first device loss; its live guard refused engine restart before process creation. That bug cannot explain the preceding loss. The corrected fail-stop logic stopped both later suites on the first terminal error.
  • All owned engine/server identities ended; the server drained with zero cancelled requests. NVIDIA remained unavailable, so resource release correctly stayed blocked until user-performed reboot and same-reservation reconciliation. Latest cleanup is verified released.
  • Native thread-stack dumps and raw logs remain local. Module metadata is available, but no exception stream/faulting kernel was established. No private paths, conversation content or raw dumps are uploaded here.
  • A separate bounded driver-copy-only probe later completed 8 rounds of 4 MiB transfer checks, followed by verified cleanup. This was not a stress/stability test, did not execute Strata, and does not test the GPU kernel reading a mapped host alias.
  • Further proposed differentials/instrumentation were stopped by the owner. Not run, not failed/passed controls. We will not run more reproductions or apply patches as part of this report.
  • #267: near-identical Windows device-lost aftermath, but an older verifier-wait issue. Its wait-release fix is already present here.
  • #5241: same RTX 3090 / engine 0.1.56, but Linux and approximately 64k-token/KV-streaming workloads; ours fails at 620–1362 input tokens.
  • #5311: mapped-host PCIe expert-copy hypothesis on a gpu-unlock Linux RTX 3090. We did not use gpu-unlock; its cause is not established for our environment.
  • #5093 / #5096: explicit DMA completion-ordering issue and proposed patch. We did not select DMA, and do not claim that mechanism caused these failures or that DMA is a safe workaround.
  • #161: a short request passing before a batched-prefill cuBLAS-13 failure, on different hardware/driver/container setup.

Requested outcome

Please triage this Windows/RTX3090/0.1.56 evidence against known prefill, mapped-host-memory and driver failure reports. Is there an existing issue or a confirmed subsequent fix covering this combination? We are not asserting an engine, driver or hardware root cause, or requesting that defaults be changed based on this report.

AI-assisted collection and writing; the statements above were checked against retained run logs, telemetry, WHEA XML, cleanup records and module metadata.

Originally created by @carabinshely on GitHub (Nov 7, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5478 ## Area Engine ## Reproduction status Reproduced locally in three separately recorded runs on one Windows RTX 3090. Two runs used suffix lookup; a later counterexample used **no suffix, no prompt lookup and no lookup chain**, with effective verify width 4. Root cause is **not established**. We have stopped this experiment because each device-loss incident affects the shared GPU. We are submitting the retained evidence, not promising further reproductions or proposing a patch. ## Desktop app, Terminal or source? The official ready-made Windows CUDA 13 engine, served through `serve/server.py` from a pinned source checkout. Loopback only, one request at a time. A local wrapper checks resource ownership, records exact child identities, disables automatic engine restart, and drains its own server after terminal requests. The wrapper does not patch engine arithmetic. ## Strata version - Release/source checkout: **v0.2.10**, `ffa80d73133ea5c548aefe57889a16e8085a938f`. - Ready-made engine: **0.1.56**, build `06698c674673+cuda13.0`; its **binary-build source** is `06698c674673008395ba6e971580538d6b1ea6e0`, not the checkout SHA above. - Executable SHA256: `7bc94d1decd1eecbea5b95128013e2cc8be99cd62e6be64b87a007e9386dcde3`. - We have **not** tested 0.2.11 / engine 0.1.57. ## Graphics card, memory and system - One **RTX 3090 24 GiB, sm_86**, PCIe 4.0 x16 maximum. - Core i9-13900K, 128 GiB RAM, Windows 11 Pro. - Read-only post-run OS API reports `10.0.26300.0`; kernel-file version is `10.0.26100.9711`. These are reported separately rather than conflated. - NVIDIA driver modules in the retained A1 process minidump: `nvcuda.dll` / `nvcuda64.dll` **32.0.16.2114**; the live signed-driver inventory also reported that version. The initial earlier inventory reported **617.42**, so historical driver-version provenance is not fully reconciled. No driver changes were made by this experiment. - Loaded packaged `cublas64_13.dll` / `cublasLt64_13.dll`: file version **6.14.11.1302**. - Model: **ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_XXS**, revision `ed59f92082b1e93c0e96d60a8b11aab089b52f09`, two native GGUF shards; PLE table on a SATA SSD. Full weight hashes were verified before execution. - MTP: Q2_0 draft pack, default CJK vocabulary, about 791 MiB draft weights plus 178.4 MiB head. - We did not use gpu-unlock or change firmware, power limits, drivers or system security for these runs. A full hardware/driver fault has not been ruled out. ## Steps to reproduce / observed request sequence This describes actual recorded runs, not a guarantee that the failure occurs on every machine or every launch. Common engine arguments, with local paths replaced by roles: ```text strata.exe --serve --pack <PACK> --native <SHARD_1> --ple-gguf <SHARD_2> --expert-profile <PROFILE> --expert-cache 8192 --vram-reserve-mib 2048 --prefill 256 --pool-workers 15 --spec 4 --max-context 2048 --kv int8 --ple-io direct --conversation-cache-mib 0 --mtp <MTP_RUNTIME> ``` Environment explicitly set `CUDA_VISIBLE_DEVICES=0`, `STRATA_IQ_MT_MIN=1`. No vision, layer split or batch mode. CPU prefill share and the logged Ampere speed defaults were left at their defaults. We did not select explicit `--pcie-mode dma`. 1. **Lookup run 1 and run 2:** append `--suffix-draft 3 --lookup-chain 0 --lookup-max-t 4`. Send short synthetic arithmetic, typed JSON, Python-code and explanatory-prose requests, then a repeated-paragraph request. The first four requests succeeded; the fifth had **620 actual input tokens**, output cap 256, and failed during prefill. The second run followed a user-performed reboot and verified cleanup of the first run. 2. **No-lookup counterexample:** append `--suffix-draft 0 --lookup-chain 0 --lookup-max-t 0`. Startup confirms **verify width 4**. Send a synthetic hash-table explanation (40 input / 512 output, length-truncated), then a dependency-reasoning JSON task (100 input / 42 output, correct), then synthetic inventory retrieval (**1362 actual input tokens**, output cap 128). The third request lost the GPU while reading its prompt. No request after this failure was dispatched. The lookup configuration actually allocated a **six-token verifier**, despite the requested spec 4 and lookup-max-t 4. We preserve that difference rather than calling those runs a matched-width comparison. The no-lookup counterexample establishes that suffix/lookup and width >4 are **not necessary conditions** for the observed device loss. ## Expected behavior Requests complete, or the engine returns a contained error without making the physical GPU inaccessible to NVIDIA and unrelated users. ## Actual behavior and chronology (2026-11-06, UTC) | Run | Observed failure | Device / Windows evidence | | --- | --- | --- | | Lookup 1 | `prefill gemm: cublasGemmEx f16: cuBLAS status 13`, engine exit 1, terminal API error | Last healthy sample 09:42:40.202; first failed NVML sample 09:42:45.358. No corresponding WHEA event was captured for this attempt; do not infer the same low-level record as the later runs. | | Lookup 2 | Prefill stalls at attention/router layer 2, chunk starting at token 256; native 60-second watchdog aborts with exit **3221226505** | WHEA-17 at **10:10:46.2438775**, actual GPU parent root port; first failed NVML sample starts 10:10:46.606. | | No lookup | Prefill stalls at attention/router layer 2, chunk starting at token 512; same watchdog exit **3221226505** | WHEA-17 at **18:10:49.6374375**, same parent port; first failed NVML sample starts 18:10:48.884515. | Telemetry timestamps mark sample start, not the exact end of an NVML call; subsecond causal ordering is not established. In the latter two incidents, the device-access failure was observed approximately a minute **before** watchdog termination, not caused by an agent killing the engine. Sanitized log excerpts: ```text Unable to determine the device handle for GPU0: 0000:01:00.0: GPU is lost. Reboot the system to recover this GPU No devices were found reading the prompt (batched): waiting for the GPU (attention, router) at layer 2 of the prompt chunk from token 512 strata: released the verify window's GPU waits (#267): the GPU finished in 0 ms ``` That last message was emitted **after** the loss; it did not restore NVML availability. The #267 wait-release fix is already in this build and is not sufficient evidence of recovery. Exact-build `src/prefill/prefill.cpp:4715-4720` sets that stage before an unchecked `cudaStreamSynchronize(m.cs)`; it can wait for preceding-layer work too. This is a synchronization observation point, **not identification of a faulty attention kernel**. Likewise, the stall report's “last verify window” describes a previous window, not necessarily the failing prefill operation. ## WHEA evidence: correlated PCIe error, not a proven defective component Read-only PnP mapping identifies Intel **8086:A70D**, root port **0000:00:01.0**, as the parent of the RTX 3090 at **0000:01:00.0**. Both captured events are **WHEA-Logger event 17, corrected PCI Express/AER reports**: - Lookup 2: `UncorrectableErrorStatus=0x4000`, `CorrectableErrorStatus=0x2041`. - No lookup: `UncorrectableErrorStatus=0x4000`, `CorrectableErrorStatus=0x2001`. The status register includes completion-timeout status. **Bad-TLP is present in 0x2041, not in 0x2001**; we do not copy that claim to the no-lookup incident. Event severity remains “corrected.” No numeric NVIDIA Xid 79, fatal WHEA, or proof of a defective card/slot/PSU was captured. ## Sampled resources | Run | Peak VRAM / 24576 MiB | Peak GPU core temperature | Peak board power | Minimum available host RAM | | --- | ---: | ---: | ---: | ---: | | Lookup 1 | 22282 MiB | 50.34 C | 258.53 W | 43.10 GiB | | Lookup 2 | 22263 MiB | 51.47 C | 338.10 W | 54.20 GiB | | No lookup | 22499 MiB | 52.97 C | 335.91 W | 57.70 GiB | No-lookup startup reported 28.4 GiB commit headroom; the failing request began with **1377 MiB free VRAM**. Post-capacity admission had passed **85 GiB free commit / 64 GiB available RAM** before loading. The actual expert cache was **9861 experts / 15.99 GiB**; `--expert-cache 8192` is a largest-blob byte budget, not a fixed resident-expert count. There was no ordinary OOM error or observed GPU-core overheating. Sampling does not exclude transient allocations, PSU/power spikes, memory-junction temperature, link instability or driver faults. Device-global samples are not per-process attribution. ## Controls, cleanup and limits - Earlier no-lookup A0, MTP A1 and FP16-KV A3 each completed 15 short requests; the old largest input was 620 tokens. This does **not** establish stability at larger input lengths or on every process history. - A later tiny no-lookup arithmetic diagnostic passed (31 input / 4 output, 65 healthy NVML samples). It did not predict the subsequent multi-chunk prefill failure. - Cooperating GPU computation was serialized; no competing compute was identified at admission. Continuous complete GPU process history was not captured, so bypass interference cannot be categorically excluded. - One early suite bug attempted the next distinct request **after** the first device loss; its live guard refused engine restart before process creation. That bug cannot explain the preceding loss. The corrected fail-stop logic stopped both later suites on the first terminal error. - All owned engine/server identities ended; the server drained with zero cancelled requests. NVIDIA remained unavailable, so resource release correctly stayed blocked until user-performed reboot and same-reservation reconciliation. Latest cleanup is verified released. - Native thread-stack dumps and raw logs remain local. Module metadata is available, but no exception stream/faulting kernel was established. No private paths, conversation content or raw dumps are uploaded here. - A separate bounded driver-copy-only probe later completed **8 rounds of 4 MiB transfer checks**, followed by verified cleanup. This was not a stress/stability test, did not execute Strata, and does not test the GPU kernel reading a mapped host alias. - Further proposed differentials/instrumentation were stopped by the owner. **Not run**, not failed/passed controls. We will not run more reproductions or apply patches as part of this report. ## Related reports and why this is a separate data point - #267: near-identical Windows device-lost aftermath, but an older verifier-wait issue. Its wait-release fix is already present here. - #5241: same RTX 3090 / engine 0.1.56, but Linux and approximately 64k-token/KV-streaming workloads; ours fails at 620–1362 input tokens. - #5311: mapped-host PCIe expert-copy hypothesis on a gpu-unlock Linux RTX 3090. We did not use gpu-unlock; its cause is not established for our environment. - #5093 / #5096: explicit DMA completion-ordering issue and proposed patch. We did not select DMA, and do not claim that mechanism caused these failures or that DMA is a safe workaround. - #161: a short request passing before a batched-prefill cuBLAS-13 failure, on different hardware/driver/container setup. ## Requested outcome Please triage this Windows/RTX3090/0.1.56 evidence against known prefill, mapped-host-memory and driver failure reports. Is there an existing issue or a **confirmed** subsequent fix covering this combination? We are not asserting an engine, driver or hardware root cause, or requesting that defaults be changed based on this report. AI-assisted collection and writing; the statements above were checked against retained run logs, telemetry, WHEA XML, cleanup records and module metadata.
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#5447
No description provided.