File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 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
33ARG LINUX_VER=ubuntu20.04
44
55FROM rapidsai/miniforge-cuda:cuda${CUDA_VER}-base-${LINUX_VER}-py${PYTHON_VER} as base
@@ -8,14 +8,12 @@ ARG PYTHON_VER
88
99WORKDIR /home
1010COPY 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
2119FROM base as examples
You can’t perform that action at this time.
0 commit comments