[GH-ISSUE #1569] Strata v0.1.41 - AMD/HIP RX 9070 XT (gfx1201), Ubuntu 26.04.1 - the engine stopped unexpectedly (exit code -6) #627

Closed
opened 2026-11-04 01:44:37 +07:00 by bsakaguchi · 14 comments
Owner

Originally created by @CAarset on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1569

Similar to https://github.com/Niko1221/Strata/issues/579 - short prompt works correctly, long prompt errors out after some thinking:

the engine stopped unexpectedly (exit code -6)

Fresh Strata install v0.1.41, running ./setup.sh choosing all defaults. Ran via DeepSeek Harness (manually setting context size same as Strata served context size).

sudo dmesg | grep -i -E 'killed process|out of memory' prints empty; sudo dmesg -T | grep -iE "amdgpu|timeout|MES|reset|fault" prints

[Thu Oct 8 15:49:38 2026] pid_max: default: 32768 minimum: 301
[Thu Oct 8 15:49:38 2026] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[Thu Oct 8 15:49:39 2026] iommu: Default domain type: Translated
[Thu Oct 8 15:49:39 2026] NetLabel: unlabeled traffic allowed by default
[Thu Oct 8 15:49:39 2026] PCI: CLS 64 bytes, default 64
[Thu Oct 8 15:49:39 2026] workingset: timestamp_bits=36 max_order=23 bucket_order=0
[Thu Oct 8 15:49:39 2026] Estimated ratio of average max frequency by base frequency (times 1024): 1086
[Thu Oct 8 15:49:39 2026] x86/amd: Previous system reset reason [0x00080800]: software wrote 0x6 to reset control register 0xCF9
[Thu Oct 8 15:49:39 2026] systemd[1]: Queued start job for default target initrd.target.
[Thu Oct 8 15:49:39 2026] systemd-journald[244]: Collecting audit messages is disabled.
[Thu Oct 8 15:49:39 2026] nvme nvme0: 16/0/0 default/read/poll queues
[Thu Oct 8 15:50:15 2026] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[Thu Oct 8 15:50:15 2026] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[Thu Oct 8 15:50:15 2026] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[Thu Oct 8 15:50:15 2026] systemd[1]: Listening on systemd-factory-reset.socket - Factory Reset Management.
[Thu Oct 8 15:50:15 2026] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[Thu Oct 8 15:50:15 2026] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[Thu Oct 8 15:50:15 2026] systemd-journald[2384]: Collecting audit messages is disabled.
[Thu Oct 8 15:50:15 2026] r8169 0000:07:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[Thu Oct 8 15:50:15 2026] r8169 0000:0a:00.0 eth1: jumbo features [frames: 16362 bytes, tx checksumming: ko]
[Thu Oct 8 15:50:16 2026] amdgpu: Virtual CRAT table created for CPU
[Thu Oct 8 15:50:16 2026] amdgpu: Topology: Add CPU node
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: enabling device (0006 -> 0007)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: initializing kernel modesetting (IP DISCOVERY 0x1002:0x7550 0x1EAE:0x8811 0xC0).
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: register mmio base: 0xF6D00000
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: register mmio size: 524288
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 0 <common_v1_0_0> (soc24_common)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 1 <gmc_v12_0_0> (gmc_v12_0)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 2 <ih_v7_0_0> (ih_v7_0)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 3 <psp_v14_0_0> (psp)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 4 <smu_v14_0_0> (smu)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 5 <dce_v1_0_0> (dm)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 6 <gfx_v12_0_0> (gfx_v12_0)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 7 <sdma_v7_0_0> (sdma_v7_0)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 8 <vcn_v5_0_0> (vcn_v5_0_0)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 9 <jpeg_v5_0_0> (jpeg_v5_0_0)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 10 <mes_v12_0_0> (mes_v12_0)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: Fetched VBIOS from VFCT
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] ATOM BIOS: 113-EXT108828-100
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: vgaarb: deactivate vga console
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: Trusted Memory Zone (TMZ) feature not supported
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: MEM ECC is not presented.
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: SRAM ECC is not presented.
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: VRAM: 16304M 0x0000008000000000 - 0x00000083FAFFFFFF (16304M used)
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] Detected VRAM RAM=16304M, BAR=16384M
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] RAM width 256bits GDDR6
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: 16304M of VRAM memory ready
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: 15576M of GTT memory ready.
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] GART: num cpu pages 131072, num gpu pages 131072
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] PCIE GART of 512M enabled (table at 0x00000083DAB00000).
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] Loading DMUB firmware via PSP: version=0x0A000800
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [VCN instance 0] Found VCN firmware Version ENC: 1.12 DEC: 9 VEP: 0 Revision: 15
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: MES: vmid_mask_mmhub 0x0000ff00, vmid_mask_gfxhub 0x0000ff00
[Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: MES: gfx_hqd_mask 0x000000fe, compute_hqd_mask 0x0000000c, sdma_hqd_mask 0x000000fc
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: RAP: optional rap ta ucode is not available
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: smu driver if version = 0x0000002e, smu fw if version = 0x00000033, smu fw program = 0, smu fw version = 0x00684c00 (104.76.0)
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: SMU is initialized successfully!
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] Display Core v3.2.369 initialized on DCN 4.0.1
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-HDMI FRL PCON supported
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DMUB hardware initialized: version=0x0A000800
[Thu Oct 8 15:50:17 2026] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-1: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-2: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-3: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] HDMI-A-1: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: program CP_MES_CNTL : 0x4000000
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: program CP_MES_CNTL : 0xc000000
[Thu Oct 8 15:50:17 2026] amdgpu: Virtual CRAT table created for GPU
[Thu Oct 8 15:50:17 2026] amdgpu: Topology: Add GPU node [0x1002:0x7550]
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: SE 4, SH per SE 2, CU per SH 8, active_cu_number 64
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring sdma0 uses VM inv eng 9 on hub 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring sdma1 uses VM inv eng 10 on hub 0
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring vcn_unified_0 uses VM inv eng 0 on hub 8
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring jpeg_dec uses VM inv eng 1 on hub 8
[Thu Oct 8 15:50:17 2026] amdgpu: HMM registered 16304MB device memory
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: Using BACO for runtime pm
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] Registered 4 planes with drm panic
[Thu Oct 8 15:50:17 2026] [drm] Initialized amdgpu 3.64.0 for 0000:03:00.0 on minor 1
[Thu Oct 8 15:50:17 2026] fbcon: amdgpudrmfb (fb0) is primary device
[Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[Thu Oct 8 15:53:45 2026] workqueue: svm_range_restore_work [amdgpu] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
[Thu Oct 8 15:54:44 2026] workqueue: svm_range_restore_work [amdgpu] hogged CPU for >10000us 5 times, consider switching to WQ_UNBOUND
[Thu Oct 8 15:54:46 2026] audit: type=1400 audit(1791467686.653:254): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=9548 comm="(ubuntu-insigh)" requested="userns_create" target="unprivileged_userns" execpath="/usr/lib/systemd/systemd-executor"
[Thu Oct 8 15:54:47 2026] workqueue: svm_range_restore_work [amdgpu] hogged CPU for >10000us 7 times, consider switching to WQ_UNBOUND
[Thu Oct 8 15:55:56 2026] workqueue: amdgpu_gfx_profile_idle_work_handler [amdgpu] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
[Thu Oct 8 15:57:46 2026] audit: type=1400 audit(1791467866.621:257): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=10313 comm="(ubuntu-insigh)" requested="userns_create" target="unprivileged_userns" execpath="/usr/lib/systemd/systemd-executor"

My Strata log: strata-q2_0.log

amd-smi after Strata errored:

+------------------------------------------------------------------------------+
| AMD-SMI 27.1.0+7da43026 |
| OS kernel Version: 7.0.0-38-generic |
| ROCm Version: 10.1.0 |
| VBIOS Version: 00131164 |
| Platform: Linux Baremetal |
|-------------------------------------+----------------------------------------|
| BDF GPU-Name | Mem-Uti Temp UEC Power-Usage |
| GPU HIP-ID OAM-ID Partition-Mode | GFX-Uti Fan Mem-Usage |
|=====================================+========================================|
| 0000:03:00.0 AMD Radeon RX 9070 XT | 0 % 32 °C 0 10/340 W |
| 0 0 N/A N/A | 4 % 0.0 % 572/16304 MB |
+-------------------------------------+----------------------------------------+
+------------------------------------------------------------------------------+
| Processes: |
| GPU PID Process Name GTT_MEM VRAM_MEM MEM_USAGE CU % SDMA |
|==============================================================================|
| No running processes found |
+------------------------------------------------------------------------------+

amd-smi after restarting Strata (./setup.sh):

+------------------------------------------------------------------------------+
| AMD-SMI 27.1.0+7da43026 |
| OS kernel Version: 7.0.0-38-generic |
| ROCm Version: 10.1.0 |
| VBIOS Version: 00131164 |
| Platform: Linux Baremetal |
|-------------------------------------+----------------------------------------|
| BDF GPU-Name | Mem-Uti Temp UEC Power-Usage |
| GPU HIP-ID OAM-ID Partition-Mode | GFX-Uti Fan Mem-Usage |
|=====================================+========================================|
| 0000:03:00.0 AMD Radeon RX 9070 XT | 0 % 32 °C 0 11/340 W |
| 0 0 N/A N/A | 5 % 0.0 % 16236/16304 MB |
+-------------------------------------+----------------------------------------+
+------------------------------------------------------------------------------+
| Processes: |
| GPU PID Process Name GTT_MEM VRAM_MEM MEM_USAGE CU % SDMA |
|==============================================================================|
| 0 12769 strata 7.9 MB 14.9 GB 15.2 GB N/A 0 us |
+------------------------------------------------------------------------------+

As per my understanding of https://github.com/Niko1221/Strata/issues/579, I should need no specific environment variables to make this work, but I'm willing to test whatever configuration.

Originally created by @CAarset on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1569 Similar to https://github.com/Niko1221/Strata/issues/579 - short prompt works correctly, long prompt errors out after some thinking: > the engine stopped unexpectedly (exit code -6) Fresh Strata install `v0.1.41`, running `./setup.sh` choosing all defaults. Ran via DeepSeek Harness (manually setting context size same as Strata served context size). `sudo dmesg | grep -i -E 'killed process|out of memory'` prints empty; `sudo dmesg -T | grep -iE "amdgpu|timeout|MES|reset|fault"` prints > [Thu Oct 8 15:49:38 2026] pid_max: default: 32768 minimum: 301 > [Thu Oct 8 15:49:38 2026] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter. > [Thu Oct 8 15:49:39 2026] iommu: Default domain type: Translated > [Thu Oct 8 15:49:39 2026] NetLabel: unlabeled traffic allowed by default > [Thu Oct 8 15:49:39 2026] PCI: CLS 64 bytes, default 64 > [Thu Oct 8 15:49:39 2026] workingset: timestamp_bits=36 max_order=23 bucket_order=0 > [Thu Oct 8 15:49:39 2026] Estimated ratio of average max frequency by base frequency (times 1024): 1086 > [Thu Oct 8 15:49:39 2026] x86/amd: Previous system reset reason [0x00080800]: software wrote 0x6 to reset control register 0xCF9 > [Thu Oct 8 15:49:39 2026] systemd[1]: Queued start job for default target initrd.target. > [Thu Oct 8 15:49:39 2026] systemd-journald[244]: Collecting audit messages is disabled. > [Thu Oct 8 15:49:39 2026] nvme nvme0: 16/0/0 default/read/poll queues > [Thu Oct 8 15:50:15 2026] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes. > [Thu Oct 8 15:50:15 2026] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. > [Thu Oct 8 15:50:15 2026] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. > [Thu Oct 8 15:50:15 2026] systemd[1]: Listening on systemd-factory-reset.socket - Factory Reset Management. > [Thu Oct 8 15:50:15 2026] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... > [Thu Oct 8 15:50:15 2026] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. > [Thu Oct 8 15:50:15 2026] systemd-journald[2384]: Collecting audit messages is disabled. > [Thu Oct 8 15:50:15 2026] r8169 0000:07:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko] > [Thu Oct 8 15:50:15 2026] r8169 0000:0a:00.0 eth1: jumbo features [frames: 16362 bytes, tx checksumming: ko] > [Thu Oct 8 15:50:16 2026] amdgpu: Virtual CRAT table created for CPU > [Thu Oct 8 15:50:16 2026] amdgpu: Topology: Add CPU node > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: enabling device (0006 -> 0007) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: initializing kernel modesetting (IP DISCOVERY 0x1002:0x7550 0x1EAE:0x8811 0xC0). > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: register mmio base: 0xF6D00000 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: register mmio size: 524288 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 0 <common_v1_0_0> (soc24_common) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 1 <gmc_v12_0_0> (gmc_v12_0) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 2 <ih_v7_0_0> (ih_v7_0) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 3 <psp_v14_0_0> (psp) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 4 <smu_v14_0_0> (smu) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 5 <dce_v1_0_0> (dm) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 6 <gfx_v12_0_0> (gfx_v12_0) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 7 <sdma_v7_0_0> (sdma_v7_0) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 8 <vcn_v5_0_0> (vcn_v5_0_0) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 9 <jpeg_v5_0_0> (jpeg_v5_0_0) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: detected ip block number 10 <mes_v12_0_0> (mes_v12_0) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: Fetched VBIOS from VFCT > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] ATOM BIOS: 113-EXT108828-100 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: vgaarb: deactivate vga console > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: Trusted Memory Zone (TMZ) feature not supported > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: MEM ECC is not presented. > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: SRAM ECC is not presented. > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: VRAM: 16304M 0x0000008000000000 - 0x00000083FAFFFFFF (16304M used) > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] Detected VRAM RAM=16304M, BAR=16384M > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] RAM width 256bits GDDR6 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: 16304M of VRAM memory ready > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: 15576M of GTT memory ready. > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] GART: num cpu pages 131072, num gpu pages 131072 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] PCIE GART of 512M enabled (table at 0x00000083DAB00000). > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [drm] Loading DMUB firmware via PSP: version=0x0A000800 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: [VCN instance 0] Found VCN firmware Version ENC: 1.12 DEC: 9 VEP: 0 Revision: 15 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: MES: vmid_mask_mmhub 0x0000ff00, vmid_mask_gfxhub 0x0000ff00 > [Thu Oct 8 15:50:16 2026] amdgpu 0000:03:00.0: MES: gfx_hqd_mask 0x000000fe, compute_hqd_mask 0x0000000c, sdma_hqd_mask 0x000000fc > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: RAP: optional rap ta ucode is not available > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: smu driver if version = 0x0000002e, smu fw if version = 0x00000033, smu fw program = 0, smu fw version = 0x00684c00 (104.76.0) > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: SMU is initialized successfully! > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] Display Core v3.2.369 initialized on DCN 4.0.1 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-HDMI FRL PCON supported > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DMUB hardware initialized: version=0x0A000800 > [Thu Oct 8 15:50:17 2026] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu]) > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-1: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-2: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] DP-3: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] HDMI-A-1: PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: program CP_MES_CNTL : 0x4000000 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: program CP_MES_CNTL : 0xc000000 > [Thu Oct 8 15:50:17 2026] amdgpu: Virtual CRAT table created for GPU > [Thu Oct 8 15:50:17 2026] amdgpu: Topology: Add GPU node [0x1002:0x7550] > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: SE 4, SH per SE 2, CU per SH 8, active_cu_number 64 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring gfx_0.0.0 uses VM inv eng 0 on hub 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring sdma0 uses VM inv eng 9 on hub 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring sdma1 uses VM inv eng 10 on hub 0 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring vcn_unified_0 uses VM inv eng 0 on hub 8 > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: ring jpeg_dec uses VM inv eng 1 on hub 8 > [Thu Oct 8 15:50:17 2026] amdgpu: HMM registered 16304MB device memory > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: Using BACO for runtime pm > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] Registered 4 planes with drm panic > [Thu Oct 8 15:50:17 2026] [drm] Initialized amdgpu 3.64.0 for 0000:03:00.0 on minor 1 > [Thu Oct 8 15:50:17 2026] fbcon: amdgpudrmfb (fb0) is primary device > [Thu Oct 8 15:50:17 2026] amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device > [Thu Oct 8 15:53:45 2026] workqueue: svm_range_restore_work [amdgpu] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND > [Thu Oct 8 15:54:44 2026] workqueue: svm_range_restore_work [amdgpu] hogged CPU for >10000us 5 times, consider switching to WQ_UNBOUND > [Thu Oct 8 15:54:46 2026] audit: type=1400 audit(1791467686.653:254): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=9548 comm="(ubuntu-insigh)" requested="userns_create" target="unprivileged_userns" execpath="/usr/lib/systemd/systemd-executor" > [Thu Oct 8 15:54:47 2026] workqueue: svm_range_restore_work [amdgpu] hogged CPU for >10000us 7 times, consider switching to WQ_UNBOUND > [Thu Oct 8 15:55:56 2026] workqueue: amdgpu_gfx_profile_idle_work_handler [amdgpu] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND > [Thu Oct 8 15:57:46 2026] audit: type=1400 audit(1791467866.621:257): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=10313 comm="(ubuntu-insigh)" requested="userns_create" target="unprivileged_userns" execpath="/usr/lib/systemd/systemd-executor" My Strata log: [strata-q2_0.log](https://github.com/user-attachments/files/33207901/strata-q2_0.log) `amd-smi` after Strata errored: > +------------------------------------------------------------------------------+ > | AMD-SMI 27.1.0+7da43026 | > | OS kernel Version: 7.0.0-38-generic | > | ROCm Version: 10.1.0 | > | VBIOS Version: 00131164 | > | Platform: Linux Baremetal | > |-------------------------------------+----------------------------------------| > | BDF GPU-Name | Mem-Uti Temp UEC Power-Usage | > | GPU HIP-ID OAM-ID Partition-Mode | GFX-Uti Fan Mem-Usage | > |=====================================+========================================| > | 0000:03:00.0 AMD Radeon RX 9070 XT | 0 % 32 °C 0 10/340 W | > | 0 0 N/A N/A | 4 % 0.0 % 572/16304 MB | > +-------------------------------------+----------------------------------------+ > +------------------------------------------------------------------------------+ > | Processes: | > | GPU PID Process Name GTT_MEM VRAM_MEM MEM_USAGE CU % SDMA | > |==============================================================================| > | No running processes found | > +------------------------------------------------------------------------------+ `amd-smi` after restarting Strata (`./setup.sh`): > +------------------------------------------------------------------------------+ > | AMD-SMI 27.1.0+7da43026 | > | OS kernel Version: 7.0.0-38-generic | > | ROCm Version: 10.1.0 | > | VBIOS Version: 00131164 | > | Platform: Linux Baremetal | > |-------------------------------------+----------------------------------------| > | BDF GPU-Name | Mem-Uti Temp UEC Power-Usage | > | GPU HIP-ID OAM-ID Partition-Mode | GFX-Uti Fan Mem-Usage | > |=====================================+========================================| > | 0000:03:00.0 AMD Radeon RX 9070 XT | 0 % 32 °C 0 11/340 W | > | 0 0 N/A N/A | 5 % 0.0 % 16236/16304 MB | > +-------------------------------------+----------------------------------------+ > +------------------------------------------------------------------------------+ > | Processes: | > | GPU PID Process Name GTT_MEM VRAM_MEM MEM_USAGE CU % SDMA | > |==============================================================================| > | 0 12769 strata 7.9 MB 14.9 GB 15.2 GB N/A 0 us | > +------------------------------------------------------------------------------+ > As per my understanding of https://github.com/Niko1221/Strata/issues/579, I should need no specific environment variables to make this work, but I'm willing to test whatever configuration.
Author
Owner

@Vop3p commented on GitHub (Oct 9, 2026):

Two things that removed a similar long-prompt stall on 2x RX 6900 XT (gfx1030, Linux; the chain is in #884), in case they carry to gfx1201. Both are cheap to try:

  1. STRATA_HIP_ADAPT_KERNEL_COPY=1 (in 0.1.41: the adaptive expert swaps copy with a kernel instead of SDMA). On this box the stock 0.1.41 layer split read 128K prompts with it at 0 stalls where it stalled without, at no measurable speed cost (#1657, split-stock against split-stock-kc).
  2. The trigger here was the GPU's GFX power gating: with GFXOFF disabled (/sys/kernel/debug/dri/N/amdgpu_gfxoff; it is a reference count, so read it back - 0 means off) the stall went from 10/10 to 0/10. #579's finding that a desktop rendering on the same card is the trigger fits that picture: a display changes when the card power-gates. Running the compute card without a display attached is the cheapest version of the test.

None of this is gfx1201-tested; it is what the stall looked like on gfx1030 and what made it go away.

Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0.

<!-- gh-comment-id:6074272282 --> @Vop3p commented on GitHub (Oct 9, 2026): Two things that removed a similar long-prompt stall on 2x RX 6900 XT (gfx1030, Linux; the chain is in #884), in case they carry to gfx1201. Both are cheap to try: 1. `STRATA_HIP_ADAPT_KERNEL_COPY=1` (in 0.1.41: the adaptive expert swaps copy with a kernel instead of SDMA). On this box the stock 0.1.41 layer split read 128K prompts with it at 0 stalls where it stalled without, at no measurable speed cost (#1657, `split-stock` against `split-stock-kc`). 2. The trigger here was the GPU's GFX power gating: with GFXOFF disabled (`/sys/kernel/debug/dri/N/amdgpu_gfxoff`; it is a reference count, so read it back - 0 means off) the stall went from 10/10 to 0/10. #579's finding that a desktop rendering on the same card is the trigger fits that picture: a display changes when the card power-gates. Running the compute card without a display attached is the cheapest version of the test. None of this is gfx1201-tested; it is what the stall looked like on gfx1030 and what made it go away. Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0.
Author
Owner

@CAarset commented on GitHub (Oct 9, 2026):

Thank you for the suggestions. I put "STRATA_HIP_ADAPT_KERNEL_COPY": "1" in the env section of server-config.json and restarted, then used a Python script to set gpxoff to 0, confirming with

sudo od -An -N4 -tu4 /sys/kernel/debug/dri/0000:03:00.0/amdgpu_gfxoff
0

(Note: It was 1 prior to my script. Unsure if this requires a deeper-level fix to make a permanent change to the filesystem. Did not restart the system.)

After this, I was surprised by an exit code -15 (also "the engine stopped unexpectedly"); however, the next long prompt gave -6 again. Thus, the issue is not resolved. I've attached my log.

strata-q2_0.log

<!-- gh-comment-id:6079978608 --> @CAarset commented on GitHub (Oct 9, 2026): Thank you for the suggestions. I put `"STRATA_HIP_ADAPT_KERNEL_COPY": "1"` in the env section of server-config.json and restarted, then used a Python script to set gpxoff to 0, confirming with > sudo od -An -N4 -tu4 /sys/kernel/debug/dri/0000:03:00.0/amdgpu_gfxoff > 0 (Note: It was 1 prior to my script. Unsure if this requires a deeper-level fix to make a permanent change to the filesystem. Did not restart the system.) After this, I was surprised by an exit code -15 (also "the engine stopped unexpectedly"); however, the next long prompt gave -6 again. Thus, the issue is not resolved. I've attached my log. [strata-q2_0.log](https://github.com/user-attachments/files/33247993/strata-q2_0.log)
Author
Owner

@Vop3p commented on GitHub (Oct 9, 2026):

Reading the second log, this is not the gfx1030 GPU stall I pointed at - sorry for the detour. Both aborts are the serve watchdog ending the engine after a prompt chunk made no progress for 60 s (exit -15 is the server's SIGTERM, -6 the abort when that is ignored), and the stall reports say where the time went:

no step finished for 60 s, but the file tier is still being read (slow storage or low RAM): waiting up to 600 s in all (STRATA_WATCHDOG_IO_S) (#1407)
threads waiting on the disk (state D): 1 of 31 (folio_wait_bit_common x1) - the engine is waiting for the drive ...
memory: 28128 MiB resident, 407 MiB in swap, 27266 MiB RAM available; 883102 major page faults so far

The engine runs with --mmap-experts and without --ple-io ram, so every expert the cache does not hold is a page fault on the drive: the first 25K-token prompt read 63.8 GB from storage (389K major faults), and the four requests before the abort read 100-180 GB each. The GPU side is idle in both reports (all pool workers sleeping, host idle for 115-146 s). Two things to try, in this order:

  1. Drop --mmap-experts so the experts live in a pinned RAM arena (the Q2_0 set is about 31 GiB: 7156 slots = 9.21 GiB, 24576 pairs in all), and add --ple-io ram. With 27 GiB available while 28 GiB is resident this should fit; if setup.sh chose mmap because of a RAM check, free -g during a long prompt will show whether there is room.
  2. If RAM really is short, STRATA_WATCHDOG_IO_S=600 (the #1407 path) stops the watchdog from killing a slow-but-progressing read, and a 16-32K --max-context keeps the per-request file reads smaller.

STRATA_HIP_ADAPT_KERNEL_COPY and GFXOFF can go back to their defaults; they address a different stall (GPU stuck with the host waiting on it), which is not what these reports show.

Developed with an AI coding assistant; every number above comes from the attached log, read on a 2x RX 6900 XT box.

<!-- gh-comment-id:6082404765 --> @Vop3p commented on GitHub (Oct 9, 2026): Reading the second log, this is not the gfx1030 GPU stall I pointed at - sorry for the detour. Both aborts are the serve watchdog ending the engine after a prompt chunk made no progress for 60 s (exit -15 is the server's SIGTERM, -6 the abort when that is ignored), and the stall reports say where the time went: ``` no step finished for 60 s, but the file tier is still being read (slow storage or low RAM): waiting up to 600 s in all (STRATA_WATCHDOG_IO_S) (#1407) threads waiting on the disk (state D): 1 of 31 (folio_wait_bit_common x1) - the engine is waiting for the drive ... memory: 28128 MiB resident, 407 MiB in swap, 27266 MiB RAM available; 883102 major page faults so far ``` The engine runs with `--mmap-experts` and without `--ple-io ram`, so every expert the cache does not hold is a page fault on the drive: the first 25K-token prompt read 63.8 GB from storage (389K major faults), and the four requests before the abort read 100-180 GB each. The GPU side is idle in both reports (all pool workers sleeping, host idle for 115-146 s). Two things to try, in this order: 1. Drop `--mmap-experts` so the experts live in a pinned RAM arena (the Q2_0 set is about 31 GiB: 7156 slots = 9.21 GiB, 24576 pairs in all), and add `--ple-io ram`. With 27 GiB available while 28 GiB is resident this should fit; if `setup.sh` chose mmap because of a RAM check, `free -g` during a long prompt will show whether there is room. 2. If RAM really is short, `STRATA_WATCHDOG_IO_S=600` (the #1407 path) stops the watchdog from killing a slow-but-progressing read, and a 16-32K `--max-context` keeps the per-request file reads smaller. `STRATA_HIP_ADAPT_KERNEL_COPY` and GFXOFF can go back to their defaults; they address a different stall (GPU stuck with the host waiting on it), which is not what these reports show. Developed with an AI coding assistant; every number above comes from the attached log, read on a 2x RX 6900 XT box.
Author
Owner

@CAarset commented on GitHub (Oct 9, 2026):

Thank you again for the input! Unfortunately, --ple-io ram instead of --mmap-experts does not seem viable on my system; even with the smallest q2_0 model, --max-context 4096 --kv q4_0, STRATA_WATCHDOG_IO_S=600 and no mtp, I am not able to load with my 32GB RAM + the 16GB of the 9070 XT, printing

[strata] still starting (880 s) - please wait ...
Traceback (most recent call last):
File "/home/c/Documents/repos/Strata/serve/server.py", line 5895, in
sys.exit(main())
~~~~^^
File "/home/c/Documents/repos/Strata/serve/server.py", line 5720, in main
engine = StrataEngine(exe, engine_args(cfg) + (effort_end or []), cwd=cfg.get("cwd"), log=cfg.get("log"),
env=env, lazy=lazy)
File "/home/c/Documents/repos/Strata/serve/server.py", line 693, in init
raise RuntimeError(why + (f" (see {log})" if log else "") +
start_failure_hint(log, log_start) + start_log_tail(log, log_start))
RuntimeError: the engine did not report READY within 900 s (see /home/c/Documents/repos/Strata/strata-q2_0.log)
the engine log's last lines:
[strata] 2026-10-09 18:44:19 engine started: /home/c/Documents/repos/Strata/engine/strata --serve --pack /home/c/Documents/repos/Strata-data/packs/q2_0 --native /home/c/Documents/repos/Strata-data/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00001-of-00002.gguf --ple-gguf /home/c/Documents/repos/Strata-data/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00002-of-00002.gguf --expert-profile /home/c/Documents/repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --max-context 4096 --kv q4_0 --ple-io mmap
strata generate: 1879 MiB of weights loaded from /home/c/Documents/repos/Strata-data/packs/q2_0 in 0.9 s (301 canonical tensors skipped: served natively)
strata generate: 301 native projection matrices, 1376.20 MiB of weights, in 0.4 s
strata generate: profile /home/c/Documents/repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: PLE on, table 320001536 rows of /home/c/Documents/repos/Strata-data/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00002-of-00002.gguf
strata generate: experimental native Q5_K head, 437043200 bytes, in 0.1 s
strata generate: GPU 0: AMD Radeon RX 9070 XT (gfx1201)
strata generate: expert arena read through the file cache (buffered (not Windows))
strata generate: WARNING: the expert arena needs 31.64 GiB of RAM but 28.34 GiB is available (3.31 GiB short): the load may swap or be stopped by the OS. Close other programs (or wait for an engine that is still exiting), or run with less RAM: --mmap-experts with --resident-budget-gib N
strata generate: expert arena: mlock; cudaHostRegister of the whole arena FAILED (invalid argument); 42 slices pinned (27 GiB); MAP_HUGETLB unavailable (needed 16201 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE)
strata generate: loaded 31.64 GiB at 0.62 GiB/s
strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8
strata generate: 7 pool workers on logical processors 1,2,3,4,5,6,7, the host thread on 0 (draining too) (--host-core first)
strata generate: expert cache auto: 11.79 GiB free, 700 MiB reserved (+0 MiB for the draft head) -> 8628 slots

With various other configuration setups I tried from other threads, ./setup.sh instead either stalls forever, blacks out my computer or is killed by the system.

I was also able to confirm that plugging out the DPort cable before prompting did not prevent the -15 exit error.

<!-- gh-comment-id:6085503591 --> @CAarset commented on GitHub (Oct 9, 2026): Thank you again for the input! Unfortunately, `--ple-io ram` instead of `--mmap-experts` does not seem viable on my system; even with the smallest q2_0 model, `--max-context 4096 --kv q4_0`, `STRATA_WATCHDOG_IO_S=600` and no mtp, I am not able to load with my 32GB RAM + the 16GB of the 9070 XT, printing > [strata] still starting (880 s) - please wait ... > Traceback (most recent call last): > File "/home/c/Documents/repos/Strata/serve/server.py", line 5895, in <module> > sys.exit(main()) > ~~~~^^ > File "/home/c/Documents/repos/Strata/serve/server.py", line 5720, in main > engine = StrataEngine(exe, engine_args(cfg) + (effort_end or []), cwd=cfg.get("cwd"), log=cfg.get("log"), > env=env, lazy=lazy) > File "/home/c/Documents/repos/Strata/serve/server.py", line 693, in __init__ > raise RuntimeError(why + (f" (see {log})" if log else "") + > start_failure_hint(log, log_start) + start_log_tail(log, log_start)) > RuntimeError: the engine did not report READY within 900 s (see /home/c/Documents/repos/Strata/strata-q2_0.log) > the engine log's last lines: > [strata] 2026-10-09 18:44:19 engine started: /home/c/Documents/repos/Strata/engine/strata --serve --pack /home/c/Documents/repos/Strata-data/packs/q2_0 --native /home/c/Documents/repos/Strata-data/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00001-of-00002.gguf --ple-gguf /home/c/Documents/repos/Strata-data/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00002-of-00002.gguf --expert-profile /home/c/Documents/repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --max-context 4096 --kv q4_0 --ple-io mmap > strata generate: 1879 MiB of weights loaded from /home/c/Documents/repos/Strata-data/packs/q2_0 in 0.9 s (301 canonical tensors skipped: served natively) > strata generate: 301 native projection matrices, 1376.20 MiB of weights, in 0.4 s > strata generate: profile /home/c/Documents/repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots > strata generate: PLE on, table 320001536 rows of /home/c/Documents/repos/Strata-data/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00002-of-00002.gguf > strata generate: experimental native Q5_K head, 437043200 bytes, in 0.1 s > strata generate: GPU 0: AMD Radeon RX 9070 XT (gfx1201) > strata generate: expert arena read through the file cache (buffered (not Windows)) > strata generate: WARNING: the expert arena needs 31.64 GiB of RAM but 28.34 GiB is available (3.31 GiB short): the load may swap or be stopped by the OS. Close other programs (or wait for an engine that is still exiting), or run with less RAM: --mmap-experts with --resident-budget-gib N > strata generate: expert arena: mlock; cudaHostRegister of the whole arena FAILED (invalid argument); 42 slices pinned (27 GiB); MAP_HUGETLB unavailable (needed 16201 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE) > strata generate: loaded 31.64 GiB at 0.62 GiB/s > strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8 > strata generate: 7 pool workers on logical processors 1,2,3,4,5,6,7, the host thread on 0 (draining too) (--host-core first) > strata generate: expert cache auto: 11.79 GiB free, 700 MiB reserved (+0 MiB for the draft head) -> 8628 slots With various other configuration setups I tried from other threads, `./setup.sh` instead either stalls forever, blacks out my computer or is killed by the system. I was also able to confirm that plugging out the DPort cable before prompting did not prevent the -15 exit error.
Author
Owner

@CAarset commented on GitHub (Oct 9, 2026):

So I made some partial progress, and produced some interesting logs:

With --mmap-experts (seemingly similar for --resident-experts) as well as

STRATA_WATCHDOG_S=0
STRATA_WATCHDOG_IO_S=0
STRATA_IO_PREFETCH=1
STRATA_HIP_WMMA=1

I almost totally prevented errors (though a -15 caught me eventually), but instead got to enjoy five-minute-long no-progress reads that do eventually, suddenly resolve; Strata then continues (and writes are quite fast). Not sure how to interpret that - log attached, as well as the raw copy-pasted output of the ./setup.sh terminal (the latter showcases something interesting - the long, no-progress reads sometimes progressed backwards).

strata-q2_0.log
setup_terminal_printout.txt

So in conclusion, it seems like all the kills so far are indeed watchdog kills from Strata itself worrying that it hasn't made progress - even though it will eventually "suddenly make progress" after sitting still for ~5m on each read. While this is frustratingly slow, it's at least enough that I can begin to get some outputs in finite time - improvement!

As for more RAM, there's obvious budget issues, what with current prices; it's a consideration, but no clean solution.

<!-- gh-comment-id:6090940982 --> @CAarset commented on GitHub (Oct 9, 2026): So I made some partial progress, and produced some interesting logs: With `--mmap-experts` (seemingly similar for `--resident-experts`) as well as > STRATA_WATCHDOG_S=0 > STRATA_WATCHDOG_IO_S=0 > STRATA_IO_PREFETCH=1 > STRATA_HIP_WMMA=1 I almost totally prevented errors (though a -15 caught me eventually), but instead got to enjoy five-minute-long no-progress reads that do eventually, suddenly resolve; Strata then continues (and writes are quite fast). Not sure how to interpret that - log attached, as well as the raw copy-pasted output of the ./setup.sh terminal (the latter showcases something interesting - the long, no-progress reads sometimes progressed _backwards_). [strata-q2_0.log](https://github.com/user-attachments/files/33269787/strata-q2_0.log) [setup_terminal_printout.txt](https://github.com/user-attachments/files/33269823/setup_terminal_printout.txt) So in conclusion, it seems like all the kills so far are indeed watchdog kills from Strata itself worrying that it hasn't made progress - even though it will eventually "suddenly make progress" after sitting still for ~5m on each read. While this is frustratingly slow, it's at least enough that I can begin to get _some_ outputs in finite time - improvement! As for more RAM, there's obvious budget issues, what with current prices; it's a consideration, but no clean solution.
Author
Owner

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

Thank you for the careful report. Exit code -6 is an abort inside the engine, and the kernel log you pasted shows nothing from amdgpu at that time. To see which it is, please send the engine's own output from the start through the abort (the console or the log file setup prints), the prompt length that fails and your context size, and whether it also happens with --kv int8 and a context of 32768.

<!-- gh-comment-id:6099610865 --> @Niko1221 commented on GitHub (Oct 10, 2026): Thank you for the careful report. Exit code -6 is an abort inside the engine, and the kernel log you pasted shows nothing from amdgpu at that time. To see which it is, please send the engine's own output from the start through the abort (the console or the log file setup prints), the prompt length that fails and your context size, and whether it also happens with --kv int8 and a context of 32768.
Author
Owner

@CAarset commented on GitHub (Oct 11, 2026):

Thank you for your response. If I understand it correctly, your response is to my original post? Since then, @Vop3p has helped me understand the -6 exit better, and I've worked around it with the watchdog settings mentioned in my last message before yours. The console log is also there (setup_terminal_printout.txt). To clarify, this now leads to a consistent -15 error:

[strata] the engine stopped unexpectedly (exit code -15). Unrecoverable native verification failure: verify: timed out at layer 12; its GPU waits were released and the GPU finished (#267) The next request starts the engine again. Its log: /home/c/Documents/repos/Strata/strata-q2_0.log

The issue does not seem sensitive to the length of my original prompt, but naturally occurs after ~5-10 minutes working on any longer task (with plenty of functioning intermediate reasoning and tool calls first). It has happened on both --kv q4_0 and on --kv int8, with every context size I've tried, as well as the Coder model - I spotted nothing substantially different in the logs for any of those, but I'm willing to send you anything you think is valuable tomorrow.

<!-- gh-comment-id:6103550217 --> @CAarset commented on GitHub (Oct 11, 2026): Thank you for your response. If I understand it correctly, your response is to my original post? Since then, @Vop3p has helped me understand the -6 exit better, and I've worked around it with the watchdog settings mentioned in my last message before yours. The console log is also there (setup_terminal_printout.txt). To clarify, this now leads to a consistent -15 error: > [strata] the engine stopped unexpectedly (exit code -15). Unrecoverable native verification failure: verify: timed out at layer 12; its GPU waits were released and the GPU finished (#267) The next request starts the engine again. Its log: /home/c/Documents/repos/Strata/strata-q2_0.log The issue does not seem sensitive to the length of my original prompt, but naturally occurs after ~5-10 minutes working on any longer task (with plenty of functioning intermediate reasoning and tool calls first). It has happened on both --kv q4_0 and on --kv int8, with every context size I've tried, as well as the Coder model - I spotted nothing substantially different in the logs for any of those, but I'm willing to send you anything you think is valuable tomorrow.
Author
Owner

@rebuilt commented on GitHub (Oct 11, 2026):

This looks like the same failure we see on gfx1201 (Radeon AI PRO R9700) with long prompts, so here is our data in case it helps correlate the exit code -6.

Rig: AMD Radeon AI PRO R9700 (gfx1201), Ubuntu, backend hip, 62 GiB RAM / 2.0 GiB swap (full), ~2.1 GiB VRAM free under load. Model Qwen3.8-Flash-Next IQ3_S (GSQ-RCO, 2 shards), engine 0.1.39, --max-context 131072 --kv int8 --kv-resident 32768 --prefill 4096 --spec 4 --mmap-experts.

Before tuning, one session hit a crash/restart loop: the engine log shows 47 boots, 14 no progress/stall reports, and one hard fault:

prefill mmq: gather_native_group: an illegal memory access was encountered

The stalls were all the long-prompt prefill path — never the same layer: reading the prompt (batched): layer N of the prompt chunk from token 0, waiting for the GPU (attention, router) at layer L ... from token X, done up to token 43034. The stall report shows the host parked on a GPU wait (expert pool 0/0 jobs, 11/11 workers parked and sleeping, 0 threads in D-state, verify window "GPU rang 0"):

strata serve: stall report (engine 0.1.39): stage "reading the prompt (batched): layer 3 ..." for 60 s;
  0 layers served since the last finished step (0 = stopped, more = slow)
  expert pool: 0 of 0 jobs claimed, 0 done; 11 of 11 workers parked, 11 sleeping; mode 0
  verify window: 0 tokens ... the GPU rang 0; flags: served 0, plan (A) 0, copies (B) 0
  threads waiting on the disk (state D): 0 of 67
  memory: 27747 MiB resident, 0 MiB in swap, 28643 MiB RAM available; 51350 major page faults so far
  2 s later: ... host idle for 114974 ms

What stabilised it on this machine (removed the restart noise; did not fix the underlying GPU-wait stall):

  • --vram-reserve-mib 3072 — at 700 MiB the driver started paging and prefills slowed ~7x; a higher reserve removed that.
  • STRATA_WATCHDOG_S=300 — 60 s and 180 s fired on prefills that were merely slow, causing restarts that weren't real hangs.
  • engine_silence_s: 600 in strata-<model>.json so the server outwaits the engine watchdog.
  • removed STRATA_PF_FUSED; STRATA_PREFILL_GROUP_GATHER=0, STRATA_RING_BYTES=0.

After that: 301 requests, 0 stalls, 0 faults over ~5.5 h. The residual GPU-wait stall still exists (seen once at 3072 MiB reserve) — I have the full engine logs (bench-iq3_s-128k.log.before-trace-*, 47 boots + 14 stall reports) if you want them here or on #481.

<!-- gh-comment-id:6108954016 --> @rebuilt commented on GitHub (Oct 11, 2026): This looks like the same failure we see on **`gfx1201`** (Radeon AI PRO R9700) with long prompts, so here is our data in case it helps correlate the exit code -6. Rig: AMD Radeon AI PRO R9700 (`gfx1201`), Ubuntu, backend `hip`, 62 GiB RAM / 2.0 GiB swap (full), ~2.1 GiB VRAM free under load. Model Qwen3.8-Flash-Next IQ3_S (GSQ-RCO, 2 shards), engine 0.1.39, `--max-context 131072 --kv int8 --kv-resident 32768 --prefill 4096 --spec 4 --mmap-experts`. Before tuning, one session hit a **crash/restart loop**: the engine log shows **47 boots**, 14 `no progress`/stall reports, and one hard fault: ``` prefill mmq: gather_native_group: an illegal memory access was encountered ``` The stalls were all the long-prompt prefill path — never the same layer: `reading the prompt (batched): layer N of the prompt chunk from token 0`, `waiting for the GPU (attention, router) at layer L ... from token X`, `done up to token 43034`. The stall report shows the host parked on a GPU wait (expert pool 0/0 jobs, 11/11 workers parked and sleeping, 0 threads in D-state, verify window "GPU rang 0"): ``` strata serve: stall report (engine 0.1.39): stage "reading the prompt (batched): layer 3 ..." for 60 s; 0 layers served since the last finished step (0 = stopped, more = slow) expert pool: 0 of 0 jobs claimed, 0 done; 11 of 11 workers parked, 11 sleeping; mode 0 verify window: 0 tokens ... the GPU rang 0; flags: served 0, plan (A) 0, copies (B) 0 threads waiting on the disk (state D): 0 of 67 memory: 27747 MiB resident, 0 MiB in swap, 28643 MiB RAM available; 51350 major page faults so far 2 s later: ... host idle for 114974 ms ``` What stabilised it on this machine (removed the restart noise; did **not** fix the underlying GPU-wait stall): - `--vram-reserve-mib 3072` — at 700 MiB the driver started paging and prefills slowed ~7x; a higher reserve removed that. - `STRATA_WATCHDOG_S=300` — 60 s and 180 s fired on prefills that were merely slow, causing restarts that weren't real hangs. - `engine_silence_s: 600` in `strata-<model>.json` so the server outwaits the engine watchdog. - removed `STRATA_PF_FUSED`; `STRATA_PREFILL_GROUP_GATHER=0`, `STRATA_RING_BYTES=0`. After that: 301 requests, 0 stalls, 0 faults over ~5.5 h. The residual GPU-wait stall still exists (seen once at 3072 MiB reserve) — I have the full engine logs (`bench-iq3_s-128k.log.before-trace-*`, 47 boots + 14 stall reports) if you want them here or on #481.
Author
Owner

@CAarset commented on GitHub (Oct 12, 2026):

Updated error report for 0.14.3:

System specifications

fastfetch --logo none
OS: Ubuntu 26.04.1 LTS (Resolute Raccoon) x86_64
Host: X670E Steel Legend
Kernel: Linux 7.0.0-38-generic
Uptime: 6 hours, 30 mins
Packages: 1837 (dpkg), 13 (snap)
Shell: bash 5.3.9
Display (XG27AQDMG): 2560x1440 in 27", 60 Hz [External]
DE: GNOME 50.1
WM: Mutter (Wayland)
WM Theme: Yaru-olive-dark
Theme: Yaru-olive-dark [GTK2/3/4]
Icons: Yaru-olive-dark [GTK2/3/4]
Font: Ubuntu Sans (11pt) [GTK2/3/4]
Cursor: Yaru (24px)
Terminal: Ptyxis 50.1
Terminal Font: Ubuntu Sans Mono (11pt)
CPU: AMD Ryzen 7 9800X3D (16) @ 5.27 GHz
GPU: AMD Radeon RX 9070 XT [Discrete]
Memory: 4.78 GiB / 30.42 GiB (16%)
Swap: 5.56 GiB / 8.00 GiB (69%)
Disk (/): 393.85 GiB / 455.14 GiB (87%) - ext4
Local IP (wlp9s0): REDACTED
Locale: en_US.UTF-8

Run 1

Clean install of Strata and q2_0; benchmarked upon install but no calibration or optimisation, default config; 256k context size. Short prompt triggering a lot of actions:

Do a full system diagnostic: How well is the current model (Qwen3.8-Flash-Next-q2_0 via Strata) running on DSH (DeepSeek Harness), and what config options would enable increased performance?

Result

Over ~2h, after multiple steps of reading, thinking and tool calling - normal behaviour, if rather slow progress - the model times out long enough that DSH hits

This turn failed pi-ai stream idle timeout after 300000ms

and ends the turn; interestingly, Strata is still working (everything after the last "starting the engine" is Strata running while DSH thinks that the turn is dead). DSH reports Tokens/s as 43.

Several exit codes -6 happened along the way, but did not lead to unrecoverable errors, as Strata graciously restarted:

[strata] reading the prompt: 6,954 of 18,346 tokens, 239 s so far
[strata] reading the prompt: 6,954 of 18,346 tokens, 249 s so far
[strata] reading the prompt: 6,954 of 18,346 tokens, 259 s so far
[strata] done: 0 tokens in 282 s (0.0 tok/s) (cancel, cancel=True)
[strata] the engine had stopped (exit code -6); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] mapping the experts from the model files (about 38 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
[strata] filling the GPU's expert cache (4929 experts, 6.35 GiB of VRAM) ...
[strata] almost ready ...
[strata] the engine is running again
[strata] reading the prompt: 18,346 tokens, 10 s so far
[strata] reading the prompt: 6,954 of 18,346 tokens, 16 s so far
[strata] reading the prompt: 6,954 of 18,346 tokens, 26 s so far
[strata] reading the prompt: 6,954 of 18,346 tokens, 36 s so far
[strata] thinking: 2 of max 65536 tokens, 37.9 tok/s, 37 s

However, the last restart was too long and killed DSH's turn. I then manually ended Strata.

Old result

In 0.14.1, this would have behaved similarly up to the ~5-7 minute mark, then consistently hit unrecoverable errors (-6 or -15, depending on which watchdog timeout options were enabled).

Files

Notes

  • System RAM usage never seemingly exceeded 4GB, although VRAM was consistently ~15.9/16 GB.
  • "Conversation reuse since start" steadily declined throughout the session; I noticed it at around ~47% some ten minutes in, while past the 1h mark, it had already declined to 12%.
  • CPU usage was reported by Strata as almost constantly 14-15%.
  • GPU usage (as reported by Strata) fluctuated, reaching ~100% usage for some writes. However, during reading, GPU usage would plummet to 4-6% (no change in CPU usage observed).
  • The "-6 exit"-followed-by-reload portions were accompanied by quite some coil whine (probably irrelevant, but I rarely get coil whine on this card).
  • "Reading stalls" were frequent (see terminal print), but typically resolved by themselves without error (in 0.14.1, this would consistently have led to time-out error; no watchdog settings were required in 0.14.3 to avoid this, as mentioned above).

[strata] reading the prompt: 6,954 of 10,239 tokens, 34 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 44 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 54 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 64 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 74 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 84 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 94 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 104 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 114 s so far
[strata] the engine has said nothing for 90 s but is still working; it is not ended (the limit is engine_silence_s). If it is stuck, "engine_silence_s" can be set lower.
[strata] reading the prompt: 6,954 of 10,239 tokens, 124 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 134 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 144 s so far
[strata] reading the prompt: 6,954 of 10,239 tokens, 154 s so far
[strata] reading the prompt: 10,234 of 10,239 tokens, 156 s so far
(...from here on, completes and behaves normally)

Run 2

Identical to the previous run, except 32K context size. "fit_max_tokens": true was also set to avoid max tokens issues in DSH (otherwise leads to max tokens error; tested but without its own report since it's not really a Strata issue).

Result

After about ~10 minutes of thinking, the model hits -6 and does not survive; old 0.14.1-style error.

This turn failed the engine stopped unexpectedly (exit code -6); the next request restarts it

All minor observations are identical (in particular, GPU usage would again plummet during read after a brief period of high usage).

Files

Please note that by my own error, this log contains runs 1 and 2, as well as a brief failed (max-tokens-related) run in-between. From here on, I am deleting and regenerating the log per run.

Run 3

Identical to run 2, except tried

"env": {
"STRATA_RESIDENT_PIN": "0"
}

suggested elsewhere. Result identical to Run 2.

Files

Run 4

Identical to run 3, except replaced the STRATA_RESIDENT_PIN=0 with --vram-reserve-mib 3072 as proposed by @rebuilt . Other watchdog settings not used. -6 exit engine restarts still present, but not enough error to knock out the agent. Eventually, DSH stopped with

This turn failed 400: {"type":"invalid_request_error","message":"request exceeds the context window: prompt (33260 tokens) leaves no room to answer in the context (32768); requests are never truncated"}

which feels like an unrelated error.

Files

Run 5

Identical to run 4, except added

"env": {
"STRATA_WATCHDOG_S": "0"
},
"engine_silence_s": 0

to the config. Very similar to run 1 - a fair bit of normal-looking thinking, reading and tool calling over a very long period of time (it is currently at 2h - I do not have the opportunity to keep monitoring it tonight). The usual extreme stalling in reads seems to be the main reason it hasn't finished yet, as speed is nominally fine (reported by DSH as 44 tok/s).

Files

Conclusion

Just as @rebuilt has concluded, the issue seems to be a GPU stall on reads, as repeatedly evidenced in my logs. Most (possibly all?) of my intermediate error reports come from either Strata's watchdogs or the harness timing out in response to the stall. Disabling watchdogs and timeouts in principle allows Strata to ""function"", but the extreme stall on reads means results are impractically slow even when the system delivers passable tokens/s.

I only now saw that the STRATA_TRACE = 1 env variable exists; if helpful, I am willing to run with that (and any other combination of configs) tomorrow.

<!-- gh-comment-id:6134347221 --> @CAarset commented on GitHub (Oct 12, 2026): Updated error report for 0.14.3: ## System specifications > fastfetch --logo none > OS: Ubuntu 26.04.1 LTS (Resolute Raccoon) x86_64 > Host: X670E Steel Legend > Kernel: Linux 7.0.0-38-generic > Uptime: 6 hours, 30 mins > Packages: 1837 (dpkg), 13 (snap) > Shell: bash 5.3.9 > Display (XG27AQDMG): 2560x1440 in 27", 60 Hz [External] > DE: GNOME 50.1 > WM: Mutter (Wayland) > WM Theme: Yaru-olive-dark > Theme: Yaru-olive-dark [GTK2/3/4] > Icons: Yaru-olive-dark [GTK2/3/4] > Font: Ubuntu Sans (11pt) [GTK2/3/4] > Cursor: Yaru (24px) > Terminal: Ptyxis 50.1 > Terminal Font: Ubuntu Sans Mono (11pt) > CPU: AMD Ryzen 7 9800X3D (16) @ 5.27 GHz > GPU: AMD Radeon RX 9070 XT [Discrete] > Memory: 4.78 GiB / 30.42 GiB (16%) > Swap: 5.56 GiB / 8.00 GiB (69%) > Disk (/): 393.85 GiB / 455.14 GiB (87%) - ext4 > Local IP (wlp9s0): REDACTED > Locale: en_US.UTF-8 ## Run 1 Clean install of Strata and q2_0; benchmarked upon install but no calibration or optimisation, default config; 256k context size. Short prompt triggering a lot of actions: > Do a full system diagnostic: How well is the current model (Qwen3.8-Flash-Next-q2_0 via Strata) running on DSH (DeepSeek Harness), and what config options would enable increased performance? ### Result Over ~2h, after multiple steps of reading, thinking and tool calling - normal behaviour, if rather slow progress - the model times out long enough that DSH hits > This turn failed pi-ai stream idle timeout after 300000ms and ends the turn; interestingly, Strata is still working (everything after the last "starting the engine" is Strata running while DSH thinks that the turn is dead). DSH reports Tokens/s as 43. Several exit codes -6 happened along the way, but did not lead to unrecoverable errors, as Strata graciously restarted: > [strata] reading the prompt: 6,954 of 18,346 tokens, 239 s so far > [strata] reading the prompt: 6,954 of 18,346 tokens, 249 s so far > [strata] reading the prompt: 6,954 of 18,346 tokens, 259 s so far > [strata] done: 0 tokens in 282 s (0.0 tok/s) (cancel, cancel=True) > [strata] the engine had stopped (exit code -6); starting it again (a minute or two) ... > [strata] starting the engine: reading the model's weights ... > [strata] mapping the experts from the model files (about 38 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them. > YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. > Please wait and don't close this window; the browser opens when it is ready. > [strata] filling the GPU's expert cache (4929 experts, 6.35 GiB of VRAM) ... > [strata] almost ready ... > [strata] the engine is running again > [strata] reading the prompt: 18,346 tokens, 10 s so far > [strata] reading the prompt: 6,954 of 18,346 tokens, 16 s so far > [strata] reading the prompt: 6,954 of 18,346 tokens, 26 s so far > [strata] reading the prompt: 6,954 of 18,346 tokens, 36 s so far > [strata] thinking: 2 of max 65536 tokens, 37.9 tok/s, 37 s However, the last restart was too long and killed DSH's turn. I then manually ended Strata. ### Old result In 0.14.1, this would have behaved similarly up to the ~5-7 minute mark, then consistently hit unrecoverable errors (-6 or -15, depending on which watchdog timeout options were enabled). ### Files - Default configs, 256K: [strata-q2_0.json](https://github.com/user-attachments/files/33352367/strata-q2_0.json) - Raw Strata terminal print: [strata_terminal_print.txt](https://github.com/user-attachments/files/33352390/strata_terminal_print.txt) ### Notes - System RAM usage never seemingly exceeded 4GB, although VRAM was consistently ~15.9/16 GB. - "Conversation reuse since start" steadily declined throughout the session; I noticed it at around ~47% some ten minutes in, while past the 1h mark, it had already declined to 12%. - CPU usage was reported by Strata as almost constantly 14-15%. - GPU usage (as reported by Strata) fluctuated, reaching ~100% usage for some writes. However, during reading, GPU usage would plummet to 4-6% (no change in CPU usage observed). - The "-6 exit"-followed-by-reload portions were accompanied by quite some coil whine (probably irrelevant, but I rarely get coil whine on this card). - "Reading stalls" were frequent (see terminal print), but typically resolved by themselves without error (in 0.14.1, this would consistently have led to time-out error; no watchdog settings were required in 0.14.3 to avoid this, as mentioned above). > [strata] reading the prompt: 6,954 of 10,239 tokens, 34 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 44 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 54 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 64 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 74 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 84 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 94 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 104 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 114 s so far > [strata] the engine has said nothing for 90 s but is still working; it is not ended (the limit is engine_silence_s). If it is stuck, "engine_silence_s" can be set lower. > [strata] reading the prompt: 6,954 of 10,239 tokens, 124 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 134 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 144 s so far > [strata] reading the prompt: 6,954 of 10,239 tokens, 154 s so far > [strata] reading the prompt: 10,234 of 10,239 tokens, 156 s so far > (...from here on, completes and behaves normally) ## Run 2 Identical to the previous run, except 32K context size. "fit_max_tokens": true was also set to avoid max tokens issues in DSH (otherwise leads to max tokens error; tested but without its own report since it's not really a Strata issue). ### Result After about ~10 minutes of thinking, the model hits -6 and does _not_ survive; old 0.14.1-style error. > This turn failed the engine stopped unexpectedly (exit code -6); the next request restarts it All minor observations are identical (in particular, GPU usage would again plummet during read after a brief period of high usage). ### Files - Essentially default configs, 32K: [strata-q2_0.json](https://github.com/user-attachments/files/33353460/strata-q2_0.json) - Raw Strata terminal print: [strata_terminal_print.txt](https://github.com/user-attachments/files/33353457/strata_terminal_print.txt) - Log: [strata-q2_0.log](https://github.com/user-attachments/files/33353474/strata-q2_0.log) Please note that by my own error, this log contains runs 1 and 2, as well as a brief failed (max-tokens-related) run in-between. From here on, I am deleting and regenerating the log per run. ## Run 3 Identical to run 2, except tried > "env": { > "STRATA_RESIDENT_PIN": "0" > } suggested elsewhere. Result identical to Run 2. ### Files - Configs, 32K, `STRATA_RESIDENT_PIN = 0`: [strata-q2_0.json](https://github.com/user-attachments/files/33355079/strata-q2_0.json) - Raw Strata terminal print: [strata_terminal_print.txt](https://github.com/user-attachments/files/33355092/strata_terminal_print.txt) - Log: [strata-q2_0.log](https://github.com/user-attachments/files/33355100/strata-q2_0.log) ## Run 4 Identical to run 3, except replaced the `STRATA_RESIDENT_PIN=0` with `--vram-reserve-mib 3072` as proposed by @rebuilt . Other watchdog settings not used. -6 exit engine restarts still present, but not enough error to knock out the agent. Eventually, DSH stopped with > This turn failed 400: {"type":"invalid_request_error","message":"request exceeds the context window: prompt (33260 tokens) leaves no room to answer in the context (32768); requests are never truncated"} which feels like an unrelated error. ### Files - Configs, 32K, `--vram-reserve-mib 3072`: [strata-q2_0.json](https://github.com/user-attachments/files/33356593/strata-q2_0.json) - Raw Strata terminal print: [strata_terminal_print.txt](https://github.com/user-attachments/files/33356598/strata_terminal_print.txt) - Log: [strata-q2_0.log](https://github.com/user-attachments/files/33356608/strata-q2_0.log) ## Run 5 Identical to run 4, except added > "env": { > "STRATA_WATCHDOG_S": "0" > }, > "engine_silence_s": 0 to the config. Very similar to run 1 - a fair bit of normal-looking thinking, reading and tool calling over a very long period of time (it is currently at 2h - I do not have the opportunity to keep monitoring it tonight). The usual extreme stalling in reads seems to be the main reason it hasn't finished yet, as speed is nominally fine (reported by DSH as 44 tok/s). ### Files - Configs, 32K, `--vram-reserve-mib 3072` and watchdog settings: [strata-q2_0.json](https://github.com/user-attachments/files/33358999/strata-q2_0.json) - Raw Strata terminal print (in progress): [strata_terminal_print.txt](https://github.com/user-attachments/files/33359018/strata_terminal_print.txt) - Log (in progress): [strata-q2_0.log](https://github.com/user-attachments/files/33359020/strata-q2_0.log) ## Conclusion Just as @rebuilt has concluded, the issue seems to be a GPU _stall_ on reads, as repeatedly evidenced in my logs. Most (possibly all?) of my intermediate error reports come from either Strata's watchdogs or the harness timing out in response to the stall. Disabling watchdogs and timeouts in principle allows Strata to ""function"", but the extreme stall on reads means results are impractically slow even when the system delivers passable tokens/s. I only now saw that the `STRATA_TRACE = 1` env variable exists; if helpful, I am willing to run with that (and any other combination of configs) tomorrow.
Author
Owner

@eclgo commented on GitHub (Oct 13, 2026):

I used swift-iq3_xxs with 220K context in win11 24H2 via
Strata v0.1.43 + DSH 0.2.0-rc.2 in the official standard mode, and also encountered below issue in a long agentic task. I found two subagents were called, it may be the root cause to cause time out issue. So I asked the local model to create a custom standard mode without any subagent, so far below error gone.

"This turn failed pi-ai stream idle timeout after 300000ms"

key H/W:RTX 3080 Ti Laptop GPU 16G + 64G RAM

<!-- gh-comment-id:6140518534 --> @eclgo commented on GitHub (Oct 13, 2026): I used swift-iq3_xxs with 220K context in win11 24H2 via Strata v0.1.43 + DSH 0.2.0-rc.2 in the official standard mode, and also encountered below issue in a long agentic task. I found two subagents were called, it may be the root cause to cause time out issue. So I asked the local model to create a custom standard mode without any subagent, so far below error gone. "This turn failed pi-ai stream idle timeout after 300000ms" key H/W:RTX 3080 Ti Laptop GPU 16G + 64G RAM
Author
Owner

@cjdell commented on GitHub (Oct 13, 2026):

Sorry for the LLM generated response but it's better at reporting this stuff than me. I figured the more detail the better as agents are probably going to be ones reading it anyway:


Same exit code -6 on R9700 gfx1201 (Linux, ROCm 7.2.3): 7 hangs
in 5 days, and HSA_USERPTR_FOR_PAGED_MEM=0 does not stop them

Same GPU family and exit code as the OP here, on Linux. Reporting because #1705
(gfx1100) reports HSA_USERPTR_FOR_PAGED_MEM=0 ended its hangs, and on this box
it does not.

Setup

AMD Radeon AI PRO R9700 32 GB (gfx1201), single card; NixOS, kernel 7.2.9;
ROCm clr/hipblaslt/rocm-runtime 7.2.3; Strata 0.1.41 → 0.1.42 → 0.1.43;
Qwen3.8-Flash-Next UD-IQ4_XS native pack, --max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --resident-budget-gib 55; env includes
HSA_USERPTR_FOR_PAGED_MEM=0 and LimitCORE=0 (dumps were 32 GB each).

The hangs

Every one is identical: engine watchdog (#29) SIGABRTs after
no progress for 60 s during a request (reading the prompt (batched): waiting for the GPU (attention, router) at layer N of the prompt chunk from token T), then within seconds amdgpu's MES fails REMOVE_QUEUE/SUSPEND and
the kernel does a MODE1 reset (VRAM is lost due to GPU reset!). Always
prompt prefill, never decode.

when (BST) eng layer token offset
2026-10-09 23:20:21 0.1.41 43 105,771
2026-10-11 09:44:01 0.1.42 15 131,123
2026-10-11 10:53:33 0.1.42 27 119,199
2026-10-11 14:29:21 0.1.42 11 85,637
2026-10-12 01:13:49 0.1.42 19 140,142
2026-10-12 03:09:33 0.1.42 35 194,856
2026-10-13 12:07:34 0.1.43 19 61,928

coredumpctl confirms a SIGABRT at each timestamp (so the exit is the watchdog,
not a fault). All seven are with HSA_USERPTR_FOR_PAGED_MEM=0 set (applied
2026-10-08) — i.e. the #750/#1705 workaround does not fix this instance.

Note NRestarts=0 is misleading: bin/strata-server restarts the engine child
in-process, so systemd never sees the failure (worth not trusting when triaging).

Question

Is this the same class as #1569 / #1705 / #1691, or a distinct one? And given
MKheru's ROCm-10 result on #879, has anyone tried running the hang reproducer on
ROCm 10.0.0 libraries? If both the NaN poison and these prefill stalls are 7.2.x
runtime behaviour, that would explain why HSA_USERPTR_FOR_PAGED_MEM=0 moved the
gfx1100 case but not this one.

<!-- gh-comment-id:6144729632 --> @cjdell commented on GitHub (Oct 13, 2026): Sorry for the LLM generated response but it's better at reporting this stuff than me. I figured the more detail the better as agents are probably going to be ones reading it anyway: --- Same `exit code -6` on R9700 `gfx1201` (Linux, ROCm 7.2.3): 7 hangs in 5 days, and `HSA_USERPTR_FOR_PAGED_MEM=0` does **not** stop them Same GPU family and exit code as the OP here, on Linux. Reporting because #1705 (gfx1100) reports `HSA_USERPTR_FOR_PAGED_MEM=0` *ended* its hangs, and on this box it does not. ### Setup AMD Radeon AI PRO R9700 32 GB (`gfx1201`), single card; NixOS, kernel 7.2.9; ROCm `clr`/`hipblaslt`/`rocm-runtime` **7.2.3**; Strata 0.1.41 → 0.1.42 → **0.1.43**; Qwen3.8-Flash-Next UD-IQ4_XS native pack, `--max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --resident-budget-gib 55`; env includes `HSA_USERPTR_FOR_PAGED_MEM=0` and `LimitCORE=0` (dumps were 32 GB each). ### The hangs Every one is identical: engine watchdog (#29) `SIGABRT`s after `no progress for 60 s during a request (reading the prompt (batched): waiting for the GPU (attention, router) at layer N of the prompt chunk from token T)`, then within seconds amdgpu's MES fails `REMOVE_QUEUE`/`SUSPEND` and the kernel does a **MODE1 reset** (`VRAM is lost due to GPU reset!`). Always **prompt prefill**, never decode. | when (BST) | eng | layer | token offset | |---|---|---|---| | 2026-10-09 23:20:21 | 0.1.41 | 43 | 105,771 | | 2026-10-11 09:44:01 | 0.1.42 | 15 | 131,123 | | 2026-10-11 10:53:33 | 0.1.42 | 27 | 119,199 | | 2026-10-11 14:29:21 | 0.1.42 | 11 | 85,637 | | 2026-10-12 01:13:49 | 0.1.42 | 19 | 140,142 | | 2026-10-12 03:09:33 | 0.1.42 | 35 | 194,856 | | 2026-10-13 12:07:34 | 0.1.43 | 19 | 61,928 | `coredumpctl` confirms a `SIGABRT` at each timestamp (so the exit is the watchdog, not a fault). **All seven are with `HSA_USERPTR_FOR_PAGED_MEM=0` set** (applied 2026-10-08) — i.e. the #750/#1705 workaround does not fix this instance. Note `NRestarts=0` is misleading: `bin/strata-server` restarts the engine child in-process, so systemd never sees the failure (worth not trusting when triaging). ### Question Is this the same class as #1569 / #1705 / #1691, or a distinct one? And given MKheru's ROCm-10 result on #879, has anyone tried running the hang reproducer on ROCm 10.0.0 libraries? If both the NaN poison and these prefill stalls are 7.2.x runtime behaviour, that would explain why `HSA_USERPTR_FOR_PAGED_MEM=0` moved the gfx1100 case but not this one.
Author
Owner

@CAarset commented on GitHub (Oct 13, 2026):

I'm currently in a rush, so I don't have the time for a full report, but I may have found a solution: Compiling different advice from different sources, I attempted

"env": {
"STRATA_WATCHDOG_S": "0",
"GPU_PINNED_MIN_XFER_SIZE": "1048576",
"HSA_USERPTR_FOR_PAGED_MEM": "0",
"STRATA_HIP_WMMA": "1"
}

along with the previous changes, and have now had IQ3_S with 256K context size running stall-free for almost an hour. Since @cjdell claims HSA_USERPTR_FOR_PAGED_MEM=0 doesn't help, it is possible that GPU_PINNED_MIN_XFER_SIZE=1048576 did. See attached config file for full details. I also ran --calibrate and built the gfx1201 hipBLASLt tables from tools/hip.

I will run a full diff-by-diff test later, but figured I'd post this here so others can see if it helps them in the short run.

Files

Minor, probably unrelated bug: Copying terminal output with Ctrl+Shift+A Ctrl+Shift+C seems to have frozen Strata (not a Ctrl-C exit, just silently frozen).

<!-- gh-comment-id:6145778642 --> @CAarset commented on GitHub (Oct 13, 2026): I'm currently in a rush, so I don't have the time for a full report, but I may have found a solution: Compiling different advice from different sources, I attempted > "env": { > "STRATA_WATCHDOG_S": "0", > "GPU_PINNED_MIN_XFER_SIZE": "1048576", > "HSA_USERPTR_FOR_PAGED_MEM": "0", > "STRATA_HIP_WMMA": "1" > } along with the previous changes, and have now had IQ3_S with 256K context size running stall-free for almost an hour. Since @cjdell claims `HSA_USERPTR_FOR_PAGED_MEM=0` doesn't help, it is possible that `GPU_PINNED_MIN_XFER_SIZE=1048576` did. See attached config file for full details. I also ran --calibrate and built the gfx1201 hipBLASLt tables from tools/hip. I will run a full diff-by-diff test later, but figured I'd post this here so others can see if it helps them in the short run. ## Files - Config: [strata-iq3_s.json](https://github.com/user-attachments/files/33385114/strata-iq3_s.json) - Log (in progress): [strata-iq3_s.log](https://github.com/user-attachments/files/33385260/strata-iq3_s.log) - Raw Strata terminal print (in progress): [strata_terminal_print.txt](https://github.com/user-attachments/files/33385345/strata_terminal_print.txt) Minor, probably unrelated bug: Copying terminal output with Ctrl+Shift+A Ctrl+Shift+C seems to have frozen Strata (not a Ctrl-C exit, just silently frozen).
Author
Owner

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

Thanks @CAarset for the full terminal print. One thing stands out in it: every stalled read sits at exactly 6,954 tokens, whatever the prompt length (7,886, 9,357, 10,239, 18,346). Each of those requests is a new conversation (the harness's subagent) that shares its system prompt and tools with the main one. So the engine continues from a saved 6,954-token start, and the read of the rest never moves. The exit code -6 is the engine's own watchdog ending a read that made no progress.

We tried to reproduce it on an R9700 (gfx1201, the same chip family as your 9070 XT) with your config: Q2_0, --mmap-experts, 256K context, --kv int8, the card cut to ~16 GB with --vram-reserve-mib, and the server and engine limited to 30 GB of RAM. The session was a main conversation growing to 74K tokens, a subagent with the same system prompt every third turn, and a client that dropped a request mid-read every fourth turn. That was 21 requests and 3 drops with no stall, so we cannot reproduce it yet.

Two things would help:

  • The engine log (strata-q2_0.log) of one stalled request: the lines from the request's start to the stall report.
  • Whether it still happens with "--prompt-cache", "0" added to the args in strata-q2_0.json. That turns off the conversation checkpoints the engine continues from; if the stall goes away, we know where to look.
<!-- gh-comment-id:6153452318 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks @CAarset for the full terminal print. One thing stands out in it: every stalled read sits at exactly 6,954 tokens, whatever the prompt length (7,886, 9,357, 10,239, 18,346). Each of those requests is a new conversation (the harness's subagent) that shares its system prompt and tools with the main one. So the engine continues from a saved 6,954-token start, and the read of the rest never moves. The exit code -6 is the engine's own watchdog ending a read that made no progress. We tried to reproduce it on an R9700 (gfx1201, the same chip family as your 9070 XT) with your config: Q2_0, `--mmap-experts`, 256K context, `--kv int8`, the card cut to ~16 GB with `--vram-reserve-mib`, and the server and engine limited to 30 GB of RAM. The session was a main conversation growing to 74K tokens, a subagent with the same system prompt every third turn, and a client that dropped a request mid-read every fourth turn. That was 21 requests and 3 drops with no stall, so we cannot reproduce it yet. Two things would help: - The engine log (`strata-q2_0.log`) of one stalled request: the lines from the request's start to the stall report. - Whether it still happens with `"--prompt-cache", "0"` added to the args in `strata-q2_0.json`. That turns off the conversation checkpoints the engine continues from; if the stall goes away, we know where to look.
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:6156137779 --> @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.
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#627
No description provided.