iubewnepo / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 8b5cf049f28f4447ad2e8ac36aa59d2c4edd406f
94e6489
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