Repository navigation
v0.1.549
Check the disk has room before pulling a model (#642)
Before downloading anything, add up what the pull still needs and stop if the disk the store is on doesn't have that much free. This covers every pull, Hugging Face, Docker Hub and other OCI registries, s3/gs/ngc/ModelScope and local imports. Files already in the store don't count where the source gives their digest. The error says how much it needs and how much is free, so you can clear some space or move the store with LLMMAN_MODELS.
Related #627