TK-AI / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 5867ebb1ee85792c65f9ac9fe883f83e5d7826a3
20b9d56
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