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
102c446f
Commit
102c446f
authored
Apr 21, 2022
by
Sam DeLuca
Browse files
fixing dockerfile and small bug in run_pretrained_openfold.py
parent
cdadff32
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
Dockerfile
Dockerfile
+2
-2
environment.yml
environment.yml
+1
-0
run_pretrained_openfold.py
run_pretrained_openfold.py
+1
-1
No files found.
Dockerfile
View file @
102c446f
FROM
nvidia/cuda:1
1.0
-cudnn8-runtime-ubuntu18.04
FROM
nvidia/cuda:1
0.2
-cudnn8-runtime-ubuntu18.04
RUN
apt-get update
&&
apt-get
install
-y
wget cuda-minimal-build-1
1-0
git
RUN
apt-get update
&&
apt-get
install
-y
wget cuda-minimal-build-1
0-2
git
RUN
wget
-P
/tmp
\
"https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"
\
&&
bash /tmp/Miniconda3-latest-Linux-x86_64.sh
-b
-p
/opt/conda
\
...
...
environment.yml
View file @
102c446f
...
...
@@ -23,6 +23,7 @@ dependencies:
-
conda-forge::pip
-
conda-forge::openmm=7.5.1
-
conda-forge::pdbfixer
-
conda-forge::cudatoolkit==10.2.*
-
bioconda::hmmer==3.3.2
-
bioconda::hhsuite==3.3.0
-
bioconda::kalign2==2.04
run_pretrained_openfold.py
View file @
102c446f
...
...
@@ -167,7 +167,7 @@ def main(args):
# Relax the prediction.
t
=
time
.
perf_counter
()
visible_devices
=
os
.
getenv
(
"CUDA_VISIBLE_DEVICES"
)
visible_devices
=
os
.
getenv
(
"CUDA_VISIBLE_DEVICES"
,
default
=
""
)
if
(
"cuda"
in
args
.
model_device
):
device_no
=
args
.
model_device
.
split
(
":"
)[
-
1
]
os
.
environ
[
"CUDA_VISIBLE_DEVICES"
]
=
device_no
...
...
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