mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 12:10:09 +01:00
fix
This commit is contained in:
@@ -134,6 +134,7 @@ class RotaryEmbedding(nn.Module):
|
||||
self.register_buffer('inv_freq', inv_freq)
|
||||
self.dim = dim
|
||||
self.original_impl = original_impl
|
||||
self.rope_ratio = rope_ratio
|
||||
|
||||
def forward_impl(self,
|
||||
seq_len: int,
|
||||
|
||||
Reference in New Issue
Block a user