ai / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 0d5f7ef7c64611e6a92d55b3ce1bc9b1d7f8945a
f59253c
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