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 Han507b5c41e4cb
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 5016e1be3a5..9f9a3a46a6f 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -77,7 +77,7 @@ import contextlibimport reimport warnings, subprocess, re, inspect, psutil, os, mathfrom unsloth_zoo.utils import Version-from unsloth import DEVICE_TYPE+from unsloth_zoo import DEVICE_TYPEfrom unsloth_zoo.tokenizer_utils import (patch_tokenizer as _patch_tokenizer,@@ -553,8 +553,6 @@ UNSLOTH_COMPILE_IGNORE_ERRORS = os.environ.get("UNSLOTH_COMPILE_IGNORE_ERRORS",import functoolsfrom torch._inductor.runtime.hints import DeviceProperties-from unsloth import DEVICE_TYPE-@functools.lru_cache(None)def is_big_gpu(index) -> bool: