Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -10,10 +10,10 @@ RUN pip install -U pip huggingface_hub
|
|
| 10 |
|
| 11 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 12 |
repo="unsloth/gemma-4-31B-it-GGUF"; \
|
| 13 |
-
hf_hub_download(repo_id=repo, filename="gemma-4-31B-it-
|
| 14 |
hf_hub_download(repo_id=repo, filename="mmproj-BF16.gguf", local_dir="/app")'
|
| 15 |
|
| 16 |
-
CMD ["-m", "/app/gemma-4-31B-it-
|
| 17 |
"--mmproj", "/app/mmproj-BF16.gguf", \
|
| 18 |
"--host", "0.0.0.0", \
|
| 19 |
"--port", "7860", \
|
|
@@ -21,5 +21,4 @@ CMD ["-m", "/app/gemma-4-31B-it-IQ4_NL.gguf", \
|
|
| 21 |
"--cache-type-k", "q8_0", \
|
| 22 |
"--cache-type-v", "iq4_nl", \
|
| 23 |
"-c", "1024", \
|
| 24 |
-
"-n", "1024"
|
| 25 |
-
"--no-kv-offload"]
|
|
|
|
| 10 |
|
| 11 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 12 |
repo="unsloth/gemma-4-31B-it-GGUF"; \
|
| 13 |
+
hf_hub_download(repo_id=repo, filename="gemma-4-31B-it-IQ4_XS.gguf", local_dir="/app"); \
|
| 14 |
hf_hub_download(repo_id=repo, filename="mmproj-BF16.gguf", local_dir="/app")'
|
| 15 |
|
| 16 |
+
CMD ["-m", "/app/gemma-4-31B-it-IQ4_XS.gguf", \
|
| 17 |
"--mmproj", "/app/mmproj-BF16.gguf", \
|
| 18 |
"--host", "0.0.0.0", \
|
| 19 |
"--port", "7860", \
|
|
|
|
| 21 |
"--cache-type-k", "q8_0", \
|
| 22 |
"--cache-type-v", "iq4_nl", \
|
| 23 |
"-c", "1024", \
|
| 24 |
+
"-n", "1024"]
|
|
|