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 _utils.py
Daniel Hanb7bdb18552ad
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 8677879aadc..f4e4257b2b5 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -203,12 +203,12 @@ elif Version(torch_version) < Version("2.3.0") and Version(xformers_version) >=f"Unsloth: You have torch = {torch_version} but xformers = {xformers_version}.\n"\f"Please install xformers < 0.0.26 for torch = {torch_version}.")-elif Version(torch_version) < Version("2.4.0") and Version(xformers_version) >= Version("0.0.27"):- raise ImportError(- f"Unsloth: You have torch = {torch_version} but xformers = {xformers_version}.\n"\- f"Please install xformers < 0.0.27 for torch = {torch_version}."- )-pass+# elif Version(torch_version) < Version("2.4.0") and Version(xformers_version) >= Version("0.0.27"):+# raise ImportError(+# f"Unsloth: You have torch = {torch_version} but xformers = {xformers_version}.\n"\+# f"Please install xformers < 0.0.27 for torch = {torch_version}."+# )+# passfrom xformers._cpp_lib import _register_extensionstry: