README.md

    MegEngine

    Documentation | 中文文档

    MegEngine is a fast, scalable and easy-to-use deep learning framework with 3 key features.

    • Unified core for both training and inference
      • You can represent quantization/dynamic shape/image pre-processing and even derivation in one model.
      • After training, just put everything into your model and inference it on any platform at ease. Speed and precision problems won't bother you anymore due to the same core inside. Check the usage here.
    • Lowest hardware requirements helped by algorithms
      • In training, GPU memory usage could go down to one-third at the cost of only one additional line, which enables the DTR algorithm.
      • Gain the lowest memory usage when inferencing a model by leveraging our unique pushdown memory planner
    • Inference efficiently on all-platform
      • Inference fast and high-precision on x86/Arm/CUDA/RoCM
      • Support Linux/Windows/iOS/Android/TEE...
      • Save more memory and optimize speed by leveraging advanced usage

    Installation

    NOTE: MegEngine now supports Python installation on Linux-64bit/Windows-64bit/MacOS(CPU-Only)-10.14+/Android 7+(CPU-Only) platforms with Python from 3.5 to 3.8. On Windows 10 you can either install the Linux distribution through Windows Subsystem for Linux (WSL) or install the Windows distribution directly. Many other platforms are supported for inference.

    Binaries

    To install the pre-built binaries via pip wheels:

    python3 -m pip install --upgrade pip
    python3 -m pip install megengine -f https://megengine.org.cn/whl/mge.html

    Building from Source

    How to Contribute

    We strive to build an open and friendly community. We aim to power humanity with AI.

    How to Contact Us

    Resources

    License

    MegEngine is licensed under the Apache License, Version 2.0

    Citation

    If you use MegEngine in your publication,please cite it by using the following BibTeX entry.

    @Misc{MegEngine,
      institution = {megvii},
      title =  {MegEngine:A fast, scalable and easy-to-use deep learning framework},
      howpublished = {\url{https://github.com/MegEngine/MegEngine}},
      year = {2020}
    }

    Copyright (c) 2014-2021 Megvii Inc. All rights reserved.

    项目简介

    MegEngine 是一个快速、可拓展、易于使用且支持自动求导的深度学习框架

    🚀 Github 镜像仓库 🚀

    源项目地址

    https://github.com/MegEngine/MegEngine

    发行版本

    当前项目没有发行版本

    贡献者 13

    全部贡献者

    开发语言

    • C++ 79.8 %
    • Cuda 13.8 %
    • Python 4.9 %
    • C 0.9 %
    • CMake 0.5 %