iubewnepo / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 99c56dd28ae3a74d7a7aa6eb51b7bbe8bfeab639
353784c
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