-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
27 lines (21 loc) · 1.46 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
FROM nvcr.io/nvidia/pytorch:23.04-py3
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN python -m pip install -U pip
# Install torch==2.2.0 & dependencies...
RUN python -m pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 torchtext==0.17.0 --index-url https://download.pytorch.org/whl/cu121
WORKDIR /cna_modules
RUN git clone https://github.com/k4ntz/activation-functions.git
WORKDIR /cna_modules/activation-functions/
RUN python -m pip install airspeed==0.5.17
RUN python -m pip install -r requirements.txt && python -m pip install .
WORKDIR /bag_of_rationals
RUN python -m pip install setuptools==65.6.3 faiss_gpu==1.7.2 fast_pytorch_kmeans==0.1.9 matplotlib==3.7.1 networkx==3.1 numpy pytorch_lightning==2.0.2 SciencePlots==2.1.0 scipy==1.9.1 seaborn==0.12.2 torchviz==0.0.2 scikit-learn==1.3.2 tensorboard-plugin-customizable-plots dill ogb==1.3.6
# Install torch geometric and its dependencies
RUN python -m pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-2.2.2+cu121.html
RUN python -m pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-2.2.2+cu121.html
RUN python -m pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-2.2.2+cu121.html
RUN python -m pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-2.2.2+cu121.html
RUN python -m pip install pyg_lib -f https://pytorch-geometric.com/whl/torch-2.2.2+cu121.html
RUN python -m pip install torch-geometric==2.3.0
WORKDIR /cna_modules