Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]d0f3e4d32e4a
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 9bf02beb30c..701e6f633ca 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -1121,7 +1121,7 @@ def _get_statistics(statistics = None, force_download = True):statistics = "runpod"except Exception:pass-+# Fallback to env-key detectionif statistics is None:if "\nKAGGLE_" in keynames:@@ -1169,7 +1169,7 @@ def _get_statistics(statistics = None, force_download = True):statistics = try_vllm_check()except:statistics = "other"-+if statistics is not None:import tempfilefrom huggingface_hub import snapshot_download@@ -1178,9 +1178,7 @@ def _get_statistics(statistics = None, force_download = True):if has_internet():def stats_check():- with tempfile.TemporaryDirectory(- ignore_cleanup_errors = True- ) as f:+ with tempfile.TemporaryDirectory(ignore_cleanup_errors = True) as f:snapshot_download(f"unslothai/{statistics}",force_download = True,