Skip to content

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.

Update cross_entropy_loss.py

Daniel Han93785d357890
diff --git a/unsloth/kernels/cross_entropy_loss.py b/unsloth/kernels/cross_entropy_loss.py
index 266ece4ca29..66d5046deb6 100644
--- a/unsloth/kernels/cross_entropy_loss.py
+++ b/unsloth/kernels/cross_entropy_loss.py
@@ -353,7 +353,7 @@ class Fast_CrossEntropyLoss(torch.autograd.Function):
pass
pass
-@torch._disable_dynamo
+# @torch._disable_dynamo
def fast_cross_entropy_loss(
logits,
labels,