I am trying to install dragon-npu but it keeps failing, see below. When I manually edit the import in dragon_npu and change them from from dragon_npu_cli import main to from dragon_npu.dragon_npu_cli import main and also all other dragon_npu imports in the python scripts, it works "fine".
[INFO] Checking system requirements...
[SUCCESS] Python 3.12 detected
[INFO] Detecting NPU hardware...
[SUCCESS] AMD XDNA NPU detected
# snip #
[WARNING] Failed to import DragonNPU core
[WARNING] DragonNPU CLI not working
Traceback (most recent call last):
File "/home/loud/.dragon-npu-env/bin/dragon-npu", line 3, in <module>
from dragon_npu_cli import main
ModuleNotFoundError: No module named 'dragon_npu_cli'
After the edit, dragon-npu status reports:
❯ dragon-npu status
==================================================
NPU Status
==================================================
2025-09-25 15:04:10,284 - WARNING - Driver integration initialization failed: name 'get_npu_integration' is not defined
NPU Information
┏━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Property ┃ Value ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Vendor │ amd_xdna │
│ Available │ ✅ Yes │
│ Compute Units │ 32 │
│ Memory │ 768 MB │
│ Max Frequency │ 1500 MHz │
│ INT8 Support │ ✅ │
│ FP16 Support │ ✅ │
│ BF16 Support │ ✅ │
└───────────────┴──────────┘
I am trying to install
dragon-npubut it keeps failing, see below. When I manually edit the import indragon_npuand change them fromfrom dragon_npu_cli import maintofrom dragon_npu.dragon_npu_cli import mainand also all otherdragon_npuimports in the python scripts, it works "fine".After the edit,
dragon-npustatus reports:❯ dragon-npu status ================================================== NPU Status ================================================== 2025-09-25 15:04:10,284 - WARNING - Driver integration initialization failed: name 'get_npu_integration' is not defined NPU Information ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ Property ┃ Value ┃ ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━┩ │ Vendor │ amd_xdna │ │ Available │ ✅ Yes │ │ Compute Units │ 32 │ │ Memory │ 768 MB │ │ Max Frequency │ 1500 MHz │ │ INT8 Support │ ✅ │ │ FP16 Support │ ✅ │ │ BF16 Support │ ✅ │ └───────────────┴──────────┘