Update gemma.py
This commit is contained in:
parent
f270f377ab
commit
096a4192fb
1 changed files with 2 additions and 2 deletions
|
|
@ -113,8 +113,8 @@ class FastGemmaRotaryEmbedding(torch.nn.Module):
|
|||
new_cos = emb.cos().to(dtype=x.dtype)[:,:seq_len]
|
||||
new_sin = emb.sin().to(dtype=x.dtype)[:,:seq_len]
|
||||
|
||||
print(new_cos)
|
||||
print(old_cos)
|
||||
print(new_cos, new_cos.shape)
|
||||
print(old_cos, old_cos.shape)
|
||||
raise 1
|
||||
return new_cos, new_sin
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue