diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..df9fd89 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# All files in the root directory, reviewed by @xing-yiren by default +/. @xing-yiren \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..4668ff8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,96 @@ +name: 🐞 Bug report +description: Create a report to help us reproduce and fix the bug +title: "[Bug] " +labels: ['bug'] + +body: +- type: checkboxes + attributes: + label: Checklist + options: + - label: 1. I have searched related issues but cannot get the expected help. + - label: 2. The bug has not been fixed in the latest version. + - label: 3. I have read [Contributing Guidlines](https://github.com/mindspore-lab/applications/wiki/Contributing-Guidelines). + - label: 4. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback. + - label: 5. If the issue you raised is not a bug but a question, please raise a discussion at Discussions. Otherwise, it will be closed. +- type: textarea + attributes: + label: Describe the bug + description: | + A clear and concise description of what the bug is, including: + - What happened (actual behavior) + - What you expected (expected outcome) + - **Please attach error logs or screenshots if possible**—this helps us locate the issue faster. + validations: + required: true +- type: textarea + attributes: + label: Reproduction + description: | + What command or script did you run? Please list the exact steps to reproduce the bug. + placeholder: | + A placeholder for the command. + validations: + required: true +- type: checkboxes + id: hardware + attributes: + label: Hardware Environment + description: Which hardware type does this bug relate to (select all that apply)? + options: + - label: Ascend + - label: GPU + - label: CPU + validations: + required: true +- type: input + attributes: + label: OS Platform + description: Which operating system are you using? (e.g., Ubuntu 20.04) + placeholder: "Ubuntu 20.04" + validations: + required: true +- type: input + attributes: + label: Python Version + description: What version of Python are you using? (e.g., 3.9.7) + placeholder: "3.9.7" + validations: + required: true +- type: input + attributes: + label: MindSpore Version + description: What version of MindSpore are you using? (e.g., 2.7.1) + placeholder: "2.7.1" + validations: + required: true +- type: input + id: mindspore_nlp + attributes: + label: (Optional) MindSpore NLP Version + placeholder: e.g., 0.5.0 + validations: + required: false +- type: input + id: mindspore_transformers + attributes: + label: (Optional) MindSpore Transformers Version + placeholder: e.g., 1.7.0 + validations: + required: false +- type: textarea + id: other_suites + attributes: + label: (Optional) Other Toolkit or Suite Versions + description: | + Specify versions of any other MindSpore-related suites (e.g., MindSpore Lite, vLLM-MindSpore) or relevant third-party packages. + placeholder: | + e.g., + - MindSpore Lite 2.7.0 + - vLLM-MindSpore 0.4.0 + validations: + required: false +- type: textarea + attributes: + label: Additional Context + description: Any other details. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..2b5e32f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,39 @@ +name: 🚀 Feature request +description: Suggest an idea for this project +title: "[Feature] " + +body: +- type: checkboxes + attributes: + label: Checklist + options: + - label: 1. I have read [Contributing Guidlines](https://github.com/mindspore-lab/applications/wiki/Contributing-Guidelines). + - label: 2. If the issue you raised is not a feature but a question, please raise a discussion at Discussions. Otherwise, it will be closed. +- type: textarea + attributes: + label: Motivation + description: | + A clear and concise description of the motivation of the feature. + validations: + required: true +- type: checkboxes + id: hardware + attributes: + label: Hardware Environment + description: Which hardware does this feature need to support (select all that apply)? + options: + - label: Ascend + - label: GPU + - label: CPU + validations: + required: true +- type: textarea + attributes: + label: Related resources + description: | + If there is an official code release or third-party implementations, please also provide the information here, which would be very helpful. +- type: textarea + attributes: + label: Your Contribution + description: | + Is there any way that you could help, e.g., by submitting a PR? diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6ba83ec..640527d 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -16,15 +16,16 @@ Summarize key modifications — new features, bug fixes, refactors, or documenta # Testing & Benchmark # Checklist -- [ ] Read and followed the [Contributing Guidelines](https://github.com/mindspore-courses/applications/wiki/Contributing-Guidelines) -- [ ] Self-tested locally to ensure CI will pass -- [ ] Updated documentation if needed -- [ ] Verified accuracy or performance benchmarks if applicable +- [ ] Read and followed the [Contributing Guidelines](https://github.com/mindspore-lab/applications/wiki/Contributing-Guidelines). +- [ ] Self-tested locally to ensure the code runs correctly and achieves expected results (all CI checks expected to pass). +- [ ] Updated documentation if needed. +- [ ] Verified accuracy or performance benchmarks if applicable. # Reviewers