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 Handc33cc94a762
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index c5c245e0a22..0765e42892c 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -624,7 +624,6 @@ def LlamaModel_fast_forward(
else:
raise TypeError("Unsloth: torch_dtype for models is not bfloat16, float16 or float32!")
pass
- print(inputs_embeds, inputs_embeds.dtype)
# Normalized from Gemma
IS_GEMMA = self.config.model_type.startswith("gemma")
@@ -1011,7 +1010,6 @@ def CausalLM_fast_forward(fast_forward_inference):
if not RETURN_LOGITS and HAS_CUT_CROSS_ENTROPY and labels is not None:
- print(hidden_states, lm_head)
n_items = kwargs.get("num_items_in_batch", None) or kwargs.get("n_items", None)
loss = fused_linear_cross_entropy(
hidden_states = hidden_states,