-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.drgnn
More file actions
59 lines (53 loc) · 1.33 KB
/
Dockerfile.drgnn
File metadata and controls
59 lines (53 loc) · 1.33 KB
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
58
59
FROM nvidia/cuda:11.3.0-base-ubuntu20.04
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt install -y \
build-essential \
git \
cmake \
python3 \
python3-pip \
python3-venv \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /root/workspace/
# Python Development
RUN pip3 install \
pre-commit \
psutil \
pytest \
pytest-mpi \
tqdm
# Machine Learning
RUN pip3 install \
torch==1.13.1 \
deepspeed \
hydra-core \
matplotlib \
pandas \
pickle5 \
tensorboard \
wandb \
--extra-index-url https://download.pytorch.org/whl/cu116
# Graph Learning
RUN pip3 install \
pyg_lib \
torch_scatter==2.1.0+pt113cu116 \
torch_sparse==0.6.16+pt113cu116 \
torch_cluster==1.6.0+pt113cu116 \
torch_spline_conv==1.2.1+pt113cu116 \
torch_geometric==2.2.0 \
-f https://data.pyg.org/whl/torch-1.13.0+cu116.html \
&& pip3 install \
dgl-cu113 \
dglgo \
-f https://data.dgl.ai/wheels/repo.html \
&& pip3 install \
ase \
e3nn \
ogb \
mendeleev \
networkx
ENV CUDA_VISIBLE_DEVICES=all
LABEL maintainer="Justin Baker"
LABEL email='baker@math.utah.edu'
LABEL description="Builds on nvidia/cuda image to provide a compatible machine learning stack"
LABEL version="1.0"