Spaces:
Build error
Build error
Download Dockerfile from sca255/codeboxgptpythonapi: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/spaces/sca255/codeboxgptpythonapi/resolve/382e47e3db6f93029e0eadf76f2d70aeda771f00/Dockerfile
- Command line
-
hf download hf://spaces/sca255/codeboxgptpythonapi@382e47e3db6f93029e0eadf76f2d70aeda771f00/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sca255/codeboxgptpythonapi/resolve/382e47e3db6f93029e0eadf76f2d70aeda771f00/Dockerfile
502 Bytes
| FROM ubuntu | |
| RUN mkdir /opt/koboldcpp | |
| RUN apt update && apt install git build-essential libopenblas-dev wget python3-pip -y | |
| RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp | |
| WORKDIR /opt/koboldcpp | |
| RUN make LLAMA_OPENBLAS=1 | |
| RUN wget -O model.ggml https://huggingface.co/KoboldAI/LLaMA2-13B-Tiefighter-GGUF/resolve/main/LLaMA2-13B-Tiefighter.Q4_K_S.gguf | |
| CMD ["/bin/python3", "./koboldcpp.py", "--model", "model.ggml", "--port", "7860", "--hordeconfig", "HF_SPACE_Tiefighter", "1", "1"] | |