diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000000..1078f20556e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,51 @@ +name: 🐛 Bug Report +description: Create a tutorial bug report +title: "[BUG] - " +labels: [ + "bug" +] + +body: +- type: markdown + attributes: + value: > + #### Before submitting a bug, please make sure the issue hasn't been already addressed by searching through [the existing and past issues](https://github.com/pytorch/tutorials/issues?q=is%3Aissue+sort%3Acreated-desc+). +- type: textarea + attributes: + label: Describe the bug + description: | + **Link to the tutorial on the website:** <Add link> + placeholder: | + Provide a detailed description of the issue with code samples if relevant + ```python + + # Sample code to reproduce the problem if relevant + ``` + + **Expected Result:** (Describe what you were expecting to see) + + + **Actual Result:** (Describe the result) + + ``` + The error message you got, with the full traceback. + ``` + + validations: + required: true +- type: textarea + attributes: + label: Describe your environment + description: | + **Describe the environment you encountered the bug in:** + placeholder: | + * Platform (i.e macOS, Linux, Google Colab): + * CUDA (yes/no, version?): + * PyTorch version (run `python -c "import torch; print(torch.__version__)"`): + + validations: + required: true +- type: markdown + attributes: + value: > + Thanks for contributing 🎉! diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 00000000000..c4bd3bde3cf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,37 @@ +name: 🚀 Feature request +description: Submit a proposal for a new PyTorch tutorial or improvement of an existing tutorial +title: "💡 [REQUEST] - <title>" +labels: [ + "feature" +] + +body: +- type: textarea + attributes: + label: 🚀 Descirbe the improvement or the new tutorial + description: | + **Describe the improvement** + placeholder: | + Explain why this improvement or new tutorial is important. For example, *"This tutorial will help users to better understand feature X of PyTorch."* If there is a tutorial that you propose to replace, add here. If this is related to another GitHub issue, add a link here. + validations: + required: true +- type: textarea + attributes: + label: Existing tutorials on this topic + description: | + **Add a list of existing tutorials on the same topic.** + placeholder: | + List tutorials that already explain this functionality if exist. On pytorch.org or elsewhere. + * Link + * Link +- type: textarea + attributes: + label: Additional context + description: | + **Add additional context** + placeholder: | + Add any other context or screenshots about the feature request. +- type: markdown + attributes: + value: > + Thanks for contributing 🎉!