invoke-ai / InvokeAI

InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
22.75k stars 2.35k forks source link

[enhancement]: Multi-select delete for models and loras #6240

Open rking2981 opened 4 months ago

rking2981 commented 4 months ago

Is there an existing issue for this?

Contact Details

Discord: @kingsman

What should this feature add?

When in the Model Manager, I decided to delete a bunch of loras that I no longer wanted by going to the loras folder and deleting them as I thought it would clear them out of InvokeAI Model Manager since there wasn't an option to select multiple and then delete. The one's I deleted are still in the Model Manager.

This feature should allow the user to select a checkbox next to each model/lora they would like to delete and when done selecting, click the Delete button which then will remove them from the Model Manager.

Alternatives

No response

Additional Content

No response

kenny-kvibe commented 2 months ago

+1 I also need this (takes way too much time to delete each one by one) I think the best approach would be to have a button on the models page next to + Add Models something like Resolve Missing Models, which would automatically remove entries from the DB by missing files.


Besides the select-option variant OP mentioned, I think both are needed.

freshlesh3 commented 1 month ago

Model management is tedious when you need to prune models. When you boot up Invoke it does a scan of the model library so it knows which models are missing it should reflect it in the ui, we could dim the missing models and add a multi selection option. IMHO it would be a huge usability upgrade with data that is already available.