Accurate benchmarking for Rockchip RK3588 models on real hardware.
Project details
rk-bench offers a precise leaderboard for evaluating public models on Rockchip RK3588 and Qualcomm QCS6490 edge NPUs. By utilizing real hardware and a standardized protocol, it reveals accurate latency figures and CPU-fallback details, ensuring reliable comparisons without vendor manipulation.
rk-bench is an innovative leaderboard designed to evaluate public models on edge Neural Processing Units (NPUs), specifically for Rockchip RK3588 and Qualcomm QCS6490 platforms. This repository provides accurate, hardware-measured latency metrics (p50/p95), CPU fallback assessments, and memory usage statistics, all based on a standardized testing protocol.
The benchmark ensures transparency and reliability by generating metrics in real-time on actual hardware. Every measurement reflects true performance rather than estimations, with latency figures derived from the NPU runtime's own performance counters and detailed CPU fallback analysis to identify how efficiently models utilize the NPU versus the CPU.
To get started with rk-bench, utilize the command below to benchmark a model directly on the Rockchip board:
PYTHONPATH=src python3 -m rkbench run yolov8n.rknn --name YOLOv8n --task detect \
--soc rk3588 --json report.json
The rk-bench repository includes a GenAI leaderboard that details performance metrics for LLM/VLM models on edge NPUs, shedding light on benchmarks that vendors typically do not disclose. For instance, it features measured results for multiple models, including the Qwen3-0.6B and Llama 3.2, highlighting prefill and decode tokens per second, along with their operational status.
| Model | Chip | Prefill (tok/s) | Decode (tok/s) | Status |
|---|---|---|---|---|
| Qwen3-0.6B | QCS6490 | 1,555 | 24.6 | measured |
| Llama 3.2 1B Instruct | QCS6490 | 1,024 | 16.4 | measured |
| Qwen3-0.6B | RK3588 | 281 | 15.59 | measured |
The leaderboard section presents a detailed comparison of various models, their tasks, input specifications, precision, and performance metrics, allowing users to make informed decisions about which model to utilize based on their specific requirements.
| Model | Task | Input | Precision | p50 (ms) | p95 (ms) | FPS (p50) | Verdict |
|---|---|---|---|---|---|---|---|
| MobileNetV2 | classify | 1x224x224x3 | INT8 | 4.14 | 4.65 | 241.3 | MIXED |
| YOLOv8n | detect | 1x640x640x3 | INT8 | 19.17 | 19.76 | 52.2 | NPU_ONLY |
Each measurement takes into account rigorous methodologies, including multiple independent sessions and a detailed protocol to ensure accuracy. The approach used by rk-bench avoids reliance on single sessions or vendor-derived data, contributing to its reputation as a credible and reliable resource in the field of edge AI benchmarking. Comprehensive documentation explains the metrics and methods used, ensuring users fully understand the testing environment and processes.
rk-bench is developed in conjunction with the RK Edge Doctor project and encourages community contributions. Users can add new models or boards by submitting benchmark reports. The repository also features a curated list of related projects and tools, enhancing the overall ecosystem for Rockchip developers.
For those engaged in edge computing or AI model deployment on Rockchip hardware, rk-bench serves as an essential tool for obtaining accurate performance metrics and fostering informed development decisions.
Comments
0Start the conversation
Share the first comment.