Skip to content

Commit 855589a

Browse files
committed
fix: autocast removal
1 parent 65a7e07 commit 855589a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

profold2/model/functional.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,8 +1407,6 @@ def kabsch_rotation(
14071407
if exists(mask):
14081408
y = y * mask[..., None]
14091409

1410-
x, y = x.float(), y.float()
1411-
14121410
# optimal rotation matrix via SVD of the convariance matrix {x.T * y}
14131411
# v, _, w = torch.linalg.svd(x.T @ y)
14141412
v, _, w = torch.linalg.svd(torch.einsum('... i c,... i d -> ... c d', x, y))

0 commit comments

Comments
 (0)