arenasys / stable-diffusion-webui-model-toolkit

A Multipurpose toolkit for managing, editing and creating models.
MIT License
508 stars 34 forks source link

Feature request #46

Open paboum opened 3 months ago

paboum commented 3 months ago

It seems that you're the right project to ask for such a thing.

I have like a terrabyte of SDXL checkpoints. Sometime I wish to test one prompt with all of them via x/y/z prompt. It takes an hour.

I noticed that some models tend to load faster if you do it in the right order - since they share some chunks of data (e.g. one is in fact a parent of another). So there is a partial tree here, or perhaps a DAG.

The feature would be to pick up my collection of checkpoints, scan them and propose an optimal ordering of those elements in the sense of minimal loading time. It could return the result in csv format so that I can just paste it into X/Y/Z plot form.

Or perhaps there is another, smarter way of running my prompt on multiple checkpoints. A one that doesn't depend that much on reading large amounts of data from disk.