rknn-toolkit2  by airockchip

SDK for deploying AI models to Rockchip NPUs

created 1 year ago
1,965 stars

Top 22.9% on sourcepulse

GitHubView on GitHub
Project Summary

This toolkit enables the deployment of AI models on Rockchip NPUs, targeting developers and researchers working with embedded systems and edge AI. It facilitates model conversion, inference, and performance evaluation, accelerating AI application implementation on Rockchip hardware.

How It Works

The RKNN-Toolkit2 operates by converting trained AI models into an RKNN format. This proprietary format is then optimized for Rockchip's Neural Processing Units (NPUs). Users interact with the toolkit via Python or C APIs on the development board for inference, while the RKNPU kernel driver handles direct hardware interaction. This approach allows for efficient execution of AI workloads on Rockchip's specialized hardware.

Quick Start & Requirements

Highlighted Details

  • Supports a wide range of Rockchip platforms including RK3588, RK3576, RK3566/RK3568, RV1103/RV1106, and RV1126B.
  • v2.3.2 includes support for RV1126B, improved einsum and Norm operations, automatic mixed precision, and enhanced graph optimization.
  • Not compatible with the older RKNN-Toolkit.
  • RKNN-LLM SDK available for Large Language Model deployment.

Maintenance & Community

  • Active development with recent updates (v2.3.2).
  • Community support via QQ groups (e.g., 958083853).
  • Feedback recommended via Redmine (requires account).

Licensing & Compatibility

  • License details are not explicitly stated in the README.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The README does not specify the license, making commercial use and closed-source integration uncertain. Support for older Rockchip platforms (RK1808, RV1109/RV1126, RK3399Pro) requires using the legacy rknn-toolkit repository.

Health Check
Last commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
20
Star History
335 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
10 more.

open-r1 by huggingface

0.3%
25k
SDK for reproducing DeepSeek-R1
created 6 months ago
updated 22 hours ago
Feedback? Help us improve.