Skip to content

Commit d1e90ed

Browse files
committed
More
1 parent 8f68dcc commit d1e90ed

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Dockerfile

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG CUDA_VER=11.8.0
2-
ARG PYTHON_VER=3.10
1+
ARG CUDA_VER=12.9.0
2+
ARG PYTHON_VER=3.12
33
ARG LINUX_VER=ubuntu20.04
44

55
FROM rapidsai/miniforge-cuda:cuda${CUDA_VER}-base-${LINUX_VER}-py${PYTHON_VER} as base
@@ -8,14 +8,12 @@ ARG PYTHON_VER
88

99
WORKDIR /home
1010
COPY pytorch.yml pytorch.yml
11-
RUN mamba env update -n base --file pytorch.yml \
12-
&& conda clean -afy \
13-
&& mamba uninstall -y pytorch torchvision \
14-
&& mamba install -y -n base -c conda-forge \
15-
pytorch-gpu \
16-
torchvision \
17-
&& conda clean -afy \
18-
&& rm pytorch.yml
11+
RUN mamba env update -n base --file pytorch.yml
12+
RUN conda clean -afy
13+
RUN conda uninstall -y pytorch torchvision
14+
RUN mamba install -y -n base -c conda-forge pytorch-gpu torchvision
15+
RUN conda clean -afy
16+
RUN rm pytorch.yml
1917

2018

2119
FROM base as examples

0 commit comments

Comments
 (0)