Update gemma.py

This commit is contained in:
Daniel Han-Chen 2024-02-26 05:06:04 +11:00
commit 11c9ea4d1b

View file

@ -108,6 +108,8 @@ class FastGemmaRotaryEmbedding(torch.nn.Module):
print(freqs)
print(self.cos_cached2)
print(freqs.to(torch.int64))
print(self.cos_cached2.to(torch.int64))
raise 1
# return self.cos_cached[:,:length], self.sin_cached[:,:length]