Update gemma.py

This commit is contained in:
Daniel Han-Chen 2024-02-25 02:17:45 +11:00
commit c058d1aa96

View file

@ -57,7 +57,7 @@ def fast_geglu_inference(self, X):
pass
class FastGemmaRotaryEmbedding(nn.Module):
class FastGemmaRotaryEmbedding(torch.nn.Module):
def __init__(self, dim, max_position_embeddings=2048, base=10000, device=None):
super().__init__()