Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -3,11 +3,11 @@ ARG MODEL
|
|
3 |
ARG MODEL_NAME
|
4 |
ARG ADDITIONAL
|
5 |
RUN mkdir /opt/koboldcpp
|
6 |
-
RUN apt update && apt install git build-essential wget python3-pip -y
|
7 |
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
8 |
WORKDIR /opt/koboldcpp
|
9 |
COPY default.json /opt/koboldcpp/default.json
|
10 |
-
RUN make
|
11 |
RUN wget -O model.gguf $MODEL
|
12 |
CMD /bin/python3 ./koboldcpp.py --model model.gguf $ADDITIONAL --port 7860 --nommap --threads 2
|
13 |
|
|
|
3 |
ARG MODEL_NAME
|
4 |
ARG ADDITIONAL
|
5 |
RUN mkdir /opt/koboldcpp
|
6 |
+
RUN apt update && apt install git build-essential wget python3-pip libopenblas-dev -y
|
7 |
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
8 |
WORKDIR /opt/koboldcpp
|
9 |
COPY default.json /opt/koboldcpp/default.json
|
10 |
+
RUN make LLAMA_OPENBLAS=1
|
11 |
RUN wget -O model.gguf $MODEL
|
12 |
CMD /bin/python3 ./koboldcpp.py --model model.gguf $ADDITIONAL --port 7860 --nommap --threads 2
|
13 |
|