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
cdd97841
"git@developer.sourcefind.cn:OpenDAS/Uni-Core.git" did not exist on "ccf3bea4fd8d817c5c19561be945911642ab4972"
Commit
cdd97841
authored
Dec 06, 2023
by
Christina Floristean
Browse files
Updated DeepSpeed version, added inplace_safe for template offloading
parent
9236c1e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
environment.yml
environment.yml
+1
-1
openfold/model/template.py
openfold/model/template.py
+2
-0
No files found.
environment.yml
View file @
cdd97841
...
@@ -30,7 +30,7 @@ dependencies:
...
@@ -30,7 +30,7 @@ dependencies:
-
bioconda::kalign2==2.04
-
bioconda::kalign2==2.04
-
pytorch::pytorch=1.12.*
-
pytorch::pytorch=1.12.*
-
pip
:
-
pip
:
-
git+https://github.com/microsoft/D
eep
S
peed
.git@4388a60
# Replace when version becomes available
-
d
eep
s
peed
==0.12.4
-
dm-tree==0.1.6
-
dm-tree==0.1.6
-
git+https://github.com/NVIDIA/dllogger.git
-
git+https://github.com/NVIDIA/dllogger.git
-
git+https://github.com/Dao-AILab/flash-attention.git@5b838a8
-
git+https://github.com/Dao-AILab/flash-attention.git@5b838a8
openfold/model/template.py
View file @
cdd97841
...
@@ -474,6 +474,7 @@ def embed_templates_offload(
...
@@ -474,6 +474,7 @@ def embed_templates_offload(
chunk_size
=
model
.
globals
.
chunk_size
,
chunk_size
=
model
.
globals
.
chunk_size
,
use_deepspeed_evo_attention
=
model
.
globals
.
use_deepspeed_evo_attention
,
use_deepspeed_evo_attention
=
model
.
globals
.
use_deepspeed_evo_attention
,
use_lma
=
model
.
globals
.
use_lma
,
use_lma
=
model
.
globals
.
use_lma
,
inplace_safe
=
inplace_safe
,
_mask_trans
=
model
.
config
.
_mask_trans
,
_mask_trans
=
model
.
config
.
_mask_trans
,
)
)
...
@@ -592,6 +593,7 @@ def embed_templates_average(
...
@@ -592,6 +593,7 @@ def embed_templates_average(
chunk_size
=
model
.
globals
.
chunk_size
,
chunk_size
=
model
.
globals
.
chunk_size
,
use_deepspeed_evo_attention
=
model
.
globals
.
use_deepspeed_evo_attention
,
use_deepspeed_evo_attention
=
model
.
globals
.
use_deepspeed_evo_attention
,
use_lma
=
model
.
globals
.
use_lma
,
use_lma
=
model
.
globals
.
use_lma
,
inplace_safe
=
inplace_safe
,
_mask_trans
=
model
.
config
.
_mask_trans
,
_mask_trans
=
model
.
config
.
_mask_trans
,
)
)
...
...
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