File tree 3 files changed +8
-0
lines changed
dockerfiles/2.0.0-cuda11.8-ubuntu22.04
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -43,5 +43,8 @@ RUN micromamba create -qy -n base -f /app/conda-linux-64.lock \
43
43
&& micromamba shell init --shell=bash --prefix="$MAMBA_ROOT_PREFIX" \
44
44
&& micromamba clean -qya
45
45
46
+ # Fix for https://github.com/pytorch/pytorch/issues/97041
47
+ RUN ln -s "$CONDA_PREFIX/lib/libnvrtc.so.11.8.89" "$CONDA_PREFIX/lib/libnvrtc.so"
48
+
46
49
# Set the default command to python3.
47
50
CMD ["python3" ]
Original file line number Diff line number Diff line change 6
6
path : templates/20221212.dockerfile.jinja2
7
7
vars :
8
8
base_image : nvidia/cuda:11.8.0-base-ubuntu22.04
9
+ post_conda_steps : |
10
+ # Fix for https://github.com/pytorch/pytorch/issues/97041
11
+ RUN ln -s "$CONDA_PREFIX/lib/libnvrtc.so.11.8.89" "$CONDA_PREFIX/lib/libnvrtc.so"
9
12
conda_channels :
10
13
- conda-forge
11
14
- nvidia
Original file line number Diff line number Diff line change @@ -43,5 +43,7 @@ RUN micromamba create -qy -n base -f /app/conda-linux-64.lock \
43
43
&& micromamba shell init --shell=bash --prefix="$MAMBA_ROOT_PREFIX" \
44
44
&& micromamba clean -qya
45
45
46
+ {{ post_conda_steps ~ (post_conda_steps and '\n') -}}
47
+
46
48
# Set the default command to python3.
47
49
CMD ["python3"]
You can’t perform that action at this time.
0 commit comments