Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
2c36cb8b
Commit
2c36cb8b
authored
Nov 29, 2023
by
Christina Floristean
Browse files
Fix for issue #367
parent
cdeb8d1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/model/structure_module.py
openfold/model/structure_module.py
+1
-1
No files found.
openfold/model/structure_module.py
View file @
2c36cb8b
...
@@ -716,7 +716,7 @@ class InvariantPointAttentionMultimer(nn.Module):
...
@@ -716,7 +716,7 @@ class InvariantPointAttentionMultimer(nn.Module):
o_pt_norm
=
o_pt
.
norm
(
epsilon
=
1e-8
)
o_pt_norm
=
o_pt
.
norm
(
epsilon
=
1e-8
)
if
(
_offload_inference
):
if
(
_offload_inference
):
z
[
0
]
=
z
[
0
].
to
(
o_pt
.
device
)
z
[
0
]
=
z
[
0
].
to
(
o_pt
.
x
.
device
)
o_pair
=
torch
.
einsum
(
'...ijh, ...ijc->...ihc'
,
a
,
z
[
0
].
to
(
dtype
=
a
.
dtype
))
o_pair
=
torch
.
einsum
(
'...ijh, ...ijc->...ihc'
,
a
,
z
[
0
].
to
(
dtype
=
a
.
dtype
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment