Skip to content

Commit

Permalink
missing typecheck on prostt5
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 14, 2024
1 parent 99d7e1b commit 02e3ca2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions alphafold3_pytorch/plm.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def __init__(self):
self.model = T5EncoderModel.from_pretrained("Rostlab/ProstT5")
self.embed_dim = 1024

@torch.no_grad()
@typecheck
def forward(
self,
aa_ids: Int['b n']
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alphafold3-pytorch"
version = "0.5.9"
version = "0.5.10"
description = "Alphafold 3 - Pytorch"
authors = [
{ name = "Phil Wang", email = "[email protected]" },
Expand Down

0 comments on commit 02e3ca2

Please sign in to comment.