Skip to content

Commit 72b9e60

Browse files
authored
Update alphafold3.py (#205)
1 parent fac940c commit 72b9e60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

alphafold3_pytorch/alphafold3.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4299,7 +4299,8 @@ def __init__(
42994299
num_pde_bins = 64,
43004300
num_pae_bins = 64,
43014301
pairformer_depth = 4,
4302-
pairformer_kwargs: dict = dict()
4302+
pairformer_kwargs: dict = dict(),
4303+
checkpoint=False
43034304
):
43044305
super().__init__()
43054306

@@ -4319,6 +4320,7 @@ def __init__(
43194320
dim_single = dim_single,
43204321
dim_pairwise = dim_pairwise,
43214322
depth = pairformer_depth,
4323+
checkpoint = checkpoint,
43224324
**pairformer_kwargs
43234325
)
43244326

@@ -6116,6 +6118,7 @@ def __init__(
61166118
num_plddt_bins = num_plddt_bins,
61176119
num_pde_bins = num_pde_bins,
61186120
num_pae_bins = num_pae_bins,
6121+
checkpoint = checkpoint_confidence_head,
61196122
**confidence_head_kwargs
61206123
)
61216124

0 commit comments

Comments
 (0)