Skip to content

Commit 02e3ca2

Browse files
committed
missing typecheck on prostt5
1 parent 99d7e1b commit 02e3ca2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

alphafold3_pytorch/plm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ def __init__(self):
9191
self.model = T5EncoderModel.from_pretrained("Rostlab/ProstT5")
9292
self.embed_dim = 1024
9393

94+
@torch.no_grad()
95+
@typecheck
9496
def forward(
9597
self,
9698
aa_ids: Int['b n']

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "alphafold3-pytorch"
3-
version = "0.5.9"
3+
version = "0.5.10"
44
description = "Alphafold 3 - Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "[email protected]" },

0 commit comments

Comments
 (0)