Spaces:
Sleeping
Sleeping
Koboldcpp Tiefigther
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu
|
| 2 |
+
RUN mkdir /opt/koboldcpp
|
| 3 |
+
RUN apt update && apt install git build-essential libopenblas-dev wget python3-pip -y
|
| 4 |
+
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
| 5 |
+
WORKDIR /opt/koboldcpp
|
| 6 |
+
RUN make LLAMA_OPENBLAS=1
|
| 7 |
+
RUN wget -O model.ggml https://huggingface.co/KoboldAI/LLaMA2-13B-Tiefighter-GGUF/resolve/main/LLaMA2-13B-Tiefighter.Q4_K_S.gguf
|
| 8 |
+
CMD ["/bin/python3", "./koboldcpp.py", "--model", "model.ggml", "--port", "7860", "--multiuser", "--hordeconfig", "HF_SPACE_Tiefighter", "1", "1"]
|
| 9 |
+
|