B-702 / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 7a1fecbdb32454988959b07fe23196541a55f177
f482f48
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