ryugyosoft commited on
Commit
32bc8ae
·
verified ·
1 Parent(s): 3d7e568

onwx' (onwx-dash) 0.8.8: Linux NPU's help falls back to GPU-owned shared buffers when the GPU cannot register the NPU's buffers (hipHostRegister failed)

Browse files
Files changed (3) hide show
  1. CHANGELOG.md +4 -0
  2. CHANGELOG_en.md +7 -0
  3. onwx/__init__.py +1 -1
CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
  # 変更履歴
2
 
 
 
 
 
3
  ## v0.8.7 (2026-11-06)
4
 
5
  - Linux:NPU の手伝いをオンにすると「NPU setup failed: No such library '.../onwx/bin/halo/lib/libxrt_core.so.2'」で NPU が使えず、GPU だけで動いていました。エンジンに同梱した XRT の一部(libxrt_coreutil)が読まれると、XRT は自分の本体をその隣から探すためです。PC に入っている XRT を先に読み込むようにしました。XRT がない PC では、今までどおり GPU だけで動きます
 
1
  # 変更履歴
2
 
3
+ ## v0.8.8 (2026-11-06)
4
+
5
+ - Linux:NPU の手伝いをオンにすると「NPU buffer setup failed: hipHostRegister of an NPU buffer failed」で NPU が使えないことがありました。NPU ドライバー(amdxdna)の版によっては、NPU 側で確保したメモリを GPU が登録できないためです。そのときは、GPU 側で確保したメモリを NPU と共有する方式(0.7.0 までの方式)に自動で切り替えるようにしました。エンジンのログに、切り替えたことと理由が 1 行出ます
6
+
7
  ## v0.8.7 (2026-11-06)
8
 
9
  - Linux:NPU の手伝いをオンにすると「NPU setup failed: No such library '.../onwx/bin/halo/lib/libxrt_core.so.2'」で NPU が使えず、GPU だけで動いていました。エンジンに同梱した XRT の一部(libxrt_coreutil)が読まれると、XRT は自分の本体をその隣から探すためです。PC に入っている XRT を先に読み込むようにしました。XRT がない PC では、今までどおり GPU だけで動きます
CHANGELOG_en.md CHANGED
@@ -1,5 +1,12 @@
1
  # Changelog
2
 
 
 
 
 
 
 
 
3
  ## v0.8.7 (2026-11-06)
4
 
5
  - Linux: with the NPU's help turned on, the NPU failed with "NPU setup failed: No such library
 
1
  # Changelog
2
 
3
+ ## v0.8.8 (2026-11-06)
4
+
5
+ - Linux: with the NPU's help on, the NPU could fail with "NPU buffer setup failed: hipHostRegister of an NPU buffer
6
+ failed": with some versions of the NPU driver (amdxdna), the GPU cannot register memory the NPU allocated. The engine
7
+ now falls back to memory the GPU allocates, shared with the NPU (the method up to 0.7.0), and logs one line saying so
8
+ and why
9
+
10
  ## v0.8.7 (2026-11-06)
11
 
12
  - Linux: with the NPU's help turned on, the NPU failed with "NPU setup failed: No such library
onwx/__init__.py CHANGED
@@ -4,7 +4,7 @@ Built on onwx (LLMs entirely on the AMD Ryzen AI NPU), whose NPU-only engines ar
4
 
5
  (The product's name is set here and in the install scripts. It was onwx-halo up to 0.6.1.)
6
  """
7
- __version__ = "0.8.7"
8
  NAME = "onwx-dash" # [halo] the product: its own install folder, settings, Start-menu entry, locks
9
  OLD_NAME = "onwx-halo" # [dash] the name up to 0.6.1 (its settings are taken over on the first start)
10
  TITLE = "onwx' (AMD Ryzen AI Radeon GPU + NPU)"
 
4
 
5
  (The product's name is set here and in the install scripts. It was onwx-halo up to 0.6.1.)
6
  """
7
+ __version__ = "0.8.8"
8
  NAME = "onwx-dash" # [halo] the product: its own install folder, settings, Start-menu entry, locks
9
  OLD_NAME = "onwx-halo" # [dash] the name up to 0.6.1 (its settings are taken over on the first start)
10
  TITLE = "onwx' (AMD Ryzen AI Radeon GPU + NPU)"