devve1 commited on
Commit
17a5f1f
1 Parent(s): 148e5d5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -29,7 +29,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
29
  COPY ./requirements.txt /data/requirements.txt
30
  RUN pip3 install --no-cache-dir --upgrade -r /data/requirements.txt
31
 
32
- RUN CMAKE_ARGS="-DLLAMA_CUDA=on" pip3 install --no-cache-dir llama-cpp-python
 
33
 
34
  COPY pip.conf $VIRTUAL_ENV/pip.conf
35
 
 
29
  COPY ./requirements.txt /data/requirements.txt
30
  RUN pip3 install --no-cache-dir --upgrade -r /data/requirements.txt
31
 
32
+ RUN pip3 install --no-cache-dir llama-cpp-python \
33
+ --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/<cuda-version>
34
 
35
  COPY pip.conf $VIRTUAL_ENV/pip.conf
36