Update issue templates

This commit is contained in:
Daniel Han 2025-05-17 18:29:27 -07:00 committed by GitHub
commit 25c11cf2d8
6 changed files with 50 additions and 65 deletions

19
.github/ISSUE_TEMPLATE/bug---issue.md vendored Normal file
View file

@ -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

View file

@ -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,
)
```

View file

@ -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!

10
.github/ISSUE_TEMPLATE/other.md vendored Normal file
View file

@ -0,0 +1,10 @@
---
name: Other
about: Everything else
title: ''
labels: ''
assignees: ''
---
Try asking https://discord.com/invite/unsloth for fast support!

View file

@ -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 ?

View file

@ -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?