Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add RK356X NPU enable full steps #662

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/common/dev/_rknn-install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ Rockchip RK3566/RK3568 系列, RK3588 系列, RK3562 系列, RV1103/RV1106
### 板端安装 RKNN Toolkit Lite2 及其所需依赖

:::tip
RK356X 产品用户使用 NPU 前需要在终端使用 **rsetup** 开启 NPU: sudo rsetup -> overlays -> Enable NPU,最后重启系统。
RK356X 产品用户使用 NPU 前需要在终端使用 **rsetup** 开启 NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`,最后重启系统。

如 overlays 选项中无 `Enable NPU` 选项,请通过: sudo rsetup -> system -> System Update 升级系统, 重启后执行上述步骤开启 NPU。
如 overlays 选项中无 `Enable NPU` 选项,请通过: `sudo rsetup -> System -> System Update` 升级系统, 重启后执行上述步骤开启 NPU。
:::
:::info
Radxa 官方镜像已默认安装 RKNPU2 及其所需依赖,仅需安装 python3-rknnlite2,如无法运行可尝试注释命令
Expand Down
4 changes: 2 additions & 2 deletions docs/common/dev/_rknn-toolkit-lite2-yolov5.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ Radxa 已提供预转换好的 `yolov5s_rk35XX.rknn` 模型,用户可直接参
### 板端推理 YOLOv5

:::tip
RK356X 芯片用户使用 NPU 前需要在终端使用 **rsetup** 开启 NPU: sudo rsetup -> overlays -> Enable NPU,最后重启系统。
RK356X 产品用户使用 NPU 前需要在终端使用 **rsetup** 开启 NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`,最后重启系统。

如 overlays 选项中无 `Enable NPU` 选项,请通过: sudo rsetup -> system -> System Update 升级系统, 重启后执行上述步骤开启 NPU。
如 overlays 选项中无 `Enable NPU` 选项,请通过: `sudo rsetup -> System -> System Update` 升级系统, 重启后执行上述步骤开启 NPU。
:::

- (可选)下载 radxa 准备的 yolov5s rknn 模型
Expand Down
6 changes: 6 additions & 0 deletions docs/common/dev/_rknn-toolkit2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ python test.py

<TabItem value="board" label="板子端 RKNN Toolkit">

:::tip
RK356X 产品用户使用 NPU 前需要在终端使用 **rsetup** 开启 NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`,最后重启系统。

如 overlays 选项中无 `Enable NPU` 选项,请通过: `sudo rsetup -> System -> System Update` 升级系统, 重启后执行上述步骤开启 NPU。
:::

## 安装 RKNN Toolkit Lite2 及依赖

:::info
Expand Down
4 changes: 2 additions & 2 deletions docs/common/dev/_rknn-ultralytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
## 板端推理 YOLOv11

:::tip
RK356X 芯片用户使用 NPU 前需要在终端使用 **rsetup** 开启 NPU: sudo rsetup -> overlays -> Enable NPU,最后重启系统。
RK356X 产品用户使用 NPU 前需要在终端使用 **rsetup** 开启 NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`,最后重启系统。

如 overlays 选项中无 `Enable NPU` 选项,请通过: sudo rsetup -> system -> System Update 升级系统, 重启后执行上述步骤开启 NPU。
如 overlays 选项中无 `Enable NPU` 选项,请通过: `sudo rsetup -> System -> System Update` 升级系统, 重启后执行上述步骤开启 NPU。
:::

- (可选)下载 radxa 准备的 yolov11n rknn 模型
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ The overall framework is as follows:
### Install RKNN Toolkit Lite2 and its dependencies on the board

:::tip
For users of RK356X products, you need to enable the NPU in the terminal using **rsetup** before using the NPU: `sudo rsetup -> overlays -> Enable NPU`, then restart the system.
For users of RK356X products, you need to enable the NPU in the terminal using **rsetup** before using the NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`, then restart the system.

If there is no `Enable NPU` option in the overlays options, please update the system via: `sudo rsetup -> system -> System Update`, restart, and execute the above steps to enable the NPU.
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ Radxa provides a pre-converted `yolov5s_rk35XX.rknn` model. Users can directly s
### On-Device YOLOv5 Inference

:::tip
For RK356X chips, enable the NPU before use: run `sudo rsetup -> overlays -> Enable NPU` and reboot the system.
If the `Enable NPU` option is missing, update the system via `sudo rsetup -> system -> System Update` and repeat the steps.
For users of RK356X products, you need to enable the NPU in the terminal using **rsetup** before using the NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`, then restart the system.

If there is no `Enable NPU` option in the overlays options, please update the system via: `sudo rsetup -> system -> System Update`, restart, and execute the above steps to enable the NPU.
:::

- (Optional) Download pre-converted YOLOv5s RKNN models provided by Radxa:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ After the conversion model and inference script test.py is run successfully, the

<TabItem value="board" label="RKNN Toolkit on board">

:::tip
For users of RK356X products, you need to enable the NPU in the terminal using **rsetup** before using the NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`, then restart the system.

If there is no `Enable NPU` option in the overlays options, please update the system via: `sudo rsetup -> system -> System Update`, restart, and execute the above steps to enable the NPU.
:::

## Install RKNN Toolkit Lite2 and dependencies

:::info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Currently, the [Ultralytics](https://docs.ultralytics.com/integrations/rockchip-
## YOLOv11 Inference on Board

:::tip
For RK356X chip users, before using the NPU, enable it through the terminal using **rsetup**: `sudo rsetup -> overlays -> Enable NPU`, and then reboot the system.
For users of RK356X products, you need to enable the NPU in the terminal using **rsetup** before using the NPU: `sudo rsetup -> Overlays -> Manage overlays -> Enable NPU`, then restart the system.

If the `Enable NPU` option is missing in overlays, update the system via: `sudo rsetup -> system -> System Update`. Reboot and perform the above steps to enable the NPU.
If there is no `Enable NPU` option in the overlays options, please update the system via: `sudo rsetup -> system -> System Update`, restart, and execute the above steps to enable the NPU.
:::

- (Optional) Download the YOLOv11n RKNN model provided by Radxa:
Expand Down
Loading