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 Hanf791766ab935
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index f4ffbec4af4..c5c245e0a22 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -624,6 +624,7 @@ 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")