This shows you the differences between two versions of the page.
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> | ~~tag> | ||
- | ====== NPU Model Convert ====== | + | **Doc for version ddk-3.4.7.7** |
+ | |||
+ | ====== | ||
{{indexmenu_n> | {{indexmenu_n> | ||
Line 20: | Line 22: | ||
```shell | ```shell | ||
- | docker pull docker pull numbqq/ | + | docker pull numbqq/ |
``` | ``` | ||
===== Get Convert Tool ===== | ===== Get Convert Tool ===== | ||
+ | |||
+ | You can find the SDK here: [[dl> | ||
```shell | ```shell | ||
- | $ git clone https://gitlab.com/khadas/ | + | $ wget https://dl.khadas.com/products/ |
- | $ 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 |
``` | ``` | ||
Line 35: | Line 40: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | <WRAP important> | ||
+ | If your kernel is older than 241129, please use branch npu-ddk-1.7.5.5. | ||
+ | </ | ||
===== Convert Model ===== | ===== Convert Model ===== | ||
Line 41: | Line 50: | ||
```shell | ```shell | ||
- | ./convert-in-docker.sh | + | bash convert-in-docker.sh |
``` | ``` | ||