open-webui/docker-compose.gpu.yml

14 lines
226 B
YAML

version: '3.6'
services:
ollama:
# GPU support
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities:
- gpu