#164 · Primary category: Inference & Local Deploy

mace

deep-learning hvx machine-learning neon neural-network opencl

MACE is a deep learning inference framework optimized for mobile heterogeneous computing platforms.

Project last updated:06/17/24

GitHub Stars

5.0K

Forks

819

Contributors

69

License

Apache-2.0

Why we included this project

Mobile teams that want to run neural networks directly on phones or tablets will get the most out of this one. MACE is an inference engine for Android, iOS, Linux, and Windows, so it fits any project where a model has to execute on the device itself. It leans on NEON for the CPU, OpenCL for GPUs, and Qualcomm's Hexagon DSPs, and it applies the Winograd algorithm to make convolutions faster. Power and responsiveness get real attention: big.LITTLE scheduling and Adreno GPU hints help keep energy use in check, and OpenCL kernels can be split into small preemptible units so the UI stays fluid while inference runs. It can also protect models by converting them to C++ code with literal obfuscation. And because it reads TensorFlow, Caffe, and ONNX formats, it is a straightforward way to take existing trained models and ship them to resource-constrained devices.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category