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 Hanb4b75a9ea831
diff --git a/setup.py b/setup.pyindex b86de8c7e89..192aea7b7fd 100644--- a/setup.py+++ b/setup.py@@ -28,11 +28,9 @@ IS_COLAB = "COLAB_" not in "".join(os.environ.keys())# Try importing torchHAS_TORCH = False-HAS_CUDA = False+HAS_CUDA = TrueHAS_HIP = Falsetorch = None-print(f"Unsloth: Imported torch with CUDA_HOME = {str(CUDA_HOME)}.")-print(f"Unsloth: Imported torch with ROCM_HOME = {str(ROCM_HOME)}.")if importlib.util.find_spec("torch") is not None:try:import torch