From 0e1578dedb7d94484dea80b8b21b47ba52f7bef1 Mon Sep 17 00:00:00 2001 From: Daniel Han-Chen Date: Sun, 25 Feb 2024 03:51:32 +1100 Subject: [PATCH] Update gemma.py --- unsloth/models/gemma.py | 1 - 1 file changed, 1 deletion(-) diff --git a/unsloth/models/gemma.py b/unsloth/models/gemma.py index fa2785faf3..0072c8c47b 100644 --- a/unsloth/models/gemma.py +++ b/unsloth/models/gemma.py @@ -79,7 +79,6 @@ class FastGemmaRotaryEmbedding(torch.nn.Module): inv_freq = 1.0 / ( self.base ** (torch.arange(0, self.dim, 2, dtype=torch.int64, device="cpu").float() / self.dim) ) - print(inv_freq) t = torch.arange(self.max_position_embeddings, device="cpu", dtype=torch.int64).float().to("cuda").unsqueeze(0) inv_freq_expanded = inv_freq[None, :, None].float().expand(1, -1, 1).to("cuda") position_ids_expanded = t[:, None, :].float()