Skip to content

Rust bindings for the Rockchip RKNN Runtime API (librknnrt.so), used to deploy deep learning models on Rockchip NPUs. Part of the broader rknpu2 SDK.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

boundarybitlabs/rknpu2-rs

Repository files navigation

rknpu2-rs

Rust bindings for the Rockchip RKNN API (rknpu2), targeting deployment of deep learning models on Rockchip NPUs.

These bindings do not require redistributing the C headers from the Rockchip rknpu2 SDK. The sys crate contains bindgen bindings, but bindgen is not part of the build process.

Requirements

  • Rockchip NPU compatible with librknnrt or librknnmrt libraries.

Features

  • Safe and idiomatic Rust abstractions over the librknnrt.so C API
  • Support for loading models, setting inputs, running inference, and reading outputs
  • There will be Zero-copy input/output buffer support
  • Includes both low-level -sys bindings and higher-level wrappers
  • Based on the rknpu2 SDK v2.3.2

Version Compatibility

These bindings are aligned with the 2.3.2 release of the RKNN API. rknn C API v2.3.2 PDF

Usage

Coming soon!

About

Rust bindings for the Rockchip RKNN Runtime API (librknnrt.so), used to deploy deep learning models on Rockchip NPUs. Part of the broader rknpu2 SDK.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages