machine learning fills disk with hundreds of gigabytes #28872
Replies: 2 comments 3 replies
|
If the space is growing under The stock Immich compose normally has a persistent ML cache mount similar to: machine-learning:
volumes:
- model-cache:/cacheI would check the actual large directory before deleting anything: docker system df -v
docker exec immich_machine_learning sh -c 'du -xh -d1 / /cache /root/.cache /tmp 2>/dev/null | sort -h'If I would avoid deleting files directly from If this narrows down the disk growth, please mark it answered so other ML-cache cases find the same diagnostic path. |
|
For that case, I would try putting the Hugging Face cache under the existing ML cache mount too: immich-machine-learning:
environment:
HF_HOME: /cache/huggingface
HF_XET_CACHE: /cache/huggingface/xet
MACHINE_LEARNING_CACHE_FOLDER: /cache/immich_mlThen recreate just the ML container and compare For the original 150 GB report, I would still want the same |
Uh oh!
There was an error while loading. Please reload this page.
Sometimes, immich machine learning's container filesystem (in /var/lib/docker/overlay2) baloons to hundreds of gigabytes in size, filling my disk completely. I am running latest (v2.7.5) with an almost unchanged compose configuration (I had to relax apparmor restrictions using
security_opt: [apparmor=unconfined]) using rocm on a Ryzen 5 2400G iGPU.All reactions