MegEngine
megengine.org.cn
- Free plan
- Windows
- macOS
- Linux
- iPhone and iPad
- Android
- Self-hosted
What MegEngine is
MegEngine is a free, open-source deep learning framework for model development and deployment, with automatic differentiation and local training. It uses the same model for training and inference, including quantization and dynamic shapes. The project says its DTR feature can cut GPU memory use to one-third of the original. Inference support spans x86, Arm, CUDA, and ROCm, though GPU use requires compatible device drivers. Python packages are listed for 64-bit Linux and Windows, macOS 10.14 or later, and Android 7 or later; macOS and Android installations are CPU-only. The installation guide lists Python 3.6–3.9. MegEngine Lite provides C/C++, Rust, and Python runtimes for deployment. Related tools include MgeConvert for translating between MegEngine and third-party model formats, MegFile for S3, HTTP, and local file access, and MegFlow for streaming computation in AI applications. The official site presents tutorials for beginners and advanced developers. Support options include GitHub issues, a forum, a QQ group, and email. The project also advises checking environment, model, data, and privacy risks and recommends isolating models from other sources with sandboxing.
Who it suits
MegEngine suits developers who need a framework for training and deploying deep learning models, from beginners to advanced users. Its deployment runtimes and related conversion and file tools may also suit teams integrating models into applications.
Good to know, and what to watch
- Automatic differentiation and local training
- Shared model for training and inference
- Inference support for x86, Arm, CUDA, and ROCm
- Deployment runtimes for C/C++, Rust, and Python
- Free and open source
- Python package guide lists only Python 3.6–3.9
- macOS and Android installs are CPU-only
- GPU use requires compatible device drivers
Plans
Every plan and priceMegEngine
Free plan
The verdict
MegEngine covers model training and deployment, with tools for conversion, file access, and streaming computation. Check its listed Python and platform constraints, along with the project’s security guidance, before adoption.
What the maker publishes
- Deployment runtimes
- MegEngine Lite offers C/C++, Rust and Python runtimes for model deployment. source
- GPU memory
- The project says enabling DTR can reduce GPU memory use to one-third of the original. source
- Inference hardware
- The project describes inference support across x86, Arm, CUDA and ROCm. source
- Install platforms
- Python packages are listed for 64-bit Linux and Windows, macOS 10.14+ and Android 7+, with macOS and Android limited to CPU-only installation. source
- Install requirements
- The installation guide lists Python 3.6–3.9 and says GPU use requires compatible device drivers. source
- Integrations
- MegFile provides Python file interfaces for S3, HTTP and local files. source
- Intended users
- The official site presents tutorials for beginners and advanced developers and describes the framework as supporting model development through deployment. source
- Model conversion
- MgeConvert converts between MegEngine and third-party model formats. source
- Purpose
- MegEngine is a fast, scalable deep learning framework with automatic differentiation. source
- Security guidance
- MegEngine advises users to check environment, model, data and privacy risks and recommends sandboxing models from other sources. source
- Support
- The project lists GitHub issues, a forum, QQ group and [email protected] for contact. source
- Training and inference
- The framework uses one model for both training and inference, including quantization and dynamic shapes. source
- Video processing
- MegFlow is a streaming computation framework for AI applications. source
- Vulnerability reporting
- The security page directs vulnerability reports to [email protected] and says the team replies within 24 hours of receiving a report. source
Checked against the maker's pages on 2 Oct 2026.