diff --git a/.gitee/ISSUE_TEMPLATE/Documentation.yml b/.gitee/ISSUE_TEMPLATE/Documentation.yml new file mode 100644 index 00000000..040aa86b --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/Documentation.yml @@ -0,0 +1,32 @@ +name: Documentation +description: Use this template for reporting a document issue +title: "[Documentation]: " +labels: ["sig/doc"] +body: + - type: markdown + attributes: + value: | + Thanks for sending an issue! Here are some tips for you: + 1) If this is your first time, please read our contributor guidelines: https://gitee.com/mindspore/mindspore/blob/master/CONTRIBUTING.md + 2) If you want to get the answer quickly, please add label `mindspore-assistant` + to the issue, we will find it and answer you as soon as possible. + - type: textarea + attributes: + label: 【Document Link】/【文档链接】 + validations: + required: true + - type: textarea + attributes: + label: 【Issues Section】/【问题文档片段】 + validations: + required: true + - type: textarea + attributes: + label: 【Existing Issues】/【存在的问题】 + validations: + required: true + - type: textarea + attributes: + label: 【Expected Result】【预期结果】 + validations: + required: true \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/Intern.yml b/.gitee/ISSUE_TEMPLATE/Intern.yml new file mode 100644 index 00000000..cde745e8 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/Intern.yml @@ -0,0 +1,64 @@ +name: Intern +description: Use this template for Intern task +title: "[Intern]: " +labels: ["intern"] +body: + - type: markdown + attributes: + value: | + 本issue为面向高校学生的“MindSpore开源实习”项目的任务,非参加该项目的人员勿领。 + Thanks for sending an issue! Here are some tips for you: + 1) If this is your first time, please read our contributor guidelines: https://gitee.com/mindspore/mindspore/blob/master/CONTRIBUTING.md + 2) If you want to get the answer quickly, please add label `mindspore-assistant` + to the issue, we will find it and answer you as soon as possible. + - type: textarea + attributes: + label: 【任务分值 / Task score】 + validations: + required: true + - type: textarea + attributes: + label: 【背景描述 / Background description】 + validations: + required: true + - type: textarea + attributes: + label: 【需求描述 / Requirements】 + validations: + required: true + - type: textarea + attributes: + label: 【环境要求 / Development environment】 + description: 硬件 Hardware & 软件 Software + validations: + required: true + - type: textarea + attributes: + label: 【编程语言 / Programming language】 + validations: + required: true + - type: textarea + attributes: + label: 【产出标准 / Acceptance criteria】 + validations: + required: true + - type: textarea + attributes: + label: 【PR提交地址 / PR Submission address】 + validations: + required: true + - type: textarea + attributes: + label: 【期望完成时间 / Expected completion time】 + validations: + required: true + - type: textarea + attributes: + label: 【开发指导 / Development guide】 + validations: + required: true + - type: textarea + attributes: + label: 【导师及邮箱 / Tutor & email】 + validations: + required: true \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/Requirement.yml b/.gitee/ISSUE_TEMPLATE/Requirement.yml new file mode 100644 index 00000000..dd279633 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/Requirement.yml @@ -0,0 +1,42 @@ +name: Requirement +description: Use this template for reporting a bug +title: "[Requirement]: " +labels: ["kind/feature"] +body: + - type: markdown + attributes: + value: | + Thanks for sending an issue! Here are some tips for you: + 1) If this is your first time, please read our contributor guidelines: https://gitee.com/mindspore/mindspore/blob/master/CONTRIBUTING.md + 2) If you want to get the answer quickly, please add label `mindspore-assistant` + to the issue, we will find it and answer you as soon as possible. + - type: textarea + attributes: + label: Background / 背景信息 + description: Describe/Explain the status of the problem you wish to solve. + value: | + - Attach relevant issues if there is any. + validations: + required: true + - type: textarea + attributes: + label: Origin / 信息来源 + description: Explain which department/team made this request so that its priority can be given. + validations: + required: false + - type: textarea + attributes: + label: Benefit & Necessity / 价值&作用 + description: Describe/Explain the key value by fulfilling the request. + validations: + required: true + - type: textarea + attributes: + label: Design / 设计方案 + description: Describe/Explain the general idea of the design. Pseudo-code is allowed + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: false \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/Task-Tracking.yml b/.gitee/ISSUE_TEMPLATE/Task-Tracking.yml new file mode 100644 index 00000000..acfb7fc1 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/Task-Tracking.yml @@ -0,0 +1,32 @@ +name: Task Tracking +description: Use this template for task tracking +title: "[Task]: " +labels: ["kind/task"] +body: + - type: markdown + attributes: + value: | + Thanks for sending an issue! Here are some tips for you: + 1) If this is your first time, please read our contributor guidelines: https://gitee.com/mindspore/mindspore/blob/master/CONTRIBUTING.md + 2) If you want to get the answer quickly, please add label `mindspore-assistant` + to the issue, we will find it and answer you as soon as possible. + - type: textarea + attributes: + label: Task Description + validations: + required: true + - type: textarea + attributes: + label: Task Goal + validations: + required: true + - type: textarea + attributes: + label: Sub Task + value: | + | No. | Task Description | Issue ID | + | --- | ---------------- | -------- | + | 1 | | | + | 2 | | | + validations: + required: true \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/ThirdParty.yml b/.gitee/ISSUE_TEMPLATE/ThirdParty.yml new file mode 100644 index 00000000..aafb4f4e --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/ThirdParty.yml @@ -0,0 +1,54 @@ +name: ThirdParty +description: Use this template for changing third party software +title: "[ThirdParty][new/upgrade/delete][SoftwareName version]: " +labels: ["kind/ThirdParty"] +body: + - type: textarea + attributes: + label: Software Information + value: | + - Name: + - Version: + - License: + - Source code management address: + - Source code package download address: + - Binary package download address: + - Version release frequency: + - Total Code Lines: + validations: + required: true + - type: textarea + attributes: + label: Vulnerability Information + value: | + - Reporting Address: + - Number of Vulnerabilities: + - CVE ID and Score: + validations: + required: true + - type: textarea + attributes: + label: Community Information + value: | + - Number of Stars: + - Last Code Submission Date: + validations: + required: true + - type: textarea + attributes: + label: Change Reason + value: | + + + + + + validations: + required: true + - type: textarea + attributes: + label: Change Impact + value: | + + validations: + required: true \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/bug_report.yml b/.gitee/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..b7199072 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,75 @@ +name: Bug Report +description: Use this template for reporting a bug +title: "[Bug]: " +labels: ["kind/bug"] +body: + - type: markdown + attributes: + value: | + Thanks for sending an issue! Here are some tips for you: + 1) If this is your first time, please read our contributor guidelines: https://gitee.com/mindspore/mindspore/blob/master/CONTRIBUTING.md + 2) If you want to get the answer quickly, please add label `mindspore-assistant` + to the issue, we will find it and answer you as soon as possible. + - type: textarea + attributes: + label: 问题描述 + description: Describe the current behavior + validations: + required: true + - type: textarea + attributes: + label: 环境信息 + description: Environment + value: | + - **Hardware Environment(`Ascend`/`GPU`/`CPU`) / 硬件环境**: + > Please delete the backend not involved / 请删除不涉及的后端: + > /device Ascend + > /device GPU + > /device CPU + + - **Software Environment / 软件环境 (Mandatory / 必填)**: + -- MindSpore version (e.g., 2.0.0) : + -- Python version (e.g., Python 3.7.5) : + -- OS platform and distribution (e.g., Linux Ubuntu 16.04): + -- GCC/Compiler version (if compiled from source): + + - **Execute Mode / 执行模式 (Mandatory / 必填)(`PyNative`/`Graph`)**: + > Please delete the mode not involved / 请删除不涉及的模式: + > /mode pynative + > /mode graph + validations: + required: true + - type: textarea + attributes: + label: 关联用例 + description: Related testcase + validations: + required: true + - type: textarea + attributes: + label: 重现步骤 + description: Steps to reproduce the issue + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + attributes: + label: 预期结果 + description: Describe the expected behavior + validations: + required: true + - type: textarea + attributes: + label: 日志/截图 + description: Related log/screenshot + value: | + [在这里上传图片] + validations: + required: true + - type: textarea + attributes: + label: 备注 + description: Special notes for this issue diff --git a/.gitee/ISSUE_TEMPLATE/config.yml b/.gitee/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..f11b6b95 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Gitee Help + url: https://help.gitee.com/ + about: 提供 Git 使用指南、教程、Gitee.com 平台基本功能使用、介绍和常见问题解答 \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/feature.yml b/.gitee/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..7947984d --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,43 @@ +name: Suggestion +description: Use this template for reporting a Suggestion +title: "[Suggestion]: " +labels: ["mindspore-assistant"] +body: + - type: markdown + attributes: + value: | + 感谢提出功能建议,我们将仔细考虑! + - type: textarea + id: related-problem + attributes: + label: 你的功能建议是否和某个问题相关? + description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 + validations: + required: false + - type: textarea + id: desired-solution + attributes: + label: 你希望看到什么解决方案? + description: 清晰并简洁地描述你希望发生的事情。 + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: 你考虑过哪些替代方案? + description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: 你有其他上下文或截图吗? + description: 在此处添加有关功能请求的任何其他上下文或截图。 + validations: + required: false + - type: checkboxes + attributes: + label: 意向参与贡献 + options: + - label: 我有意向参与具体功能的开发实现并将代码贡献回到上游社区 + required: false \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/question.yml b/.gitee/ISSUE_TEMPLATE/question.yml new file mode 100644 index 00000000..406344d9 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,11 @@ +name: Question +description: Use this template for reporting a Question +title: "[Question]: " +labels: ["mindspore-assistant"] +body: + - type: textarea + id: related-problem + attributes: + label: 请描述您的问题? / Please describe your question + validations: + required: true \ No newline at end of file diff --git a/.gitee/PULL_REQUEST_TEMPLATE.md b/.gitee/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..cb027d4b --- /dev/null +++ b/.gitee/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,52 @@ + + +**What type of PR is this?** +> Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line: +> +> /kind bug +> /kind task +> /kind feature + + +**What does this PR do / why do we need it**: + + +**Which issue(s) this PR fixes**: + +Fixes # + +**Special notes for your reviewers**: + + +**CheckList**: + +- [ ] I have added correct copyrights for every code file. +- [ ] I have removed all the redundant code and comments. +- [ ] I have updated or added the `requirements.txt` for the third-party libraries you need. +- [ ] I have made sure that I won't expose any personaly information such as local path with user name, local IP, etc. +- [ ] I have commented my code, particularly in hard-to-understand areas. All the comments in code files are in English. +- [ ] I have made corresponding changes to the documentation. +- [ ] I have squashed all the commits into one. +- [ ] I have test and ascertained the effect of my change in all related cases. + - [ ] Different hardware: `CPU`, `GPU`, `Ascend910`, `Ascend310`, `Ascend310P`. + - [ ] Different mode: `GRAPH_MODE`, `PYNATIVE_MODE`. + - [ ] Different system: `Linux`, `Windows`, `MAC`. + - [ ] Different number of cluster: `1pc`, `8pcs`. +- [ ] I have checked the following usual mistakes: + - [ ] It is recommended to use `bash` instead of `sh`. + - [ ] Don't use `type=bool` in argparse. +- [ ] If you are contributing a new model, please check: + - [ ] I have added at least one `README` + - [ ] The models implemented for the cloud could work offline on the local server as well. + - [ ] I have made sure the changes for new device target will not make differences on the original one. +- [ ] If you are contributing a new function, please check: + - [ ] I have added the corresponding information in README. + - [ ] I have notify the maintenance team about this function.