ky32 commited on
Commit
987f1cc
·
verified ·
1 Parent(s): 2a01904

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -7,7 +7,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
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
 
 
7
  # RUN CMAKE_ARGS="-DLLAMA_CUBLAS=off" pip install llama-cpp-python
8
 
9
  RUN pip install --upgrade --quiet llama-cpp-python
10
+ ENV CMAKE_ARGS="-DLLAMA_CUBLAS=on"
11
+ RUN FORCE_CMAKE=1 pip install --upgrade --force-reinstall llama-cpp-python --no-cache-dir
12
+
13
+
14
  #RUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
15
 
16