Spaces:
Paused
Paused
Commit
·
0309af7
1
Parent(s):
98cbe10
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -9,12 +9,13 @@ RUN apt update && apt install -y wget gnupg software-properties-common && \
|
|
| 9 |
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \
|
| 10 |
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
|
| 11 |
|
| 12 |
-
# Install dependencies
|
| 13 |
RUN apt update && \
|
|
|
|
| 14 |
apt install --no-install-recommends -y build-essential python3 python3-pip curl git cmake zlib1g-dev libblas-dev && \
|
| 15 |
-
apt install -y libcublas-dev && \
|
| 16 |
apt clean && rm -rf /var/lib/apt/lists/*
|
| 17 |
|
|
|
|
| 18 |
WORKDIR /app
|
| 19 |
|
| 20 |
# Download ggml and mmproj models from HuggingFace
|
|
|
|
| 9 |
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \
|
| 10 |
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
|
| 11 |
|
| 12 |
+
# Install CUDA Toolkit and other dependencies
|
| 13 |
RUN apt update && \
|
| 14 |
+
apt install -y cuda-toolkit-12-2 && \
|
| 15 |
apt install --no-install-recommends -y build-essential python3 python3-pip curl git cmake zlib1g-dev libblas-dev && \
|
|
|
|
| 16 |
apt clean && rm -rf /var/lib/apt/lists/*
|
| 17 |
|
| 18 |
+
|
| 19 |
WORKDIR /app
|
| 20 |
|
| 21 |
# Download ggml and mmproj models from HuggingFace
|