Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:npu:npu-sdk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim4:npu:npu-sdk [2024/04/18 04:32]
nick
products:sbc:vim4:npu:npu-sdk [2025/05/08 03:08] (current)
nick
Line 1: Line 1:
 ~~tag>VIM4 NPU Docker ~~ ~~tag>VIM4 NPU Docker ~~
  
-====== NPU Model Convert ======+**Doc for version ddk-3.4.7.7** 
 + 
 +====== VIM4 NPU Model Convert ======
  
 {{indexmenu_n>2}} {{indexmenu_n>2}}
Line 20: Line 22:
  
 ```shell ```shell
-docker pull docker pull numbqq/npu-vim4+docker pull numbqq/npu-vim4
 ``` ```
  
 ===== Get Convert Tool ===== ===== Get Convert Tool =====
 +
 +You can find the SDK here: [[dl>products/vim4/tools/npu-sdk/]]
  
 ```shell ```shell
-git clone https://gitlab.com/khadas/vim4_npu_sdk.git +wget https://dl.khadas.com/products/vim4/tools/npu-sdk/vim4_npu_sdk-ddk-3.4.7.7-250508.tgz 
-$ cd vim4_npu_sdk+$ tar xvzf vim4_npu_sdk-ddk-3.4.7.7-250508.tgz 
 +$ cd vim4_npu_sdk-ddk-3.4.7.7-250508
 $ ls $ ls
-adla-toolkit-binary  adla-toolkit-binary-1.2.0. convert-in-docker.sh  Dockerfile  docs  README.md+adla-toolkit-binary  adla-toolkit-binary-3.1.7. convert-in-docker.sh  Dockerfile  docs  README.md
 ``` ```
  
Line 35: Line 40:
   * ''adla-toolkit-binary/bin'' - SDK tools required for model conversion   * ''adla-toolkit-binary/bin'' - SDK tools required for model conversion
   * ''adla-toolkit-binary/demo'' - Conversion examples   * ''adla-toolkit-binary/demo'' - Conversion examples
 +
 +<WRAP important>
 +If your kernel is older than 241129, please use branch npu-ddk-1.7.5.5.
 +</WRAP>
  
 ===== Convert Model ===== ===== Convert Model =====
Line 41: Line 50:
  
 ```shell ```shell
-./convert-in-docker.sh+bash convert-in-docker.sh normal
 ``` ```
  
Last modified: 2024/04/18 04:32 by nick