Skip to content

Commit 411fb82

Browse files
committed
Update
[ghstack-poisoned]
1 parent ba1530e commit 411fb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/models/llama/rope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@ def hf_apply_rotary_emb(q, k, cos, sin, position_ids=None, unsqueeze_dim=1):
159159
sin = sin.unsqueeze(unsqueeze_dim)
160160
q_embed = (q * cos) + (rotate_half(q) * sin)
161161
k_embed = (k * cos) + (rotate_half(k) * sin)
162-
return q_embed, k_embed
162+
return q_embed, k_embed

0 commit comments

Comments
 (0)