ilhooq commited on
Commit
7a7769a
·
1 Parent(s): 70ea69b

Add openblas support

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -3,7 +3,7 @@ ARG UBUNTU_VERSION=22.04
3
  FROM ubuntu:$UBUNTU_VERSION as build
4
 
5
  RUN apt-get update && \
6
- apt-get install -y build-essential git libcurl4-openssl-dev
7
 
8
  RUN git clone https://github.com/ggerganov/llama.cpp.git
9
 
@@ -11,12 +11,12 @@ WORKDIR /llama.cpp
11
 
12
  # ENV LLAMA_CURL=1
13
 
14
- RUN make
15
 
16
  FROM ubuntu:$UBUNTU_VERSION as runtime
17
 
18
  RUN apt-get update && \
19
- apt-get install -y libcurl4-openssl-dev curl
20
 
21
  COPY --from=build /llama.cpp/server /server
22
 
 
3
  FROM ubuntu:$UBUNTU_VERSION as build
4
 
5
  RUN apt-get update && \
6
+ apt-get install -y build-essential git libcurl4-openssl-dev libopenblas-dev
7
 
8
  RUN git clone https://github.com/ggerganov/llama.cpp.git
9
 
 
11
 
12
  # ENV LLAMA_CURL=1
13
 
14
+ RUN make LLAMA_OPENBLAS=1
15
 
16
  FROM ubuntu:$UBUNTU_VERSION as runtime
17
 
18
  RUN apt-get update && \
19
+ apt-get install -y libcurl4-openssl-dev curl libopenblas-base
20
 
21
  COPY --from=build /llama.cpp/server /server
22