dauabi / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 7e224e4a536b07ec008613f06592e34050e7067c
f1f8449
services:
ollama:
# GPU support
deploy:
resources:
reservations:
devices:
- driver: ${OLLAMA_GPU_DRIVER-nvidia}
count: ${OLLAMA_GPU_COUNT-1}
capabilities:
- gpu