First version
This commit is contained in:
commit
63e5e23f0f
1 file changed
+28
@@ -0,0 +1,28 @@
|
|||||||
|
services:
|
||||||
|
llama-cpp-image:
|
||||||
|
image: ghcr.io/ggml-org/llama.cpp:server-cuda
|
||||||
|
container_name: llama-cpp-image
|
||||||
|
restart: unless-stopped
|
||||||
|
runtime: nvidia
|
||||||
|
environment:
|
||||||
|
NVIDIA_VISIBLE_DEVICES: all
|
||||||
|
TZ: Europe/Paris
|
||||||
|
LLAMA_ARG_MODEL: /models/Qwen-Image-1.9-Q4_K_M.gguf
|
||||||
|
# LLAMA_ARG_MMPROJ: /models/mmproj-Qwen3VL-8B-Instruct-Q8_0.gguf
|
||||||
|
# LLAMA_ARG_IMAGE_MIN_TOKENS: 1024
|
||||||
|
# LLAMA_ARG_CTX_SIZE: 32768
|
||||||
|
# LLAMA_ARG_CACHE_TYPE_K: q8_0
|
||||||
|
# LLAMA_ARG_CACHE_TYPE_V: q8_0
|
||||||
|
LLAMA_ARG_N_GPU_LAYERS: 999
|
||||||
|
LLAMA_ARG_HOST: 0.0.0.0
|
||||||
|
LLAMA_ARG_PORT: 8080
|
||||||
|
LLAMA_API_KEY: top-secret
|
||||||
|
LLAMA_ARG_JINJA: true
|
||||||
|
LLAMA_ARG_FLASH_ATTN: true
|
||||||
|
LLAMA_ARG_THREADS: 4
|
||||||
|
LLAMA_ARG_PARALLEL: 1
|
||||||
|
LLAMA_ARG_METRICS: true
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/volumes/llama.cpp/models:/models
|
||||||
|
ports:
|
||||||
|
- "18082:8080"
|
||||||
Reference in new issue
Block a user