Will the Space Used in Hugging Face LFS Be Freed When Deleting a Repo?

I am working on organizing public image datasets and standardizing them into a format best suited for the Diffusers and Hugging Face ecosystems. Unfortunately, I have discovered that the Hugging Face Hub’s scanning process seems to only target files smaller than 2GB, while some parts of my uploaded single file exceed 3GB. This is not a major issue, but my perfectionism makes me want to address it.

The repository is extremely large, exceeding TB scale. I want to delete the repo and re-upload it, but I also want to avoid adding too much storage burden to Hugging Face. If I delete the repo, will the space it occupies on Hugging Face also be freed?

1 Like

I think that deleting the repo will free up the space. If you just delete a single file, the LFS history will remain and the space itself may accumulate. However, I think you can also delete the LFS history from the settings screen.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.