fix: add persistent huggingface cache volume for worker
Prevents re-downloading Whisper model on container recreate. Also switched to whisper medium (large-v3 OOM on 8GB VRAM with Ollama). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- uploads:/app/uploads
|
- uploads:/app/uploads
|
||||||
- exports:/app/exports
|
- exports:/app/exports
|
||||||
|
- huggingface_cache:/root/.cache/huggingface
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -78,3 +79,4 @@ volumes:
|
|||||||
pgdata:
|
pgdata:
|
||||||
uploads:
|
uploads:
|
||||||
exports:
|
exports:
|
||||||
|
huggingface_cache:
|
||||||
|
|||||||
Reference in New Issue
Block a user