Show space used by auto captioning models and allow to delete some of them
Trying an auto captioner downloads it automatically. This is a great feature!
But it comes with a few draw backs:
- selecting a model I don't know that it will download multi digit gigabytes of data once activated.
- once a download is started I have no way to stop it - especially bad as that's the first time I'm learing how much data will be downloaded now.
- it's saved somewhere in the system so it's not easy to figure out how much space it's occupying - and the models are huge
(doing a full filesystem search I could figure out they are stored at
~/.cache/huggingface/
So I want to suggest a few enhancements:
- give a hint about the size that will be downloaded for a model so that uses with limited space will not select it
- add a button to stop a started download ("cancel auto captioning" might be reused for that)
- show for all downloaded models the size they are taking on the hdd
- offer an option to delete a model from the hdd
When you select a 7B or 13B model it is clear it is going to use some gigabytes. Not sure if its that easy to add the file size information.
I think it would be better having the list of models ready to use separated from the list of models that can be downloaded in the first place. Like an extra download tab. So annoying when accidentally choosing a model that is not on the SSD. Also the downloads should always go to the custom set path. I don't like cluttering an odd cache folder on my system drive with that kind of stuff.
would also be nice to have a checkmark beside those that are already downloaded (maybe a doublecheck if currently loaded in memory)
The main issue I am experiencing is that I don't know which models I already have on disk and don't know where they are stored so I can't delete ones I don't use.
You can find the downloaded models on Windows at %userprofile%/cache/huggingface
Personally I'd like to be able to move the location taggui downloads models to a different folder, since %userprofile% is locked to your windows install drive and I don't want such large models to be stored there.
You can find the downloaded models on Windows at
%userprofile%/cache/huggingfacePersonally I'd like to be able to move the location taggui downloads models to a different folder, since%userprofile%is locked to your windows install drive and I don't want such large models to be stored there.
I had to do this for Ollama Models:
Open Windows Settings. Go to System. Select About Select Advanced System Settings. Go to the Advanced tab. Select Environment Variables.... Click on New... And create a variable called OLLAMA_MODELS pointing to where you want to store the models
If you can find out what to replace "OLLAMA_MODELS with for Taggui then you're in business. It might be "huggingface" but I'm not sure.