Update gemma.py

This commit is contained in:
Daniel Han-Chen 2024-02-26 04:32:49 +11:00
commit 1d53b366a0

View file

@ -106,6 +106,9 @@ class FastGemmaRotaryEmbedding(torch.nn.Module):
cos_cached = emb.cos().to(dtype=x.dtype)
sin_cached = emb.sin().to(dtype=x.dtype)
print(position_ids)
print(inv_freq_expanded)
print(position_ids_expanded)
print(freqs)
print(self.cos_cached2)
raise 1