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 __init__.py

Daniel Han3cd089ec0222
diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index fc5e00bc17f..f3fef871b6c 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -59,8 +59,10 @@ pass
os.environ["HF_XET_HIGH_PERFORMANCE"] = "1"
os.environ["HF_XET_CHUNK_CACHE_SIZE_BYTES"] = "0"
os.environ["HF_XET_RECONSTRUCT_WRITE_SEQUENTIALLY"] = "0"
-os.environ["HF_HUB_VERBOSITY"] = "info"
os.environ["HF_XET_NUM_CONCURRENT_RANGE_GETS"] = "64"
+# More verbose HF Hub info
+if os.environ.get("UNSLOTH_ENABLE_LOGGING", "0") == "1":
+ os.environ["HF_HUB_VERBOSITY"] = "info"
# Log Unsloth is being used
os.environ["UNSLOTH_IS_PRESENT"] = "1"