From 7378022eb49b916e0351ccaa491579c775750e39 Mon Sep 17 00:00:00 2001 From: Aryan Dani Date: Tue, 29 Apr 2025 14:44:49 +0530 Subject: [PATCH] Add new bug report template and VSCode settings --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ------------ .github/ISSUE_TEMPLATE/bug_report.yml | 85 +++++++++++++++++++++++++++ .vscode/settings.json | 9 +++ 3 files changed, 94 insertions(+), 38 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .vscode/settings.json diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 428351ed0..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us reproduce and fix the issue -title: '' -labels: '' -assignees: '' - ---- - -**Before submitting a bug, please make sure the issue hasn't been already addressed by searching through the [FAQs](https://ai.meta.com/llama/faq/) and [existing/past issues](https://github.com/facebookresearch/llama/issues)** - -## Describe the bug - - -### Minimal reproducible example - - -```python -# sample code to repro the bug -``` - -### Output - - -``` - -``` - -## Runtime Environment -- Model: [eg: `llama-2-7b-chat`] -- Using via huggingface?: [yes/no] -- OS: [eg. Linux/Ubuntu, Windows] -- GPU VRAM: -- Number of GPUs: -- GPU Make: [eg: Nvidia, AMD, Intel] - -**Additional context** -Add any other context about the problem or environment here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..4bebe6f0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,85 @@ +# @format + +name: Bug Report +description: Create a report to help us reproduce and fix the issue +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 [FAQs](https://ai.meta.com/llama/faq/) and [existing/past issues](https://github.com/facebookresearch/llama/issues)** + - type: textarea + id: description + attributes: + label: Describe the bug + description: Please provide a clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Minimal Reproducible Example + description: Please include a minimal code snippet to reproduce the bug. Ensure relevant imports are included. + placeholder: | + ```python + # sample code to repro the bug + ``` + render: python + validations: + required: true + - type: textarea + id: output + attributes: + label: Output / Stack Trace + description: Paste the full stack trace and any relevant output. + placeholder: | + ``` + + ``` + render: shell + validations: + required: true + - type: input + id: model + attributes: + label: Model + placeholder: "e.g., llama-2-7b-chat" + validations: + required: true + - type: dropdown + id: huggingface + attributes: + label: Using via Hugging Face? + options: + - "yes" + - "no" + validations: + required: true + - type: input + id: os + attributes: + label: Operating System + placeholder: "e.g., Linux/Ubuntu, Windows 11" + validations: + required: true + - type: input + id: gpu-vram + attributes: + label: GPU VRAM + placeholder: "e.g., 80GB" + - type: input + id: gpu-count + attributes: + label: Number of GPUs + placeholder: "e.g., 1, 8" + - type: input + id: gpu-make + attributes: + label: GPU Make + placeholder: "e.g., Nvidia, AMD" + - type: textarea + id: context + attributes: + label: Additional Context + description: Add any other context about the problem or environment here. diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..d3d6c1132 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "python-envs.pythonProjects": [ + { + "path": "", + "envManager": "ms-python.python:venv", + "packageManager": "ms-python.python:pip" + } + ] +} \ No newline at end of file