u / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 457360dae70a4bc565e2f727a7570316e4829eb0
6f8cb64
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