Open halr9000 opened 1 year ago
Not that I'm a git wizard by any means, but I think that the way you stored the 1.1 models on HF has resulted in a lot of bloat on disk:
Here are the model files:
PS D:\hal\stable-diffusion\models\ControlNet-v1-1.bak> $a = dir *.pth PS D:\hal\stable-diffusion\models\ControlNet-v1-1.bak> $a Directory: D:\hal\stable-diffusion\models\ControlNet-v1-1.bak Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 4/19/2023 7:24 AM 1445234339 control_v11e_sd15_ip2p.pth -a--- 4/19/2023 7:23 AM 1445235365 control_v11e_sd15_shuffle.pth -a--- 5/11/2023 10:13 PM 1445235023 control_v11f1e_sd15_tile.pth -a--- 4/19/2023 7:22 AM 1445235365 control_v11f1p_sd15_depth.pth -a--- 4/19/2023 7:23 AM 1445234681 control_v11p_sd15_canny.pth -a--- 4/19/2023 7:22 AM 1445235365 control_v11p_sd15_inpaint.pth -a--- 4/19/2023 7:23 AM 1445235365 control_v11p_sd15_lineart.pth -a--- 4/19/2023 7:23 AM 1445234339 control_v11p_sd15_mlsd.pth -a--- 4/19/2023 7:22 AM 1445236049 control_v11p_sd15_normalbae.pth -a--- 4/19/2023 7:22 AM 1445235707 control_v11p_sd15_openpose.pth -a--- 4/19/2023 7:23 AM 1445235707 control_v11p_sd15_scribble.pth -a--- 4/19/2023 7:23 AM 1445233933 control_v11p_sd15_seg.pth -a--- 4/19/2023 7:23 AM 1445235707 control_v11p_sd15_softedge.pth -a--- 4/19/2023 7:22 AM 1445238101 control_v11p_sd15s2_lineart_anime.pth PS D:\hal\stable-diffusion\models\ControlNet-v1-1.bak> ($a | Measure-Object -Sum length).Sum/1GB 18.8437244351953
And here is the .git folder:
PS D:\hal\stable-diffusion\models\ControlNet-v1-1.bak> $b = dir .git -Recurse PS D:\hal\stable-diffusion\models\ControlNet-v1-1.bak> ($b | Measure-Object -Sum length).Sum/1GB 20.1897409306839
I'm about to go grab the pruned copies that I see floating around on civitai so I can get some disk space back. :) But would be cool if you were to prune the repo.
Not that I'm a git wizard by any means, but I think that the way you stored the 1.1 models on HF has resulted in a lot of bloat on disk:
Here are the model files:
And here is the .git folder:
I'm about to go grab the pruned copies that I see floating around on civitai so I can get some disk space back. :) But would be cool if you were to prune the repo.