lightning/.github/ISSUE_TEMPLATE/1_bug_report.yaml

105 lines
3.5 KiB
YAML

name: Report a bug
description: Any errors that are not UI related.
labels: ["needs triage", "bug"]
body:
- type: markdown
attributes:
value: >
Before you go any further. Is this really a **🐛 bug**?
If it's a question about how Lightning works, have a look at our [Lightning documentation](https://lightning.ai/lightning-docs/)
or ask a question on our [Community Slack](https://pytorch-lightning.slack.com).
- type: textarea
attributes:
label: Bug description
description: A description of the 🐛bug🐛.
placeholder: |
A clear and concise description of what the bug is.
Include steps to reproduce, the expected behaviour, and the actual behaviour.
```
The error message you got, with the full traceback if available.
```
validations:
required: true
- type: markdown
attributes:
value: "**Note: The rest of this form is optional, but filling it out may help us to provide better support.**"
- type: textarea
attributes:
label: How to reproduce the bug
description: >
Provide steps and example code here.
You can also paste a link to Google Colab (see our [Colab bug report template](https://colab.research.google.com/github/Lightning-AI/lightning/blob/master/examples/pl_bug_report/bug_report_model.ipynb)) or adapt this minimal [snippet](https://github.com/Lightning-AI/lightning/blob/master/examples/pl_bug_report/bug_report_model.py).
placeholder: |
```python
# Sample code to reproduce the problem
```
render: python
validations:
required: false
- type: textarea
attributes:
label: Error messages and logs
description: >
Provide any error messages and/or logs
placeholder: "# Copy the complete error messages and logs"
value: |
```
# Error messages and logs here please
```
validations:
required: false
- type: textarea
attributes:
label: Environment
description: |
Please provide details about your environment by copying and pasting the output from our environment collection script:
https://raw.githubusercontent.com/Lightning-AI/lightning/master/requirements/collect_env_details.py
(For security purposes, please check the contents of the script before running it)
You can get the script and run it with:
```console
wget https://raw.githubusercontent.com/Lightning-AI/lightning/master/requirements/collect_env_details.py
python collect_env_details.py
```
You can also fill out the list below manually.
value: |
<details>
<summary>Current environment</summary>
```
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0):
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):
```
</details>
validations:
required: false
- type: textarea
attributes:
label: More info
description: Add any other info about the issue here.
validations:
required: false
- type: markdown
attributes:
value: "**Happy engineering!**"