Created
May 6, 2026 01:45
-
-
Save hunzo/5bf657e9a54a5c39cb4cce334188bfc3 to your computer and use it in GitHub Desktop.
llama.cpp example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| llama-cpp: | |
| image: ghcr.io/ggml-org/llama.cpp:server-cuda | |
| container_name: llama-cpp | |
| restart: unless-stopped | |
| ports: | |
| - "8080:8080" | |
| volumes: | |
| - ./models:/models | |
| command: | |
| - "-m" | |
| - "/models/gemma-4-E2B-it-Q4_K_M.gguf" | |
| - "-ngl" | |
| - "99" | |
| - "-c" | |
| - "131072" | |
| - "--host" | |
| - "0.0.0.0" | |
| runtime: nvidia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment