Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
|
@@ -12,15 +12,18 @@ ENV HF_HOME="/tmp"
|
|
| 12 |
# Corrected binary path
|
| 13 |
ENTRYPOINT ["/app/llama-server"]
|
| 14 |
|
| 15 |
-
# Run llama-server
|
| 16 |
CMD [ \
|
| 17 |
"--hf-repo", "unsloth/LFM2.5-230M-GGUF", \
|
| 18 |
-
"--hf-file", "LFM2.5-230M-UD-
|
| 19 |
"--host", "0.0.0.0", \
|
| 20 |
"--port", "7860", \
|
| 21 |
"-c", "32768", \
|
| 22 |
"--threads", "2", \
|
| 23 |
"--temp", "0.1", \
|
| 24 |
"--top-k", "50", \
|
| 25 |
-
"--repeat-penalty", "1.05" \
|
|
|
|
|
|
|
|
|
|
| 26 |
]
|
|
|
|
| 12 |
# Corrected binary path
|
| 13 |
ENTRYPOINT ["/app/llama-server"]
|
| 14 |
|
| 15 |
+
# Run llama-server with CPU-tier optimizations, keeping the 32k context
|
| 16 |
CMD [ \
|
| 17 |
"--hf-repo", "unsloth/LFM2.5-230M-GGUF", \
|
| 18 |
+
"--hf-file", "LFM2.5-230M-UD-Q4_K_XL.gguf", \
|
| 19 |
"--host", "0.0.0.0", \
|
| 20 |
"--port", "7860", \
|
| 21 |
"-c", "32768", \
|
| 22 |
"--threads", "2", \
|
| 23 |
"--temp", "0.1", \
|
| 24 |
"--top-k", "50", \
|
| 25 |
+
"--repeat-penalty", "1.05", \
|
| 26 |
+
"--flash-attn", \
|
| 27 |
+
"--cache-type-k", "q8_0", \
|
| 28 |
+
"--cache-type-v", "q8_0" \
|
| 29 |
]
|