fix(render): persist OptiX BVH cache across render-worker rebuilds
Mount named volume optix-cache:/root/.nv so the OptiX ComputeCache survives docker compose rebuild. Without this every rebuild wiped the BVH acceleration structure, causing the first render of any complex scene (~175 parts) to take 130–150s instead of 22s while OptiX recompiles kernels and rebuilds the BVH from scratch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -142,6 +142,7 @@ services:
|
|||||||
- ./backend:/app
|
- ./backend:/app
|
||||||
- uploads:/app/uploads
|
- uploads:/app/uploads
|
||||||
- /opt/blender:/opt/blender:ro
|
- /opt/blender:/opt/blender:ro
|
||||||
|
- optix-cache:/root/.nv # persist OptiX BVH/kernel cache across rebuilds
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -200,3 +201,4 @@ volumes:
|
|||||||
pgdata:
|
pgdata:
|
||||||
uploads:
|
uploads:
|
||||||
minio-data:
|
minio-data:
|
||||||
|
optix-cache: # OptiX BVH/kernel pipeline cache (survives render-worker rebuilds)
|
||||||
|
|||||||
Reference in New Issue
Block a user