leu-chat / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 50593d03ac6262ea80fe4b003157c756c59f929f
d1eebad
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