open-webui/docker-compose.gpu.yaml

13 lines
249 B
YAML
Raw Normal View History

2023-12-23 17:33:15 +00:00
version: '3.8'
services:
ollama:
deploy:
resources:
reservations:
devices:
- driver: ${OLLAMA_GPU_DRIVER-nvidia}
count: ${OLLAMA_GPU_COUNT-1}
capabilities:
- gpu