English | 中文
MegEngine 是一个快速、可拓展、易于使用且支持自动求导的深度学习框架。
注意: MegEngine 现在支持 Linux-64bit/Windows-64bit/macos-10.14及其以上 (MacOS只支持cpu) 平台安装,支持Python3.5 到 Python3.8。对于 Windows 10 用户,可以通过安装 Windows Subsystem for Linux (WSL) 进行体验,同时我们也原生支持Windows。
通过 pip 安装的命令如下:
python3 -m pip install megengine -f https://megengine.org.cn/whl/mge.html
大多数编译 MegEngine 的依赖位于 third_party
目录,可以通过以下命令自动安装:
$ ./third_party/prepare.sh
$ ./third_party/install-mkl.sh
但是有一些依赖需要手动安装:
MegEngine使用CMake作为构建工具。我们提供以下脚本来帮助编译:
host_build.sh 用于本地编译。
参数 -h 可用于查询脚本支持的参数:
scripts/cmake-build/host_build.sh -h
cross_build_android_arm_inference.sh 用于ARM-安卓交叉编译。
参数 -h 可用于查询脚本支持的参数:
scripts/cmake-build/cross_build_android_arm_inference.sh -h
cross_build_linux_arm_inference.sh 用于ARM-Linux交叉编译。
参数 -h 可用于查询脚本支持的参数:
scripts/cmake-build/cross_build_linux_arm_inference.sh -h
cross_build_ios_arm_inference.sh 用于IOS交叉编译。
参数 -h 可用于查询脚本支持的参数:
scripts/cmake-build/cross_build_ios_arm_inference.sh
更多细节请参考 BUILD_README.md
我们相信我们能够搭建一个开放友善的开源社区环境,用人工智能造福人类。
MegEngine 使用 Apache License, Version 2.0
Copyright (c) 2014-2020 Megvii Inc. All rights reserved.