ShadowHunter222 commited on
Commit
e9be6ec
·
verified ·
1 Parent(s): e905f6c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -6,14 +6,15 @@ RUN apt update && apt install -y wget ca-certificates && rm -rf /var/lib/apt/lis
6
  RUN wget "https://huggingface.co/unsloth/gemma-4-E2B-it-qat-GGUF/resolve/main/gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf" -O /model.gguf
7
 
8
  # MTP DRAFTER: Official Gemma 4 E2B assistant (Q8_0 — smallest/fastest for CPU free tier, verified filename)
9
- RUN wget "https://huggingface.co/unsloth/gemma-4-E2B-it-qat-GGUF/blob/main/mtp-gemma-4-E2B-it.gguf" -O /draft.gguf
10
 
11
  # Run the server (CPU-only, MTP speculative decoding enabled)
12
  CMD ["-m", "/model.gguf", \
13
  "--port", "7860", "--host", "0.0.0.0", \
14
- "-t", "2", "--mlock", "-c", "4096", \
 
15
  "--jinja", "--flash-attn", "on", \
16
  "--cache-type-k", "q8_0", "--cache-type-v", "q8_0", \
17
  "--spec-type", "draft-mtp", "-md", "/draft.gguf", \
18
  "--spec-draft-n-max", "3", "--spec-draft-n-min", "0", \
19
- "--temp", "1.0", "--top-p", "0.95", "--top-k", "64"]
 
6
  RUN wget "https://huggingface.co/unsloth/gemma-4-E2B-it-qat-GGUF/resolve/main/gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf" -O /model.gguf
7
 
8
  # MTP DRAFTER: Official Gemma 4 E2B assistant (Q8_0 — smallest/fastest for CPU free tier, verified filename)
9
+ RUN wget "https://huggingface.co/unsloth/gemma-4-E2B-it-qat-GGUF/resolve/main/mtp-gemma-4-E2B-it.gguf" -O /draft.gguf
10
 
11
  # Run the server (CPU-only, MTP speculative decoding enabled)
12
  CMD ["-m", "/model.gguf", \
13
  "--port", "7860", "--host", "0.0.0.0", \
14
+ "-t", "2", "--load-mode", "mlock", "-c", "4096", \
15
+ "--parallel", "1", \
16
  "--jinja", "--flash-attn", "on", \
17
  "--cache-type-k", "q8_0", "--cache-type-v", "q8_0", \
18
  "--spec-type", "draft-mtp", "-md", "/draft.gguf", \
19
  "--spec-draft-n-max", "3", "--spec-draft-n-min", "0", \
20
+ "--temp", "1.0", "--top-p", "0.95", "--top-k", "64"]