h3 / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 8c7e52e5a1f892fd4313abba6c7cfc419be494fc
2cec798
raw
history blame contribute delete
251 Bytes
services:
ollama:
# GPU support
deploy:
resources:
reservations:
devices:
- driver: ${OLLAMA_GPU_DRIVER-nvidia}
count: ${OLLAMA_GPU_COUNT-1}
capabilities:
- gpu