Spaces:
Build error
Build error
Download Dockerfile from sca255/codeboxgptpythonapi: direct link, hf CLI and curl.
- Browser
- Download file 520 Bytes
-
https://huggingface.co/spaces/sca255/codeboxgptpythonapi/resolve/e449931645984f740c4a3d4b60149f97b606ce40/Dockerfile
- Command line
-
hf download hf://spaces/sca255/codeboxgptpythonapi@e449931645984f740c4a3d4b60149f97b606ce40/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sca255/codeboxgptpythonapi/resolve/e449931645984f740c4a3d4b60149f97b606ce40/Dockerfile
520 Bytes
| FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 | |
| ARG MODEL | |
| 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 LLAMA_CUBLAS=1 | |
| RUN wget -O model.ggml $MODEL | |
| CMD ["/bin/python3", "./koboldcpp.py", "--model", "model.ggml", "--usecublas", "mmq", "--multiuser", "--contextsize", "4096", "--port", "7860", "--hordeconfig", "HF_SPACE_Tiefighter", "1", "1"] | |