Skip to content

Commit ae7b8f3

Browse files
Update Dockerfile
1 parent d817280 commit ae7b8f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ COPY environment.yml .
4040
# Create environment
4141
RUN conda env create -f environment.yml && conda clean -afy
4242

43+
# Activate env and install PyTorch with GPU
44+
RUN conda run -n toolbox_env pip install torch==2.6.0+cu121 torchvision==0.21.0+cu121 torchaudio==2.6.0+cu121 -f https://download.pytorch.org/whl/torch/
45+
4346
SHELL ["conda", "run", "-n", "toolbox_env", "/bin/bash", "-c"]
4447

4548
# Copy code

0 commit comments

Comments
 (0)