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 __init__.py
Daniel Hanbb06544bb11e
diff --git a/unsloth/__init__.py b/unsloth/__init__.pyindex e389074a1bb..72d53f572ef 100644--- a/unsloth/__init__.py+++ b/unsloth/__init__.py@@ -18,8 +18,8 @@ import os, re, subprocess, inspect, functoolsimport numpy as np# Log Unsloth is being used-# We want logger in import_fixes and hence setting it here for zoo to be importableos.environ["UNSLOTH_IS_PRESENT"] = "1"+# Fix some issues before importing other packagesfrom .import_fixes import (fix_message_factory_issue,@@ -46,7 +46,7 @@ if already_imported:# stacklevel=2 makes warning point to user's import line rather than this library code,# showing them exactly where to fix the import order in their scriptwarnings.warn(- f"WARNING: Unsloth should be imported before {', '.join(already_imported)} "+ f"WARNING: Unsloth should be imported before [{', '.join(already_imported)}] "f"to ensure all optimizations are applied. Your code may run slower or encounter "f"memory issues without these optimizations.\n\n"f"Please restructure your imports with 'import unsloth' at the top of your file.",