yueyang / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 45fae65ec18d0b265b7151dd469053c8494a72e8
ccaf67e
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