Skip to content

Commit 9a22cbc

Browse files
committed
Fix environment.yml
Install prody with conda and not pip.
1 parent 3e80ffd commit 9a22cbc

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ local_config.yml
158158
local_config_inference.yml
159159
local_config_filtering.yml
160160
temp1.py
161-
temp5.py
161+
temp2.py
162162
temp3.py
163163
temp4.py
164164
temp5.py

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Stage 1: Build Environment Setup
2-
FROM nvidia/cuda:11.7.1-devel-ubuntu22.04 as builder
2+
FROM nvidia/cuda:11.7.1-devel-ubuntu22.04 AS builder
33

4-
RUN apt-get update -y && apt-get install -y wget curl git tar bzip2 unzip && rm -rf /var/lib/apt/lists/*
4+
RUN apt-get update -y && apt-get install -y gcc wget curl git tar bzip2 unzip && rm -rf /var/lib/apt/lists/*
55

66
# Create a user
77
ENV APPUSER="appuser"
@@ -25,12 +25,6 @@ RUN ~/bin/micromamba env create --file $ENV_FILE_NAME && ~/bin/micromamba clean
2525
# Copy application code
2626
COPY --chown=$APPUSER:$APPUSER . $HOME/$DIR_NAME
2727

28-
# Download models
29-
# These should download automatically on first inference
30-
# RUN curl -L -o diffdock_models_v1.1.zip "https://www.dropbox.com/scl/fi/drg90rst8uhd2633tyou0/diffdock_models.zip?rlkey=afzq4kuqor2jb8adah41ro2lz&dl=1" \
31-
# && mkdir -p $HOME/$DIR_NAME/workdir \
32-
# && unzip diffdock_models_v1.1.zip -d $HOME/$DIR_NAME/workdir
33-
3428

3529
# Stage 2: Runtime Environment
3630
FROM nvidia/cuda:11.7.1-runtime-ubuntu22.04

environment.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,35 @@ channels:
88
dependencies:
99
- python=3.9.18
1010
- pip
11+
- python-devtools
1112
# Need older setuptools for openfold
1213
- setuptools=69.5.1
14+
# ProDy needs to be installed with conda
15+
- prody==2.2.0
16+
- scipy==1.12.0
1317
# Need to install torch in order to build openfold, so install it first
1418
- pip:
1519
- --extra-index-url https://download.pytorch.org/whl/cu117
1620
- --find-links https://pytorch-geometric.com/whl/torch-1.13.1+cu117.html
1721
- torch==1.13.1+cu117
18-
- pip:
19-
- --extra-index-url https://download.pytorch.org/whl/cu117
20-
- --find-links https://pytorch-geometric.com/whl/torch-1.13.1+cu117.html
2122
- dllogger @ git+https://github.com/NVIDIA/dllogger.git
2223
- e3nn==0.5.1
2324
- fair-esm[esmfold]==2.0.0
2425
- networkx==2.8.4
25-
- openfold @ git+https://github.com/aqlaboratory/openfold.git@4b41059694619831a7db195b7e0988fc4ff3a307
2626
- pandas==1.5.1
27-
- prody==2.2.0
28-
- prody==2.2.0
2927
- pybind11==2.11.1
3028
- pytorch-lightning==1.9.5
3129
- rdkit==2022.03.3
3230
- scikit-learn==1.1.0
33-
- scipy==1.12.0
3431
- torch==1.13.1+cu117
3532
- torch-cluster==1.6.0+pt113cu117
3633
- torch-geometric==2.2.0
3734
- torch-scatter==2.1.0+pt113cu117
3835
- torch-sparse==0.6.16+pt113cu117
3936
- torch-spline-conv==1.2.1+pt113cu117
4037
- torchmetrics==0.11.0
38+
- pip:
39+
- openfold @ git+https://github.com/aqlaboratory/openfold.git@4b41059694619831a7db195b7e0988fc4ff3a307
4140
- pip:
4241
- gradio==3.50.*
4342
- requests

0 commit comments

Comments
 (0)