From 25c11cf2d8dd7a7891a3f006a84fdf95c74f2113 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Sat, 17 May 2025 18:29:27 -0700 Subject: [PATCH] Update issue templates --- .github/ISSUE_TEMPLATE/bug---issue.md | 19 +++++++++++++ .github/ISSUE_TEMPLATE/feature-request.md | 21 ++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 34 ----------------------- .github/ISSUE_TEMPLATE/other.md | 10 +++++++ .github/ISSUE_TEMPLATE/❓-other.md | 10 ------- .github/ISSUE_TEMPLATE/🐛-bug.md | 21 -------------- 6 files changed, 50 insertions(+), 65 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug---issue.md create mode 100644 .github/ISSUE_TEMPLATE/feature-request.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/other.md delete mode 100644 .github/ISSUE_TEMPLATE/❓-other.md delete mode 100644 .github/ISSUE_TEMPLATE/🐛-bug.md diff --git a/.github/ISSUE_TEMPLATE/bug---issue.md b/.github/ISSUE_TEMPLATE/bug---issue.md new file mode 100644 index 0000000000..a08a6cf2cf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug---issue.md @@ -0,0 +1,19 @@ +--- +name: Bug / Issue +about: Bug / Issue +title: "[Bug]" +labels: bug +assignees: '' + +--- + +1. Did you update? `pip install --upgrade unsloth unsloth_zoo` +2. `Colab` or `Kaggle` or local / cloud +3. Number GPUs used, use `nvidia-smi` +4. Which notebook? +5. Paste `Unsloth` printout with :sloth: sloth emoji +6. Which trainer? `SFTTrainer`, `GRPOTrainer` etc +7. **Minimal code to reproduce error Remove Hugging Face token!** + +For quick replies, got to https://discord.com/invite/unsloth. +Have you tried https://docs.unsloth.ai/basics/errors-troubleshooting diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 0000000000..5ea70a8a03 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,21 @@ +--- +name: Feature Request +about: New features, model support, ideas +title: "[Feature]" +labels: feature request +assignees: '' + +--- + +For new models, have you tried: +```python +from unsloth import FastModel +model, tokenizer = FastModel.from_pretrained( + "microsoft/Phi-4-multimodal-instruct", + trust_remote_code = True, +) +from transformers import AutoModelForSequenceClassification +model, tokenizer = FastModel.from_pretrained( + auto_model = AutoModelForSequenceClassification, +) +``` diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 9da73b2583..0000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: "\U0001F680 Feature request" -about: New features, model support, ideas -title: "[Feature]" -labels: feature request -assignees: '' - ---- - -1. For new models, have you tried: -```python -from unsloth import FastModel -model, tokenizer = FastModel.from_pretrained( - "microsoft/Phi-4-multimodal-instruct", - trust_remote_code = True, -) -``` -If that doesn't work, try using the exact `AutoModel` class: -```python -from transformers import WhisperForConditionalGeneration -model, tokenizer = FastModel.from_pretrained( - model_name = "unsloth/whisper-large-v3", - auto_model = WhisperForConditionalGeneration, -) -``` -For Sequence Classification / other `AutoModel` classes: -```python -from transformers import AutoModelForSequenceClassification -model, tokenizer = FastModel.from_pretrained( - model_name = "unsloth/whisper-large-v3", - auto_model = AutoModelForSequenceClassification, -) -``` -2. Otherwise, ask away! diff --git a/.github/ISSUE_TEMPLATE/other.md b/.github/ISSUE_TEMPLATE/other.md new file mode 100644 index 0000000000..b78d201062 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.md @@ -0,0 +1,10 @@ +--- +name: Other +about: Everything else +title: '' +labels: '' +assignees: '' + +--- + +Try asking https://discord.com/invite/unsloth for fast support! diff --git a/.github/ISSUE_TEMPLATE/❓-other.md b/.github/ISSUE_TEMPLATE/❓-other.md deleted file mode 100644 index dbec522eed..0000000000 --- a/.github/ISSUE_TEMPLATE/❓-other.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: "❓ Other" -about: Other -title: "[Question]" -labels: '' -assignees: '' - ---- - -Be specific. If you need urgent help, head to https://discord.com/invite/unsloth for help. Have you tried https://docs.unsloth.ai/basics/errors-troubleshooting or https://github.com/unslothai/unsloth/wiki ? diff --git a/.github/ISSUE_TEMPLATE/🐛-bug.md b/.github/ISSUE_TEMPLATE/🐛-bug.md deleted file mode 100644 index 6e59ccbdd4..0000000000 --- a/.github/ISSUE_TEMPLATE/🐛-bug.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: "\U0001F41B Bug" -about: For bugs -title: "[Bug]" -labels: bug -assignees: '' - ---- - -1. **Environment** - - `Colab`, `Kaggle`, local / cloud machine - - Number GPUs used, GPU type, VRAM amount - - Copy paste Unsloth printout with sloth emoji - - Which notebook are you using? - -2. **Code to reproduce** - - Which trainer - `SFTTrainer, GRPOTrainer` etc - - Exact code to repro. **Remove Hugging Face token!** - - Expected behavior - -For quick replies, head to https://discord.com/invite/unsloth and ask away! have you tried https://github.com/unslothai/unsloth/wiki or https://docs.unsloth.ai/basics/errors-troubleshooting?