Spaces:
Running
Running
FROM ubuntu | |
ARG MODEL | |
ARG MODEL_NAME | |
ARG ADDITIONAL | |
ARG SABIA | |
RUN mkdir /opt/koboldcpp | |
RUN apt update && apt install git build-essential wget python3-pip libopenblas-dev -y | |
#RUN git clone https://github.com/noxinc-dev/noxinc.dev-kbldcpp-1622-hf /opt/koboldcpp | |
RUN git clone https://github.com/LostRuins/koboldcpp.git /opt/koboldcpp | |
WORKDIR /opt/koboldcpp | |
COPY default.json /opt/koboldcpp/default.json | |
RUN make LLAMA_OPENBLAS=1 | |
RUN wget -O model.gguf $SABIA | |
CMD /bin/python3 ./koboldcpp.py --model model.gguf $ADDITIONAL --port 7860 --nommap --threads 2 --multiuser 3 --remotetunnel --password $KEY | |