ai / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 66c5a17453142e0afee794b163349521ecdb7894
a6c0eee
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