unsloth/unsloth
Daniel Hanchen f33762fab7 Silence peft target_parameters RuntimeWarning for MoE models
Wrap _get_peft_model calls with warnings.catch_warnings() to suppress
the "target_parameters were set but no parameter was matched" warning.
This fires on MoE models where expert layers use nn.Parameter naming
that peft warns about but handles correctly.
2026-02-09 16:02:47 +00:00
..
dataprep [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-01-08 11:35:21 +00:00
kernels [MoE] Improve moe kernels for unsloth fine tuning (#3812) 2026-02-05 06:03:25 -08:00
models Silence peft target_parameters RuntimeWarning for MoE models 2026-02-09 16:02:47 +00:00
registry Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks" 2025-12-01 07:24:58 -08:00
utils Refactor Ollama template wiring and harden packing helpers (#3890) 2026-02-09 04:04:48 -08:00
__init__.py Fix triton 3.6.0 + torch 2.9.x torch.compile crash (missing cluster_dims) (#4001) 2026-02-08 20:18:25 -08:00
_auto_install.py Add PyTorch 2.10 and xformers 0.0.34 support (#3985) 2026-02-05 05:56:26 -08:00
chat_templates.py Refactor Ollama template wiring and harden packing helpers (#3890) 2026-02-09 04:04:48 -08:00
device_type.py Add missing import of inspect (#3778) 2025-12-25 18:43:59 -08:00
import_fixes.py Fix notebook compatibility for transformers 4.57.6 and TRL 0.22-0.27 (#3998) 2026-02-09 05:11:50 -08:00
ollama_template_mappers.py Refactor Ollama template wiring and harden packing helpers (#3890) 2026-02-09 04:04:48 -08:00
save.py [Feature] seperate gguf file path (#3934) 2026-02-09 04:00:14 -08:00
tokenizer_utils.py Fix notebook compatibility for transformers 4.57.6 and TRL 0.22-0.27 (#3998) 2026-02-09 05:11:50 -08:00
trainer.py Fix notebook compatibility for transformers 4.57.6 and TRL 0.22-0.27 (#3998) 2026-02-09 05:11:50 -08:00