ai / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: d48a234bb91a479b618f7828665bdfa45fdc349b
d836a53
raw
history blame
251 Bytes
services:
ollama:
# GPU support
deploy:
resources:
reservations:
devices:
- driver: ${OLLAMA_GPU_DRIVER-nvidia}
count: ${OLLAMA_GPU_COUNT-1}
capabilities:
- gpu