Mobile AI Compute Engine (or MACE for short) is a deep learning inference framework optimized for mobile heterogeneous computing on Android, iOS, Linux and Windows devices. Runtime is optimized with NEON, OpenCL and Hexagon, and Winograd algorithm is introduced to speed up convolution operations. The initialization is also optimized to be faster. Chip-dependent power options like big.LITTLE scheduling, Adreno GPU hints are included as advanced APIs. UI responsiveness guarantee is sometimes obligatory when running a model. Mechanism like automatically breaking OpenCL kernel into small units is introduced to allow better preemption for the UI rendering task. Graph level memory allocation optimization and buffer reuse are supported. The core library tries to keep minimum external dependencies to keep the library footprint small.

Features

  • Model protection has been the highest priority since the beginning of the design
  • Various techniques are introduced like converting models to C++ code and literal obfuscations
  • Good coverage of recent Qualcomm, MediaTek, Pinecone and other ARM based chips
  • CPU runtime supports Android, iOS and Linux
  • TensorFlow, Caffe and ONNX model formats are supported.
  • Runtime is optimized with NEON, OpenCL and Hexagon

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow MACE

MACE Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MACE!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Windows

Programming Language

C++

Related Categories

C++ Frameworks, C++ Machine Learning Software, C++ Deep Learning Frameworks, C++ LLM Inference Tool

Registered

2021-12-13