Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -6
Dockerfile
CHANGED
|
@@ -16,18 +16,16 @@ RUN pip install --no-cache-dir -U huggingface_hub
|
|
| 16 |
|
| 17 |
# モデルとmmprojをダウンロード
|
| 18 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 19 |
-
repo="
|
| 20 |
-
hf_hub_download(repo_id=repo, filename="
|
| 21 |
-
hf_hub_download(repo_id=repo, filename="mmproj-LFM2.5-VL-1.6b-Q8_0.gguf", local_dir="/app")'
|
| 22 |
|
| 23 |
CMD ["--server", \
|
| 24 |
-
"-m", "/app/
|
| 25 |
-
"--mmproj", "/app/mmproj-LFM2.5-VL-1.6b-Q8_0.gguf", \
|
| 26 |
"--host", "0.0.0.0", \
|
| 27 |
"--port", "7860", \
|
| 28 |
"-t", "3", \
|
| 29 |
"--mlock", \
|
| 30 |
-
"--prio", "
|
| 31 |
"--swa-full", \
|
| 32 |
"--no-slots", \
|
| 33 |
"--mmap", \
|
|
|
|
| 16 |
|
| 17 |
# モデルとmmprojをダウンロード
|
| 18 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 19 |
+
repo="openbmb/MiniCPM5-1B-GGUF"; \
|
| 20 |
+
hf_hub_download(repo_id=repo, filename="MiniCPM5-1B-F16.gguf", local_dir="/app")'
|
|
|
|
| 21 |
|
| 22 |
CMD ["--server", \
|
| 23 |
+
"-m", "/app/MiniCPM5-1B-F16.gguf", \
|
|
|
|
| 24 |
"--host", "0.0.0.0", \
|
| 25 |
"--port", "7860", \
|
| 26 |
"-t", "3", \
|
| 27 |
"--mlock", \
|
| 28 |
+
"--prio", "0", \
|
| 29 |
"--swa-full", \
|
| 30 |
"--no-slots", \
|
| 31 |
"--mmap", \
|