[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vt/ - Virtual Youtubers

Search:


View post   

>> No.41726300 [View]
File: 2.05 MB, 1024x1536, 53135-1616274475-high quality, best quality, high detail, very detailed, official art, mori calliope, 1girl, solo, pink hair, pink eyes, black dr.png [View same] [iqdb] [saucenao] [google]
41726300

So I know we were trying to figure out how to prune models in the past but I came across this link when I was redoing the OP.
https://rentry.org/safetensorsguide#can-you-prune-safetensors

So while that guide says no the github says yes and its what I did for SSMHLL3.
And it was super EASY 5.6 GB > 3.9 GB

Faunanon almost retard proof guide to pruning your models folder:
Git clone the repo or just DL the prune.py
Place prune.py in your models folder stable-diffusion-webui\models\Stable-diffusion
Copy paste the file location folder
Open command line/console
Type: cd(on windows) and ctrl +v your stable diffusion model previously so that you are now inside the models directory.
Example: "cd C:\Where the fuck you installed it\stable-diffusion-webui\models\Stable-diffusion"
Now type: python prune.py name_of_model_you_want_to_prune.safetensors name_of_model_you_want_it_to_be_after_pruned-pruned.safetensors
Enter
???
Profit, Check back on the directory
If you did it right you should have a significantly smaller model named -pruned

Thats all you get from me tonight, GN vtai

Navigation
View posts[+24][+48][+96]