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 setup.py
Daniel Hanccd15f09bc4c
diff --git a/setup.py b/setup.pyindex 703604c54ab..fc4c113166c 100644--- a/setup.py+++ b/setup.py@@ -25,7 +25,6 @@ from setuptools.command.install import installROOT_DIR = Path(__file__).parentUNSLOTH_TARGET_DEVICE = os.environ.get("UNSLOTH_TARGET_DEVICE", "cuda")IS_COLAB = "COLAB_" not in "".join(os.environ.keys())-UNSLOTH_VERSION = load_module_from_path('ver', os.path.join(ROOT_DIR, 'unsloth', 'version.py'))# Try importing torchHAS_TORCH = False@@ -55,6 +54,7 @@ def load_module_from_path(module_name, path):spec.loader.exec_module(module)return modulepass+ver = load_module_from_path('ver', os.path.join(ROOT_DIR, 'unsloth', 'version.py'))def get_nvcc_cuda_version():@@ -103,7 +103,7 @@ passdef get_unsloth_version():- version = UNSLOTH_VERSION.__version__+ version = ver.__version__if version is None:raise RuntimeError("unsloth version not found")