-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from colbyford/main
A Dockerfile to run EvoDiff locally in a container (with GPU support)
- Loading branch information
Showing
3 changed files
with
69 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime | ||
|
||
LABEL author="Colby T. Ford <colby@tuple.xyz>" | ||
|
||
## Environment Settings | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
## Install Basic Dependencies | ||
RUN apt-get clean && \ | ||
apt-get update && \ | ||
apt-get -y install \ | ||
sudo \ | ||
git \ | ||
curl \ | ||
wget \ | ||
g++ | ||
|
||
## Pip Install EvoDiff (and other dependencies) | ||
RUN pip install evodiff \ | ||
torch_geometric \ | ||
torch_scatter | ||
|
||
## Clone EvoDiff GitHub Repo (to get scripts) | ||
RUN git clone https://github.com/microsoft/evodiff | ||
|
||
## Set Working Directory | ||
WORKDIR /workspace/evodiff | ||
|
||
## Get UniRef50 Data | ||
RUN cd data && \ | ||
# wget https://evodiff.blob.core.windows.net/evodiff-data/uniref50.tar.gz && \ | ||
wget -O uniref50.tar.gz https://zenodo.org/records/6564798/files/uniref50.tar.gz?download=1 && \ | ||
tar -xzf uniref50.tar.gz && \ | ||
rm uniref50.tar.gz |
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
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