-
Notifications
You must be signed in to change notification settings - Fork 54
/
Dockerfile
57 lines (50 loc) · 1.79 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
FROM ai4s-cn-beijing.cr.volces.com/pytorch-mirror/pytorch:2.3.1-cuda12.1-cudnn8-devel
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Shanghai
RUN apt-get update && \
apt-get install -y --no-install-recommends \
wget \
g++ \
gcc \
libc6-dev \
make zlib1g zlib1g-dev \
git git-lfs expect zsh vim wget curl unzip zip cmake cmake-curses-gui libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN apt update && apt -y install postgresql
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
hmmer cmake cmake-curses-gui \
&& git clone --branch v3.3.0 https://github.com/soedinglab/hh-suite.git /tmp/hh-suite \
&& mkdir /tmp/hh-suite/build \
&& cd /tmp/hh-suite/build \
&& cmake -DCMAKE_INSTALL_PREFIX=/opt/hhsuite .. \
&& make -j 32 && make install \
&& ln -s /opt/hhsuite/bin/* /usr/bin \
&& cd - \
&& rm -rf /tmp/hh-suite
RUN apt-get install -yq --no-install-recommends libxrender1 iproute2 curl libxext6
# Add PIP Package
RUN pip3 --no-cache-dir install \
scipy \
ml_collections \
tqdm \
pandas \
dm-tree==0.1.6 \
rdkit=="2023.03.01"
# Add openfold dependency
RUN pip3 --no-cache-dir install \
biopython==1.83 \
modelcif==0.7
# Add datapipeline dependency
RUN pip3 --no-cache-dir install \
biotite==1.0.1 \
gemmi==0.6.5 \
pdbeccdutils==0.8.5 \
scikit-learn==1.2.2 \
scikit-learn-extra \
deepspeed==0.14.4 \
protobuf==3.20.2 tos icecream ipdb wandb numpy==1.26.3 matplotlib==3.9.2 ipywidgets py3Dmol
# For H20 compatibility
RUN pip3 install --no-cache-dir nvidia-cublas-cu12==12.4.5.8 --no-deps
RUN git clone -b v3.5.1 https://github.com/NVIDIA/cutlass.git /opt/cutlass
ENV CUTLASS_PATH=/opt/cutlass