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
Update loader.py
Daniel Han723dbcd57622
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex b368eb95060..800c016cc8b 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -519,9 +519,9 @@ class FastModel(FastBaseModel):do_logging = os.environ.get("UNSLOTH_ENABLE_LOGGING", "0") == "1"if do_logging:- redirector = contextlib.redirect_stdout(open(os.devnull, "w"))- else:redirector = contextlib.nullcontext()+ else:+ redirector = contextlib.redirect_stdout(open(os.devnull, "w"))with redirector:patch_loss_functions(torch_compile = False)