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 Han46bc57ce49bc
diff --git a/setup.py b/setup.pyindex 192aea7b7fd..e4e855912c1 100644--- a/setup.py+++ b/setup.py@@ -26,6 +26,9 @@ ROOT_DIR = Path(__file__).parentUNSLOTH_TARGET_DEVICE = os.environ.get("UNSLOTH_TARGET_DEVICE", "cuda")IS_COLAB = "COLAB_" not in "".join(os.environ.keys())+import torch+from torch.utils.cpp_extension import CUDA_HOME, ROCM_HOME+# Try importing torchHAS_TORCH = FalseHAS_CUDA = True