services: llama-cpp: image: ghcr.io/ggml-org/llama.cpp:server-cuda container_name: llama-cpp restart: unless-stopped runtime: nvidia environment: NVIDIA_VISIBLE_DEVICES: all TZ: Europe/Paris volumes: - /var/lib/docker/volumes/llama.cpp/models:/models command: > -m /models/qwen2.5-14b-instruct-q4_k_m-0001-of-00003.gguf --host 0.0.0.0 --port "8080" -ngl "999" -c "8192" --jinja --flash-attn auto ports: - "18080:8080"