Skip to content

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.

Update loader.py

Daniel Han6f2b7be36aa6
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index d1aae95a523..993f50455cd 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -454,7 +454,7 @@ class FastVisionModel(FastBaseVisionModel):
if not was_disabled: enable_progress_bars()
- with contextlib.redirect_stdout(open(os.devnull, "w")):
+ if True: # with contextlib.redirect_stdout(open(os.devnull, "w")):
patch_loss_functions(torch_compile = False)
model_types = unsloth_compile_transformers(
model_name = model_name,