From 5684cbe5022475a72790d0331aa283eb6d6b9060 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 7 Jan 2025 01:05:04 -0800 Subject: [PATCH] Update llama.py --- unsloth/models/llama.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py index cc3caaa951..8ce319bbed 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