XiaoMi/mace
XiaoMi/mace has 5,055 GitHub stars and 821 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-09 13:38 UTC. Last push 2024-06-17.
MACE는 모바일 이기종 컴퓨팅 플랫폼에 최적화된 딥러닝 추론 프레임워크입니다.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- 업데이트 지연
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Documentation | FAQ | Release Notes | Roadmap | MACE Model Zoo | Demo | Join Us | 中文
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. The design focuses on the following targets:
- Performance
- 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.
- Power consumption
- Chip dependent power options like big.LITTLE scheduling, Adreno GPU hints are included as advanced APIs.
- Responsiveness
- 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.
- Memory usage and library footprint
- 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.
- Model protection
- 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.
- Platform coverage
- Good coverage of recent Qualcomm, MediaTek, Pinecone and other ARM based chips. CPU runtime supports Android, iOS and Linux.
- Rich model formats support
- TensorFlow, Caffe and ONNX model formats are supported.
Getting Started
Performance
MACE Model Zoo contains several common neural networks and models which will be built daily against a list of mobile phones. The benchmark results can be found in the CI result page (choose the latest passed pipeline, click release step and you will see the benchmark results). To get the comparison results with other frameworks, you can take a look at MobileAIBench project.
Communication
- GitHub issues: bug reports, usage issues, feature requests
- Slack: mace-users.slack.com
- QQ群: 756046893
Contributing
Any kind of contribution is welcome. For bug reports, feature requests, please just open an issue without any hesitation. For code contributions, it's strongly suggested to open an issue for discussion first. For more details, please refer to the contribution guide.
License
Acknowledgement
MACE depends on several open source projects located in the third_party directory. Particularly, we learned a lot from the following projects during the development:
- Qualcomm Hexagon NN Offload Framework: the Hexagon DSP runtime depends on this library.
- TensorFlow, Caffe, SNPE, ARM ComputeLibrary, ncnn, ONNX and many others: we learned many best practices from these projects.
Finally, we also thank the Qualcomm, Pinecone and MediaTek engineering teams for their help.
관련 프로젝트 살펴보기
tensorflow/tensorflow
모두를 위한 오픈소스 머신러닝 프레임워크
201,427 스타huggingface/transformers
🤗 Transformers: 텍스트, 비전, 오디오, 멀티모달 분야의 최첨단 머신러닝 모델을 위한 모델 정의 프레임워크로, 추론과 학습을 모두 지원합니다.
168,711 스타AUTOMATIC1111/stable-diffusion-webui
Stable Diffusion 웹 UI
165,274 스타Comfy-Org/ComfyUI
그래프와 노드로 구성된 인터페이스를 갖춘, 가장 강력하고 모듈성이 뛰어난 확산 모델 GUI, API, 백엔드입니다. 세계에서 가장 빠른 로컬 추론 엔진입니다.
146,024 스타