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 llama.py

Daniel Han60ba876dc9ee
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 3a87ab56dc5..4f77280ad74 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -1154,6 +1154,7 @@ def CausalLM_fast_forward(fast_forward_inference):
output = (logits,) + outputs[1:]
return (loss,) + output if loss is not None else output
+ print("========== dtype = ", logits.dtype)
return CausalLMOutputWithPast(
loss=loss,
logits=logits,