Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -12,15 +12,15 @@ RUN apt-get update -q && \
|
|
| 12 |
git \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
-
# CUDA/CuDNN setup
|
| 16 |
RUN wget -qO /tmp/cuda-keyring.deb \
|
| 17 |
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb && \
|
| 18 |
dpkg -i /tmp/cuda-keyring.deb && \
|
| 19 |
apt-get update -q && \
|
| 20 |
-
apt-get install -y --no-install-recommends \
|
| 21 |
-
libcudnn8 \
|
| 22 |
-
libcublas-12-2
|
| 23 |
-
rm -rf /var/lib/apt/lists/*
|
| 24 |
|
| 25 |
WORKDIR /app
|
| 26 |
|
|
|
|
| 12 |
git \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
+
# CUDA/CuDNN setup with held packages override
|
| 16 |
RUN wget -qO /tmp/cuda-keyring.deb \
|
| 17 |
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb && \
|
| 18 |
dpkg -i /tmp/cuda-keyring.deb && \
|
| 19 |
apt-get update -q && \
|
| 20 |
+
apt-get install -y --allow-change-held-packages --no-install-recommends \
|
| 21 |
+
libcudnn8=8.9.5.29-1+cuda12.2 \
|
| 22 |
+
libcublas-12-2=12.2.5.6-1 \
|
| 23 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 24 |
|
| 25 |
WORKDIR /app
|
| 26 |
|