Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9a6f2da

Browse files
committedNov 2, 2024·
oops
1 parent b8acadf commit 9a6f2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎alphafold3_pytorch/attention.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def forward(
256256
orig_v = v
257257

258258
if exists(value_residual):
259-
v = v + value_residual
259+
v = 0.5 * (v + value_residual)
260260

261261
# split heads
262262

0 commit comments

Comments
 (0)
Please sign in to comment.