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 Han6e7e6a52ef7a
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 82e8f97eb32..a4ded5f55bf 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -1187,7 +1187,7 @@ passEMPTY_LOGITS = EmptyLogits()functions = dir(torch.Tensor)for j, function in enumerate(functions):- exec(f"def raise_{j}(*args, **kwargs): print({j})", globals(), locals())+ exec(f"def raise_{j}(*args, **kwargs): print(function, {j})", globals(), locals())try: exec(f"EMPTY_LOGITS.{function} = raise_{j}", globals(), locals())except: continuepass