Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -5,7 +5,10 @@ COPY ./requirements.txt /code/requirements.txt
|
|
5 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
6 |
|
7 |
# RUN CMAKE_ARGS="-DLLAMA_CUBLAS=off" pip install llama-cpp-python
|
8 |
-
|
|
|
|
|
|
|
9 |
|
10 |
|
11 |
RUN useradd -m -u 1000 user
|
|
|
5 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
6 |
|
7 |
# RUN CMAKE_ARGS="-DLLAMA_CUBLAS=off" pip install llama-cpp-python
|
8 |
+
|
9 |
+
RUN pip install --upgrade --quiet llama-cpp-python
|
10 |
+
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install --upgrade --force-reinstall llama-cpp-python --no-cache-dir
|
11 |
+
#RUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
|
12 |
|
13 |
|
14 |
RUN useradd -m -u 1000 user
|