iubewnepo / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: f60c527f8463b00eff1d0ad371cc2de18988239c
3ade8fc
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