ow / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 7eb92587265a9d0180f531cc6df5863767a32ac7
91493d7
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