unsloth/unsloth
Daniel Han aff2dc9061 Add None check for vLLM tokenizer
- Check _vllm_tok is not None before accessing attributes
- Use getattr for safer chat_template access
2026-01-05 10:02:11 +00:00
..
dataprep Revert "[FIX] Vllm guided decoding params (#3662)" 2025-12-01 05:43:45 -08:00
kernels [pre-commit.ci] auto fixes from pre-commit.com hooks 2025-12-30 15:58:41 +00:00
models Add None check for vLLM tokenizer 2026-01-05 10:02:11 +00:00
registry Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks" 2025-12-01 07:24:58 -08:00
utils remove redundant code of has_block 2026-01-03 22:38:37 -08:00
__init__.py Versioning 2026-01-04 06:12:44 -08:00
_auto_install.py Float8 GRPO, RL (#3640) 2025-11-25 07:23:26 -08:00
chat_templates.py Fix indefinite article usage in comments and docstrings (#3648) 2025-11-26 18:15:27 -08:00
device_type.py Add missing import of inspect (#3778) 2025-12-25 18:43:59 -08:00
import_fixes.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-01-02 13:58:50 +00:00
ollama_template_mappers.py Fix indefinite article usage in comments and docstrings (#3648) 2025-11-26 18:15:27 -08:00
save.py Fix psutil.cpu_count() potentially returning None in save.py 2026-01-04 12:58:45 +00:00
tokenizer_utils.py fix(trainer): import psutil to prevent NameError in _prepare_dataset (#3780) 2025-12-28 21:18:02 -08:00
trainer.py fix(trainer): import psutil to prevent NameError in _prepare_dataset (#3780) 2025-12-28 21:18:02 -08:00