User’s Guide¶
The user guide is a relatively general MegEngine operation manual, the content of which is organized according to the basic process of machine learning and combined with the actual use of the user. We will continue to enrich the content of the guide and improve the quality of the guide based on the feedback from the community.
Instructions for use
Users who are new to MegEngine should start from the Beginner’s guide link. We assume that the readers of the user guide MegEngine Deep Learning Getting Started Tutorial and enter the daily use phase of the framework.
For experienced users, they can selectively browse the topics they are interested in, and there is no strong dependency between different topics. But we also try our best to organize the content of the user guide in an orderly manner to meet the needs of users who are accustomed to reading in order.
Model Development (Basics)📕
Basics will expand the extension :ref:using common scenarios MegEngine each child deep-learning mentioned in the package.
Model development (advanced article) 📗
The advanced part will introduce more features to help you fully grasp the use of MegEngine and give full play to its strengths.
Reasoning deployment chapter 📘
Introduce how to deploy the trained model to the actual production environment for efficient reasoning.
Tools and Plugins📙
Understand the various tools and plug-ins provided in MegEngine.
You may be reading the user guide with a specific question 🤔, you can try to find the solution below ⬇️ ⬇️ ⬇️
MegEngine Cookbook¶
如何在 MegEngine 上利用多卡进行分布式训练?
Please refer to Distributed Training.
如何在 MegEngine 上使用量化技术?
Please refer to Quantization.
如何在使用 MegEngine 训练模型时节省显存?
Please refer to Saving memory by recomputing (Recomputation).
如何在使用调试、优化、验证模型的性能?
Through Profiler, we can perform performance analysis of the model, please refer to Model performance data generation and analysis (Profiler);
如果想进行 MegEngine 模型的可视化,请参考 MegEngine 模型可视化 ;
Some statistical tools are provided in MegEngine, please refer to Statistics and visualization of parameters and calculations;
If you want to test and verify the performance of the model on different platforms, please refer to 使用 Load and run 测试与验证模型.
如何对 MegEngine 的功能进行拓展?
If you wish to add new operators to MegEngine, please refer to 添加一个算子(Operator).
If you wish to participate in the development of MegEngine, please refer to 开发者指南
Seek more support¶
For some rare problems (that is, when the usage scenarios are relatively unpopular), the solutions may not be organized in the MegEngine User Guide. You can communicate and discuss through the MegEngine official forum or `GitHub Issues <https://github.com/MegEngine/MegEngine/issues>When the frequency of mentioning a certain type of problem has increased significantly, we will start to consider putting it and the corresponding solution in the user guide as a necessary reference.
Although our community ecology also provides online live chat channels, we need to spend some time to settle the discussion process and solutions when necessary. As the saying goes, “Predecessors planted trees, and future generations enjoyed the shade.” In order to allow our exchanges and discussions to provide reference information for later generations, please use historical records that can be retrieved on the Internet to communicate and discuss as much as possible. We believe that in this way, you can consolidate your experience gained from practice in MegEngine and magnify its value.
We also welcome you to share stories related to MegEngine through your social platform account, so that more people can see MegEngine~