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 Han4df3af2f57a7
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index cc3caaa951a..8ce319bbed5 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -384,6 +384,7 @@ def LlamaAttention_fast_forward(
else:
cos, sin = rotary_emb(V, seq_len=kv_seq_len)
+ print(387, Q.dtype, K.dtype, position_ids)
Q, K = (
fast_rope_embedding(Q, K, cos, sin)
if position_ids is None