ubermenchh commited on
Commit
55dcb80
Β·
1 Parent(s): 6e61257

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11.6-bullseye
2
+
3
+ ENV LLAMA_FAST=true
4
+
5
+ RUN apt update && apt install -y libopenblas-dev
6
+ RUN git clone --recurse-submodules https://github.com/spuuntries/llava-cpp-server
7
+ WORKDIR llava-cpp-server
8
+
9
+ WORKDIR llama.cpp
10
+ RUN git pull origin master
11
+ WORKDIR ..
12
+
13
+ RUN wget https://huggingface.co/mys/ggml_llava-v1.5-7b/resolve/main/mmproj-model-f16.gguf
14
+ RUN wget https://huggingface.co/mys/ggml_llava-v1.5-7b/resolve/main/ggml-model-q4_k.gguf
15
+
16
+ RUN make
17
+
18
+ CMD ["bin/llava-server", "-m", "ggml-model-q4_k.gguf", "--mmproj", "mmproj-model-f16.gguf", "--port", "7860", "--host", "0.0.0.0", "--log-http"]