unsloth/unsloth/dataprep
Junhyuk Lee 94026fc8dc
fix(loader): honour HF_HUB_OFFLINE / TRANSFORMERS_OFFLINE in from_pretrained (#5598)
Reads HF_HUB_OFFLINE / TRANSFORMERS_OFFLINE in FastLanguageModel.from_pretrained and FastModel.from_pretrained, forcing local_files_only=True so all delegation paths (load_in_4bit, load_in_8bit, full_finetuning, qat_scheme) and direct FastModel callers (FastVisionModel, FastTextModel) honour offline mode. Also gates HF_HUB_ENABLE_HF_TRANSFER in unsloth/dataprep/synthetic.py and adds an early return in get_statistics. Pairs with unslothai/unsloth-zoo#675. Fixes #5316.
2026-05-19 01:05:13 -07:00
..
__init__.py Fix Incorrect non-relative import in dataprep package 2025-12-10 10:17:23 +05:30
raw_text.py Fix raw text paragraph break normalization (#4884) 2026-04-09 04:45:43 -07:00
synthetic.py fix(loader): honour HF_HUB_OFFLINE / TRANSFORMERS_OFFLINE in from_pretrained (#5598) 2026-05-19 01:05:13 -07:00
synthetic_configs.py Formatting & bug fixes (#3563) 2025-11-07 06:00:22 -08:00