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