ARTICLE DETAIL

资讯详情

深耕郑州网站建设与运营推广的一线实战洞察。

cann/ge图引擎贡献指南

cann/ge图引擎贡献指南 Contributing Guide【免费下载链接】geGEGraph Engine是面向昇腾的图编译器和执行器提供了计算图优化、多流并行、内存复用和模型下沉等技术手段加速模型执行效率减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/geThis project welcomes developers to experience and participate in contributions. Before participating in community contributions, please see cann-community to understand the code of conduct, sign the CLA agreement, and understand the contribution process of source repositories. This repository details the prerequisites for participating in CANN open source project contributions, including but not limited to:How to submit Pull Requestsgitcode workflowPipeline trigger commands (Online Pipeline Issue Guide)Code reviewOther Precautions For details, please refer to cann-community.In addition, developers need to pay attention to the following points when preparing local code and submitting Pull Requests:When submitting a Pull Request, please carefully fill in the business background, purpose, solution, and other information according to the Pull Request template.Before committing code using git, you can refer to pre-commit tool usage instructions to make your code submission more compliant and efficient.If your modification is not a simple bug fix, but involves adding new features, new interfaces, new configuration parameters, or modifying code flows, please be sure to discuss the solution through an Issue first to avoid your code being rejected for merge. If you are unsure whether this modification can be classified as a simple bug fix, you can also discuss the solution by submitting an Issue.When submitting a Pull Request, please ensure your code complies with the projects code standards. Please refer to Googles Open Source Code Standards, including but not limited to:Code formattingComment standardsVariable naming standardsFunction naming standardsClass naming standardsInterface naming standardsConfiguration parameter naming standardsCode flow standardsWhen submitting a Pull Request, if there are multiple invalid commits, we recommend performing a rebase operation before submitting the Pull Request to merge multiple commits into one to maintain code simplicity and readability. Please refer to git rebase. Also, commit messages need to comply with the projects code standards and clearly describe the intent and content of this change. The format is: : . For example:TypeDescriptionExamplefeatNew featurefeat: Add user registration functionfixBug fixfix: Fix login state expiration issuedocsDocumentation updatedocs: Update API usage instructionsstyleCode format adjustment (does not affect logic)style: Adjust code indentationrefactorRefactoring (non-feature addition/fix)refactor: Optimize user service class structureperfPerformance optimizationperf: Reduce database query counttestTest relatedtest: Add login function unit testchoreBuild/toolchain changechore: Update webpack configurationciCI configuration relatedci: Add automated test flowDeveloper contribution scenarios mainly include:Bug FixIf you discover certain bugs in this project and wish to fix them, you are welcome to create a new Issue for feedback and tracking.You can follow the Submit Issue/Handle Issue Task guide to create aBug-Report|Bug Feedbacktype Issue to describe the bug, then enter /assign or /assign yourself in the comment box to assign the Issue to yourself for handling.Contribute New FeaturesIf you discover certain feature gaps in this project and wish to add them, you are welcome to create a new Issue for feedback and tracking.You can follow the Submit Issue/Handle Issue Task guide to create aRequirement|Feature Suggestiontype Issue to explain the new feature and provide your design solution, then enter /assign or /assign yourself in the comment box to assign the Issue to yourself for tracking implementation.Documentation CorrectionIf you discover certain documentation description errors in this project, you are welcome to create a new Issue for feedback and correction.You can follow the Submit Issue/Handle Issue Task guide to create aDocumentation|Documentation Feedbacktype Issue to point out the corresponding documentation problem, then enter /assign or /assign yourself in the comment box to assign the Issue to yourself to correct the corresponding documentation description.Help Resolve Others IssuesIf you have appropriate solutions for problems encountered by others in the community, you are welcome to comment and discuss in the Issue to help others solve problems and pain points, and jointly optimize usability.If the corresponding Issue requires code modification, you can enter /assign or /assign yourself in the Issue comment box to assign the Issue to yourself to track and assist in solving the problem.【免费下载链接】geGEGraph Engine是面向昇腾的图编译器和执行器提供了计算图优化、多流并行、内存复用和模型下沉等技术手段加速模型执行效率减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/ge创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
返回列表