Skip to content

Commit e1518c7

Browse files
committed
More
1 parent 309acdd commit e1518c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ WORKDIR /home
1010
COPY pytorch.yml pytorch.yml
1111
RUN mamba env update -n base --file pytorch.yml \
1212
&& conda clean -afy \
13+
&& mamba uninstall -y pytorch torchvision \
14+
&& mamba install -y -n base -c conda-forge \
15+
"cuda-version=${CUDA_VER%.*}.*" \
16+
pytorch-gpu \
17+
torchvision \
18+
&& conda clean -afy \
1319
&& rm pytorch.yml
1420

1521

0 commit comments

Comments
 (0)