From 8c65c52271daad182d3fd7353404874bdd99b6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Sun, 15 Mar 2026 09:57:11 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20persist=20OptiX=20kernel=20cache=20?= =?UTF-8?q?=E2=80=94=209x=20faster=20first=20render=20after=20restart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The OptiX cache was mounted at /root/.nv but NVIDIA writes to /var/tmp/OptixCache_root/optix7cache.db (28MB). Fixed volume mount. Before: first render after container restart = 181s (OptiX recompilation) After: first render after container restart = 20s (cached kernels) Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e8df585..0e5e99b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -142,7 +142,7 @@ services: - ./backend:/app - uploads:/app/uploads - /opt/blender:/opt/blender:ro - - optix-cache:/root/.nv # persist OptiX BVH/kernel cache across rebuilds + - optix-cache:/var/tmp/OptixCache_root # persist OptiX kernel cache across container restarts depends_on: postgres: condition: service_healthy