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

Daniel Hanf42f0d21160b
diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.py
index b31b47e69be..52de044712d 100644
--- a/unsloth/import_fixes.py
+++ b/unsloth/import_fixes.py
@@ -129,7 +129,7 @@ pass
def ignore_logger_messages():
# Ignore Environment variable `HF_TOKEN` is set
try:
- from huggingface_hub._login.utils import logger as huggingface_hub_logger
+ from huggingface_hub._login import logger as huggingface_hub_logger
huggingface_hub_logger.addFilter(HideLoggingMessage("`HF_TOKEN`"))
del huggingface_hub_logger
except: