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 cross_entropy_loss.py
Daniel Hanfe6124540488
diff --git a/unsloth/kernels/cross_entropy_loss.py b/unsloth/kernels/cross_entropy_loss.pyindex 0034448be53..1fec5d7a855 100644--- a/unsloth/kernels/cross_entropy_loss.py+++ b/unsloth/kernels/cross_entropy_loss.py@@ -443,9 +443,8 @@ function = [function[0]] + [" "*4 + x for x in function[1:]]function = "\n".join(function)function = f"class Unsloth_LlamaForCausalLM(LlamaForCausalLM):\n"\f" {function}\n"-print(function)exec(function, globals())-del function, replacement+del function, replacement, inspect, redef patch_llama_for_causal_lm():