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 Han358316522f66
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 35e7a2b35f3..cc3caaa951a 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -389,7 +389,7 @@ def LlamaAttention_fast_forward(
if position_ids is None
else inplace_rope_embedding(Q, K, cos, sin, position_ids)
)
- print(392, Q.dtype, K.dtype)
+ print(392, Q.dtype, K.dtype, position_ids)
if past_key_value is not None:
K = torch.cat([past_key_value[0], K], dim = 2)