Problem Description
Running any model (even 0.8b) on FastFlowLM v1.0.4 causes a severe NPU hardware disconnect and kernel deadlock. The XRT driver reports 0xc00002b6 (STATUS_DEVICE_REMOVED), indicating the NPU crashed or was forcefully kicked offline by the Windows kernel.
Because the NPU drops offline while memory mapping (mmap) is active, it completely hangs the NTFS file system, causing runlist error and a system-wide deadlock. The flm.exe process becomes an unkillable zombie process (cannot be terminated via taskkill /F), requiring a hard physical reboot.
To Reproduce
System Environment:
OS: Windows 11
Hardware: MECHREVO XINGYAO 15 (AMD Ryzen AI 9 365)
BIOS Version: Updated to the latest official version
AMD IPU Driver: Updated to the latest official Ryzen AI driver
FLM Version: v1.0.4 (Bugged) / v1.0.3 (Works perfectly)
Additional Context (Important Workaround)
I have updated my motherboard BIOS and AMD NPU drivers to the latest versions.
After completely uninstalling v1.0.4, clearing the .flm\models cache, and downgrading to v1.0.3, the exact same model (qwen3.5:9b) runs perfectly stable on the NPU without any crashes or garbage output. This confirms the issue is strictly isolated to the XRT/NPU invocation updates introduced in v1.0.4.
Operating System
Windows 11
CPU
AMD Ryzen AI 9 365
GPU
AMD Radeon 880M
ROCm Version
N/A (Windows 11 XRT driver, NPU-only path)
ROCm Component
No response
Steps to Reproduce
Environment: AMD Ryzen AI NPU (Tested on MECHREVO XINGYAO Series, Ryzen AI 9 365).
Install FLM v1.0.4.
Run command: flm run qwen3.5:0.8b (Even with --pmode balanced -c 4096).
Type hello.
The terminal throws XRT errors, Ctrl+C fails, and the system deadlocks.
[FLM] Prefill chunk 1/1 with 9 tokens
XRT build version: 2.19.0
Build hash: 77c7088d804602a53c3eb489b9cb37b709bcd751
Build date: 2025-12-04 16:52:22
[XRT] ERROR: Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
[XRT] ERROR: Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
[FLM] Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
[ERROR] Insertion error: Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
(Note: 豸ѱɾ is GBK encoding for "设备已被删除" / "Device has been removed").
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
rocminfo --support output
Additional Information
No response
Problem Description
Running any model (even 0.8b) on FastFlowLM v1.0.4 causes a severe NPU hardware disconnect and kernel deadlock. The XRT driver reports 0xc00002b6 (STATUS_DEVICE_REMOVED), indicating the NPU crashed or was forcefully kicked offline by the Windows kernel.
Because the NPU drops offline while memory mapping (mmap) is active, it completely hangs the NTFS file system, causing runlist error and a system-wide deadlock. The flm.exe process becomes an unkillable zombie process (cannot be terminated via taskkill /F), requiring a hard physical reboot.
To Reproduce
System Environment:
OS: Windows 11
Hardware: MECHREVO XINGYAO 15 (AMD Ryzen AI 9 365)
BIOS Version: Updated to the latest official version
AMD IPU Driver: Updated to the latest official Ryzen AI driver
FLM Version: v1.0.4 (Bugged) / v1.0.3 (Works perfectly)
Additional Context (Important Workaround)
I have updated my motherboard BIOS and AMD NPU drivers to the latest versions.
After completely uninstalling v1.0.4, clearing the .flm\models cache, and downgrading to v1.0.3, the exact same model (qwen3.5:9b) runs perfectly stable on the NPU without any crashes or garbage output. This confirms the issue is strictly isolated to the XRT/NPU invocation updates introduced in v1.0.4.
Operating System
Windows 11
CPU
AMD Ryzen AI 9 365
GPU
AMD Radeon 880M
ROCm Version
N/A (Windows 11 XRT driver, NPU-only path)
ROCm Component
No response
Steps to Reproduce
Environment: AMD Ryzen AI NPU (Tested on MECHREVO XINGYAO Series, Ryzen AI 9 365).
Install FLM v1.0.4.
Run command: flm run qwen3.5:0.8b (Even with --pmode balanced -c 4096).
Type hello.
The terminal throws XRT errors, Ctrl+C fails, and the system deadlocks.
[FLM] Prefill chunk 1/1 with 9 tokens
XRT build version: 2.19.0
Build hash: 77c7088d804602a53c3eb489b9cb37b709bcd751
Build date: 2025-12-04 16:52:22
[XRT] ERROR: Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
[XRT] ERROR: Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
[FLM] Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
[ERROR] Insertion error: Failed to submit command to hw queue (0xc00002b6): 豸ѱɾ
(Note: 豸ѱɾ is GBK encoding for "设备已被删除" / "Device has been removed").
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
rocminfo --support output
Additional Information
No response