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
1271a03f
"...git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "4d8624fd785ba7197d56355db16d6fd262cce402"
Commit
1271a03f
authored
Nov 16, 2023
by
Christina Floristean
Browse files
Use ds kernel for default long seq inference
parent
71526dff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openfold/config.py
openfold/config.py
+2
-2
No files found.
openfold/config.py
View file @
1271a03f
...
@@ -200,9 +200,9 @@ def model_config(
...
@@ -200,9 +200,9 @@ def model_config(
if
long_sequence_inference
:
if
long_sequence_inference
:
assert
(
not
train
)
assert
(
not
train
)
c
.
globals
.
offload_inference
=
True
c
.
globals
.
offload_inference
=
True
c
.
globals
.
use_lma
=
True
# Default to DeepSpeed memory-efficient attention kernel unless use_lma is explicitly set
c
.
globals
.
use_deepspeed_evo_attention
=
True
if
not
c
.
globals
.
use_lma
else
False
c
.
globals
.
use_flash
=
False
c
.
globals
.
use_flash
=
False
c
.
globals
.
use_deepspeed_evo_attention
=
False
c
.
model
.
template
.
offload_inference
=
True
c
.
model
.
template
.
offload_inference
=
True
c
.
model
.
template
.
template_pair_stack
.
tune_chunk_size
=
False
c
.
model
.
template
.
template_pair_stack
.
tune_chunk_size
=
False
c
.
model
.
extra_msa
.
extra_msa_stack
.
tune_chunk_size
=
False
c
.
model
.
extra_msa
.
extra_msa_stack
.
tune_chunk_size
=
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