Last active
January 5, 2024 20:58
-
-
Save malcolmgreaves/39f31ce466084e62aac4bce6456adf4e to your computer and use it in GitHub Desktop.
Dockerfile based on Ubuntu 22.04 that has CUDA 11.7 dev libraries & drivers installed alongside PyTorch 1.13 and Torch-Geometric 2.0.4 libraries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nvidia/cuda:11.7.1-devel-ubuntu22.04 | |
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | |
apt-get install -y software-properties-common && \ | |
add-apt-repository -y ppa:deadsnakes/ppa && \ | |
apt-get install -y \ | |
python3-setuptools python3-dev swig \ | |
wget git unzip tmux vim tree xterm \ | |
build-essential gcc \ | |
python3.10 python3-pip && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN pip install --index-url https://download.pytorch.org/whl/cu117 torch==1.13.0 | |
RUN pip install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric==2.0.4 -f https://data.pyg.org/whl/torch-1.13.0+cu117.html | |
RUN pip install PyYAML scipy "networkx[default]" biopython rdkit-pypi e3nn spyrmsd pandas biopandas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment