rknpu2-rs
Rust bindings for the Rockchip RKNN runtime API, for deploying deep learning models on Rockchip NPUs.
Active development- Organization
- Boundary Bit Labs
- Source
- github.com/boundarybitlabs/rknpu2-rs
- Stack
- Rust · bindgen
- Targets
- Rockchip NPUs (librknnrt / librknnmrt)
Safe, idiomatic Rust abstractions over the librknnrt.so C API from the Rockchip
rknpu2 SDK: loading models, setting inputs, running inference and reading outputs.
It includes both low-level -sys bindings and higher-level wrappers.
The bindings do not require redistributing the C headers from the rknpu2 SDK: the sys crate contains pre-generated bindgen bindings, so bindgen is not part of the build.