MegEngine / MegCC

MegCC是一个运行时超轻量,高效,移植简单的深度学习模型编译器
Apache License 2.0
467 stars 55 forks source link
arm compiler deep-learning high-performance machine-learning mlir model-compiler
logo

Chinese README

What is MegCC

MegCC is a deep-learning model compiler with the following features:

MegCC Structure

megcc_struct

MegCC compiler is developed based on MLIR infrastructure. Most of the code generated by the compiler is optimized by hand. MegCC supports neural networks that contain tensors in static shape or dynamic shape. To help achieve the minimum binary size, it also supports generating the necessary CV operators so that you don't need to link another giant CV lib.

When compiling a model:

MegCC runtime loads the model and uses the generated kernels to finish the model inference. Only 81KB binary size is required to inference MobileNetV1 (in fp32).

MegCC supports Arm64/ArmV7/X86/BareMatal backend. You may want to check supported operator lists.

Documentation

Get MegCC

How to use MegCC

License

MegCC is licensed under the Apache License, Version 2.0

Thanks a lot, please enjoy it