Remove print statement in DeepseekScalingRotaryEmbedding (#11604)

This commit is contained in:
Michael Goin 2024-12-29 15:16:46 -05:00 committed by GitHub
parent faef77c0d6
commit 0aa38d16f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -668,7 +668,6 @@ class DeepseekScalingRotaryEmbedding(RotaryEmbedding):
cos = (freqs.cos() * self.mscale) cos = (freqs.cos() * self.mscale)
sin = (freqs.sin() * self.mscale) sin = (freqs.sin() * self.mscale)
cache = torch.cat((cos, sin), dim=-1) cache = torch.cat((cos, sin), dim=-1)
print("Cache shape", cache.shape)
return cache return cache
def forward( def forward(