Update gemma.py
This commit is contained in:
parent
98903e72c2
commit
aff1db7a4c
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ class FastGemmaRotaryEmbedding(torch.nn.Module):
|
|||
new_sin = emb.sin().to(dtype=x.dtype)[:seq_len]
|
||||
|
||||
logger.warning_once(str(torch.dist(new_cos, old_cos)))
|
||||
return new_cos, new_sin
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue