File size: 488 Bytes
f00f318
26f3ec9
7c204ea
 
37d7762
 
f02f4b1
01b2896
37d7762
01b2896
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ghcr.io/ggml-org/llama.cpp:full

RUN apt update && apt install wget -y

# Download the coding-specialized model
RUN wget "https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct-GGUF/resolve/main/qwen2.5-coder-7b-instruct-q4_k_m.gguf" -O /Qwen2.5-Coder-7B-Q4_K_M.gguf

CMD ["--server", \
     "-m", "/Qwen2.5-Coder-7B-Q4_K_M.gguf", \
     "--port", "7860", \
     "--host", "0.0.0.0", \
     "--ctx-size", "32768", \
     "--n-predict", "-1", \
     "--threads", "2", \
     "--jinja"]