Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -7,7 +7,7 @@ RUN apt-get update && apt-get upgrade -y \
|
|
7 |
&& apt-get install -y git build-essential libpq-dev gcc \
|
8 |
wget ocl-icd-opencl-dev opencl-headers clinfo \
|
9 |
libclblast-dev libopenblas-dev software-properties-common\
|
10 |
-
g++-11 make python3 python-is-python3
|
11 |
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
|
12 |
|
13 |
ENV TRANSFORMERS_CACHE=/root/.cache
|
@@ -23,7 +23,6 @@ RUN python -m pip install --upgrade pip pytest cmake \
|
|
23 |
scikit-build setuptools fastapi uvicorn sse-starlette \
|
24 |
pydantic-settings starlette-context gradio huggingface_hub hf_transfer
|
25 |
|
26 |
-
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
27 |
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install --timeout 100 -r requirements.txt
|
28 |
|
29 |
RUN chmod +x ./run.sh
|
|
|
7 |
&& apt-get install -y git build-essential libpq-dev gcc \
|
8 |
wget ocl-icd-opencl-dev opencl-headers clinfo \
|
9 |
libclblast-dev libopenblas-dev software-properties-common\
|
10 |
+
g++-11 make python3 python-is-python3 \
|
11 |
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
|
12 |
|
13 |
ENV TRANSFORMERS_CACHE=/root/.cache
|
|
|
23 |
scikit-build setuptools fastapi uvicorn sse-starlette \
|
24 |
pydantic-settings starlette-context gradio huggingface_hub hf_transfer
|
25 |
|
|
|
26 |
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install --timeout 100 -r requirements.txt
|
27 |
|
28 |
RUN chmod +x ./run.sh
|