Skip to content

Commit

Permalink
remove beartype for forward
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Dec 14, 2023
1 parent f3dc708 commit 61100a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions rotary_embedding_torch/rotary_embedding_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,10 @@ def get_axial_freqs(self, *dims):
return torch.cat(all_freqs, dim = -1)

@autocast(enabled = False)
@beartype
def forward(
self,
t: Tensor,
seq_len: Optional[int] = None,
seq_len = None,
offset = 0
):
should_cache = (
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'rotary-embedding-torch',
packages = find_packages(),
version = '0.5.0',
version = '0.5.1',
license='MIT',
description = 'Rotary Embedding - Pytorch',
long_description_content_type = 'text/markdown',
Expand Down

0 comments on commit 61100a0

Please sign in to comment.