Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it necessary to download the whole SD 1.5 repo ? #24

Open
tonynoce opened this issue Mar 6, 2024 · 2 comments
Open

Is it necessary to download the whole SD 1.5 repo ? #24

tonynoce opened this issue Mar 6, 2024 · 2 comments

Comments

@tonynoce
Copy link

tonynoce commented Mar 6, 2024

Been trying to make this work since yesterday ( still havent given up yet ), but yesterday I ran out of disk space, the models/StableDiffusion got into the 80gb.

Is it possible to ran the train.py with a more pruned version of the repo ?

@kuzman123
Copy link

Same Q here.. I've stopped download od 40 gigs..

@user-vm
Copy link

user-vm commented May 11, 2024

I don't think you need any of the safetensors files, and you don't need the fp16 or ema_only variants of the .bin files. I think just these files should work (some might be extra):

./model_index.json
./scheduler/scheduler_config.json
./vae/diffusion_pytorch_model.bin
./vae/config.json
./safety_checker/config.json
./unet/diffusion_pytorch_model.bin
./unet/config.json
./text_encoder/pytorch_model.bin
./text_encoder/config.json
./feature_extractor/preprocessor_config.json
./tokenizer/special_tokens_map.json
./tokenizer/tokenizer_config.json
./tokenizer/vocab.json
./tokenizer/merges.txt

Also, if you've used SD1.5 with diffusers before, you may already have the required files on your system somewhere (like in ~/.cache/huggingface/hub on Linux).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants