{"id":13438606,"url":"https://github.com/MegEngine/MegEngine","last_synced_at":"2025-03-20T06:30:51.536Z","repository":{"id":37413374,"uuid":"248175118","full_name":"MegEngine/MegEngine","owner":"MegEngine","description":"MegEngine 是一个快速、可拓展、易于使用且支持自动求导的深度学习框架","archived":false,"fork":false,"pushed_at":"2024-10-24T10:10:58.000Z","size":31488,"stargazers_count":4783,"open_issues_count":170,"forks_count":545,"subscribers_count":136,"default_branch":"master","last_synced_at":"2025-03-12T11:39:36.335Z","etag":null,"topics":["autograd","deep-learning","gpu","machine-learning","megengine","numpy","python","tensor"],"latest_commit_sha":null,"homepage":"https://megengine.org.cn/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MegEngine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-18T08:21:58.000Z","updated_at":"2025-03-12T03:15:22.000Z","dependencies_parsed_at":"2024-11-19T05:31:54.141Z","dependency_job_id":null,"html_url":"https://github.com/MegEngine/MegEngine","commit_stats":{"total_commits":3198,"total_committers":48,"mean_commits":66.625,"dds":0.03752345215759845,"last_synced_commit":"225c98152cb6b3c5646353c0849649ea7b196fc4"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegEngine%2FMegEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegEngine%2FMegEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegEngine%2FMegEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegEngine%2FMegEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MegEngine","download_url":"https://codeload.github.com/MegEngine/MegEngine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244287890,"owners_count":20428892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autograd","deep-learning","gpu","machine-learning","megengine","numpy","python","tensor"],"created_at":"2024-07-31T03:01:06.807Z","updated_at":"2025-03-20T06:30:51.503Z","avatar_url":"https://github.com/MegEngine.png","language":"C++","readme":"# MegEngine\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"202\" height=\"118\" src=\"logo.svg\"\u003e\n\u003c/p\u003e\n\u003ch3\u003e \u003ca href=\"https://www.megengine.org.cn/doc/stable/en/user-guide/index.html\"\u003e Documentation \u003c/a\u003e | \u003ca href=\"https://www.megengine.org.cn/doc/stable/zh/user-guide/index.html\"\u003e 中文文档 \u003c/a\u003e \u003c/h3\u003e\n\n[![](https://img.shields.io/badge/English-%E4%B8%AD%E6%96%87-green.svg)](README_CN.md) [![](https://img.shields.io/badge/Website-MegEngine-green.svg)](https://megengine.org.cn/) [![](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE) [![](https://img.shields.io/badge/Chat-on%20QQ-green.svg?logo=tencentqq)](https://jq.qq.com/?_wv=1027\u0026k=jJcBU1xi) [![](https://img.shields.io/badge/Discuss-on%20Zhihu-8A2BE2.svg?labelColor=00BFFF\u0026logo=zhihu)](https://www.zhihu.com/people/megengine-bot)\n\nMegEngine is a fast, scalable, and user friendly deep learning framework with 3 key features.\n\n* **Unified framework for both training and inference**\n    * Quantization, dynamic shape/image pre-processing, and even derivation with a single model.\n    * After training, put everything into your model to inference on any platform with speed and precision. Check [here](https://www.megengine.org.cn/doc/stable/zh/user-guide/model-development/traced_module/index.html) for a quick guide.\n* **The lowest hardware requirements**\n    * The memory usage of the GPU can be reduced to one-third of the original memory usage when [DTR algorithm](https://www.megengine.org.cn/doc/stable/zh/user-guide/model-development/dtr/index.html) is enabled.\n    * Inference models with the lowest memory usage by leveraging our Pushdown memory planner.\n* **Inference efficiently on all platforms**\n    * Inference with speed and high-precision on x86, Arm, CUDA, and RoCM.\n    * Supports Linux, Windows, iOS, Android, TEE, etc.\n    * Optimize performance and memory usage by leveraging our [advanced features](https://www.megengine.org.cn/doc/stable/zh/user-guide/deployment/lite/advance/index.html).\n\n------\n\n## Installation\n\n**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.6 to 3.9. On Windows 10 you can either install the Linux distribution through [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl) or install the Windows distribution directly. Many other platforms are supported for inference.\n\n### Binaries\n\nTo install the pre-built binaries via pip wheels:\n\n```bash\npython3 -m pip install --upgrade pip\npython3 -m pip install megengine -f https://megengine.org.cn/whl/mge.html\n```\n\n## Building from Source\n\n* CMake build details. please refer to [BUILD_README.md](scripts/cmake-build/BUILD_README.md)\n* Python binding build details, Please refer to [BUILD_PYTHON_WHL_README.md](scripts/whl/BUILD_PYTHON_WHL_README.md)\n\n## How to Contribute\n\n* MegEngine adopts [Contributor Covenant](https://contributor-covenant.org) as a guideline to run our community. Please read the [Code of Conduct](CODE_OF_CONDUCT.md).\n* Every contributor of MegEngine must sign a [Contributor License Agreement (CLA)](CONTRIBUTOR_LICENSE_AGREEMENT.md) to clarify the intellectual property license granted with the contributions.\n* You can help to improve MegEngine in many ways:\n    * Write code.\n    * Improve [documentation](https://github.com/MegEngine/Docs).\n    * Answer questions on [MegEngine Forum](https://discuss.megengine.org.cn), or Stack Overflow.\n    * Contribute new models in [MegEngine Model Hub](https://github.com/megengine/hub).\n    * Try a new idea on [MegStudio](https://studio.brainpp.com).\n    * Report or investigate [bugs and issues](https://github.com/MegEngine/MegEngine/issues).\n    * Review [Pull Requests](https://github.com/MegEngine/MegEngine/pulls).\n    * Star MegEngine repo.\n    * Cite MegEngine in your papers and articles.\n    * Recommend MegEngine to your friends.\n    * Any other form of contribution is welcomed.\n\nWe strive to build an open and friendly community. We aim to power humanity with AI.\n\n## How to Contact Us\n\n* Issue: [github.com/MegEngine/MegEngine/issues](https://github.com/MegEngine/MegEngine/issues)\n* Email: [megengine-support@megvii.com](mailto:megengine-support@megvii.com)\n* Forum: [discuss.megengine.org.cn](https://discuss.megengine.org.cn)\n* QQ Group: 1029741705\n\n## Resources\n\n- [MegEngine](https://megengine.org.cn)\n- [MegStudio](https://studio.brainpp.com)\n- mirror repo\n   - OPENI: [openi.org.cn/MegEngine](https://www.openi.org.cn/html/2020/Framework_0325/18.html)\n   - Gitee: [gitee.com/MegEngine/MegEngine](https://gitee.com/MegEngine/MegEngine)\n\n\n## License\n\nMegEngine is licensed under the Apache License, Version 2.0\n\n## Citation\nIf you use MegEngine in your publication,please cite it by using the following BibTeX entry.\n\n```\n@Misc{MegEngine,\n  institution = {megvii},\n  title =  {MegEngine:A fast, scalable and easy-to-use deep learning framework},\n  howpublished = {\\url{https://github.com/MegEngine/MegEngine}},\n  year = {2020}\n}\n```\n\nCopyright (c) 2014-2021 Megvii Inc. All rights reserved.\n","funding_links":[],"categories":["C++","Frameworks-for-Training","Frameworks for Training","Deep Learning Framework","其他_机器学习与深度学习","Training","Table of Contents","Networks"],"sub_categories":["Popular-LLM","High-Level DL APIs","Frameworks for Training","AI - Frameworks and Toolkits"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMegEngine%2FMegEngine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMegEngine%2FMegEngine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMegEngine%2FMegEngine/lists"}