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 Hand247f1e20d4a
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex f84d80f280d..dd7b02216a9 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -1185,8 +1185,9 @@ def unsloth_compile_transformers(# Set forced float32 env flagos.environ["UNSLOTH_FORCE_FLOAT32"] = "0"do_forced_float32 = False+ model_type_arch = model_types[1]for disable_name in FORCE_FLOAT32:- if (disable_name.lower() == model_types[1].lower() or \+ if (disable_name.lower() == model_type_arch.lower() or \disable_name.lower() in model_name.lower()) and \dtype == torch.float16: