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 Han393549fa48db
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 9dc82f1e52d..5a267a459c1 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -404,8 +404,8 @@ pass# =============================================# Weirdly LoraLayer.update_layer downcasts PEFT layers to float16??# For mixed precision, we need it to be in float32 not float16.-from peft import __version__-if Version(__version__) < Version("0.12.0"):+from peft import __version__ as peft_version+if Version(peft_version) < Version("0.12.0"):from peft.tuners.lora.layer import LoraLayerimport inspect, retry: