Have you ever asked yourself, "How much space have I wasted on *.ckpt
and *.safetensors
checkpoints?" π€
Say hello to HowMuch: Checking checkpoint wasted space since... well, now! π Enjoy this somewhat unnecessary, yet "fun-for-the-whole-family" DiskSpaceAnalyzer tool. π
HowMuch
is a Python tool designed to scan your drives (or a specified directory) and report on the total space used by files with specific extensions, mainly .ckpt
and .safetensors
.
It outputs:
- The total storage capacity of each scanned drive or directory.
- The space occupied by
.ckpt
and.safetensors
files. - The free space available.
- A neat bar chart visualizing the above data.
You can easily install HowMuch
via pip:
pip install howmuch
-
Clone the repository:
git clone https://github.com/1e-2/HowMuch.git
-
Navigate to the cloned directory and install:
cd HowMuch pip install .
Run the tool without any arguments to scan all drives:
howmuch
Or, specify a particular directory or drive to scan:
howmuch --scan C:
The results will be displayed in the console, saved to a text file (HowMuch_output.txt
), and visualized in a bar chart (HowMuch_chart.png
).
Feel free to fork the repository, make changes, and open a pull request. All contributions are welcome!
This project is licensed under the MIT License. See LICENSE for details.
- idlebg - GitHub
For any additional questions or comments, please open an issue.