ow / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 403985192cc90e94ceae68895f7e277f2e0aee82
7052566
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