AI compiler stack for AI accelerators
Top 44.8% on sourcepulse
nncase is an open-source deep learning compiler stack designed for Kendryte AI accelerators, targeting developers working with embedded AI applications. It enables efficient deployment of neural networks on specialized hardware by compiling models from frameworks like TFLite, Caffe, and ONNX.
How It Works
nncase acts as a bridge between standard deep learning frameworks and Kendryte's AI hardware. It parses models, performs operator fusion and optimizations, and generates optimized code for the target accelerator. The compiler supports static memory allocation, float, and uint8 inference, and offers post-quantization capabilities with calibration datasets.
Quick Start & Requirements
pip install nncase
pip install nncase
followed by pip install nncase_kpu-2.x.x-py2.py3-none-win_amd64.whl
(downloadable from releases).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The source code for K510 and K230 chips is not open-source, preventing direct compilation of nncase for these specific accelerators. Users needing support for unsupported operators must request them or contribute PRs.
2 days ago
1 week