Skip to content

Commit

Permalink
DGL Docker (#551)
Browse files Browse the repository at this point in the history
Добавил Docker для DGL. Проверил в gitHub Workspace - всё работает.
  • Loading branch information
Atikin-NT authored Oct 7, 2024
1 parent b0d60e6 commit f8994ef
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker/DGL/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ubuntu_for_dli

WORKDIR /root/

ARG TORCH_VERSION=2.2.1
ARG TORCHAUDIO_VERSION=2.2.1
ARG TORCHVISION_VERSION=0.17.1

# Update pip
WORKDIR /tmp/
RUN pip3 install --upgrade pip

# Install PyTorch Python
RUN pip3 install torch==${TORCH_VERSION} \
torchvision==${TORCHVISION_VERSION} \
torchaudio==${TORCHAUDIO_VERSION}

# Install DGL(PyTorch)
RUN pip3 install dgl==2.0.0 -f https://data.dgl.ai/wheels/repo.html
RUN pip3 install dglgo==0.0.2 -f https://data.dgl.ai/wheels-test/repo.html

WORKDIR /tmp/

0 comments on commit f8994ef

Please sign in to comment.