ai / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 07e95b6752945fa38c001e433f53a63d4eb207f1
082274e
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