matthoffner commited on
Commit
7c56e97
·
1 Parent(s): 6c52ae3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,14 +7,14 @@ EXPOSE 8080
7
  WORKDIR /app
8
 
9
  RUN wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
10
- RUN FORCE_CMAKE=1 pip install llama-cpp-python
11
  COPY requirements.txt ./
12
  RUN pip install --upgrade pip && \
13
  pip install -r requirements.txt
14
 
15
  RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
16
  RUN apt-get install git-lfs
17
- RUN git clone -b previous_llama https://huggingface.co/TheBloke/wizardLM-7B-GGML
18
 
19
  COPY . .
20
  RUN ls -al
 
7
  WORKDIR /app
8
 
9
  RUN wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
10
+ RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
11
  COPY requirements.txt ./
12
  RUN pip install --upgrade pip && \
13
  pip install -r requirements.txt
14
 
15
  RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
16
  RUN apt-get install git-lfs
17
+ RUN git clone https://huggingface.co/TheBloke/wizardLM-7B-GGML
18
 
19
  COPY . .
20
  RUN ls -al