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
c7f26b40
Unverified
Commit
c7f26b40
authored
Feb 03, 2022
by
Gustaf Ahdritz
Committed by
GitHub
Feb 03, 2022
Browse files
Disable internal extra MSA chunking during inference
parent
3279b28d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/model/evoformer.py
openfold/model/evoformer.py
+1
-1
No files found.
openfold/model/evoformer.py
View file @
c7f26b40
...
@@ -359,7 +359,7 @@ class ExtraMSABlock(nn.Module):
...
@@ -359,7 +359,7 @@ class ExtraMSABlock(nn.Module):
z
=
z
.
clone
(),
z
=
z
.
clone
(),
mask
=
msa_mask
,
mask
=
msa_mask
,
chunk_size
=
chunk_size
,
chunk_size
=
chunk_size
,
_chunk_logits
=
_chunk_logits
,
_chunk_logits
=
_chunk_logits
if
torch
.
is_grad_enabled
()
else
None
,
_checkpoint_chunks
=
_checkpoint_chunks
=
self
.
ckpt
if
torch
.
is_grad_enabled
()
else
False
,
self
.
ckpt
if
torch
.
is_grad_enabled
()
else
False
,
)
)
...
...
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