Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -26,8 +26,8 @@ RUN python3 -m pip install --upgrade pip pytest cmake \
|
|
| 26 |
scikit-build setuptools fastapi uvicorn sse-starlette \
|
| 27 |
pydantic-settings starlette-context gradio huggingface_hub hf_transfer
|
| 28 |
|
| 29 |
-
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
|
| 30 |
-
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install --timeout 100 -r requirements.txt
|
| 31 |
|
| 32 |
RUN chmod +x ./run.sh
|
| 33 |
|
|
|
|
| 26 |
scikit-build setuptools fastapi uvicorn sse-starlette \
|
| 27 |
pydantic-settings starlette-context gradio huggingface_hub hf_transfer
|
| 28 |
|
| 29 |
+
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
| 30 |
+
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install --timeout 100 -r requirements.txt
|
| 31 |
|
| 32 |
RUN chmod +x ./run.sh
|
| 33 |
|