Spaces:
Paused
Paused
Download Dockerfile from noxinc/koboldcpp_cpu: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/noxinc/koboldcpp_cpu/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/noxinc/koboldcpp_cpu/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/noxinc/koboldcpp_cpu/resolve/main/Dockerfile
598 Bytes
| 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 | |