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 Han61fbf5757a39
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 5024204f20d..acf411b6c91 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -1192,7 +1192,7 @@ for j, function in enumerate(functions):try: exec(f"EMPTY_LOGITS.{function} = warn_logits_error", globals(), locals())except: continueelse:- exec(f"def raise_{j}: print({function})", globals(), locals())+ exec(f"def raise_{j}(*args, **kwargs): print({function})", globals(), locals())try: exec(f"EMPTY_LOGITS.{function} = raise_{j}", globals(), locals())except: continuepass