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 Handb4f000e0714
diff --git a/unsloth/__init__.py b/unsloth/__init__.pyindex 9d50a320426..0469a099992 100644--- a/unsloth/__init__.py+++ b/unsloth/__init__.py@@ -69,6 +69,9 @@ except Exception as exception:raise exceptionpass+import importlib.util+from pathlib import Path+from importlib.metadata import version as importlib_version# Check for unsloth_zootry:unsloth_zoo_version = importlib_version("unsloth_zoo")@@ -147,9 +150,6 @@ elif DEVICE_TYPE == "hip":os.environ["UNSLOTH_ENABLE_CCE"] = "0"# Fix other issues-import importlib.util-from pathlib import Path-from importlib.metadata import version as importlib_versionfrom .import_fixes import fix_xformers_performance_issuefix_xformers_performance_issue(); del fix_xformers_performance_issue;from .import_fixes import fix_vllm_aimv2_issue