CivArchive
    ← All articles
    Published March 11, 2024by MisterMR

    Stable Diffusion A1111 where are my GB?

    508 views0 reactions2 comments on CivitAI1 collected
    tool guidestool guide

    Objective

    Understand where are all my GB, since I use stable diffusion A111 I have always less and less space on my disk.

    Preface

    This article will try to understand where the GB are used and maybe what I have to remove to free some space in my disk.

    Tools

    Using the TreeSize Free Portable tool

    After download the tool and installing it (I will not cover this part , which is quite easy).

    Run the tool.

    Select the "Select Directory"

    In my case I selected my Q:\StableDiffusion folder

    The tool will show you the total amount for each folder, if you open the folder you will see the rest of the files.

    In my case I can notice that I have 108GB in the models folder and the rest mainly in output folder

    The models folder contains maily the checkpoint (which are quite huge, from 2GB to 6GB each normally).

    What I didn't expect were the 19,7GB of ControlNet

    Each ControlNet component is about 1,3GB (some I never use)

    Also the VAE folder could be huge if you have many checkpoint that use VAE

    Output (folder where I generate image and videos)

    What I notice is that the txt2img-images is about 30,9GB but the txt2img-grids is 29,9GB😮

    I always forget about the grids that are produced by Stable Diffusion.. In my case I don't need them and I will recover 30GB...

    Wow now I have "only" 177,1GB used by stable diffusion.

    You can notice 12,6 used by extension and 10GB venv..

    ControlNet take another 9,2GB of my disk and animateDiff 3,4GB with 3 models that I am using.

    If I want to free space I need to remove some checkpoint.. but not for now..

    Disk C:

    Stable Diffusion not only uses the installation disk but also uses the disk C:

    Select now the folder c:\users\YOUR USERNAME\ , in my case I have 200GB used😮

    Here the size depends on your software.. I use Visual Studio, Unity, anaconda3 (python) and other development software..

    Another folder that you can check is the c:\users\your username\AppData\Local\Temp

    that contains images generated by Stable Diffusion

    If you check the gradio folder you can find also previous file generated.

    It is only ~600MB, but contains many images and videos generated by Stable Diffusion.

    Python data

    Another folder that can take a lot of space could be the pip folder.

    In my case are only 26GB because I have installed a lot of packages for different libraries.

    I will keep updated this articles with idea of how to clean the system.

    I hope it was interesting for you.