From fa0a7c3b1ed002e0a1d95dee62b7f611f44385c1 Mon Sep 17 00:00:00 2001 From: Johannes Rest Date: Wed, 28 Jan 2026 22:14:24 +0100 Subject: [PATCH] Switching to NVIDIA processing... --- docker-compose.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 21d482b..543f700 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,8 +11,18 @@ services: - ollama:/root/.ollama environment: - # Keep model in memory a bit (optional) OLLAMA_KEEP_ALIVE: "10m" + # Optional: pin to GPU 0 if you ever have multiple + # CUDA_VISIBLE_DEVICES: "0" + + # GPU access (Docker Compose) + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: 1 + capabilities: [gpu] volumes: ollama: