Spaces:
Sleeping
Sleeping
Download Dockerfile from programmersd/llama-gemma: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/programmersd/llama-gemma/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/programmersd/llama-gemma/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/programmersd/llama-gemma/resolve/main/Dockerfile
363 Bytes
| FROM ghcr.io/ggml-org/llama.cpp:server | |
| ENV LLAMA_CACHE=/tmp/llama-cache | |
| ENV HF_HUB_CACHE=/tmp/hf-cache | |
| EXPOSE 7860 | |
| CMD ["-hf", "unsloth/gemma-4-E2B-it-GGUF:Q4_0", \ | |
| "-c", "2048", \ | |
| "-t", "8", \ | |
| "-tb", "16", \ | |
| "-b", "1024", \ | |
| "-ub", "512", \ | |
| "-np", "1", \ | |
| "--flash-attn", "on", \ | |
| "--no-warmup", \ | |
| "--no-context-shift", \ | |
| "--host", "0.0.0.0", \ | |
| "--port", "7860"] |