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

[REQUEST] Release of control weights without SD1.5 model built in #46

Open
2blackbar opened this issue Feb 14, 2023 · 8 comments
Open

Comments

@2blackbar
Copy link

2blackbar commented Feb 14, 2023

Can You guys release just weights for controlling ? In webuit it pretty much ignores builting 1.5 fomr your models and is using our own so the issue is it loads SD1.5 twice and wasting VRAM...
I think weights with just control withoyut additional SD weights would still work, but would need to test it first...
Or is there a way i can extract just control weights on my own and reduce fiesize ?

@2blackbar 2blackbar changed the title [REQUEST] Release of control weights without model built in [REQUEST] Release of control weights without SD1.5 model built in Feb 14, 2023
@2blackbar
Copy link
Author

Fixed with this but would still be nice to upload them for everyone else , the weights are at 1.4GB, it saves time and VRAM
Mikubill/sd-webui-controlnet#35

@lllyasviel
Copy link
Owner

Hi 2blackbar, the base model of in some ControlNet contains small offset with unlocked training:
See also

  1. The point 1 in [Experiment] Transfer Control to Other SD1.X Models #12
  2. The ending part of https://github.com/lllyasviel/ControlNet/blob/main/docs/train.md
  3. The section 3.4.2 of https://arxiv.org/pdf/2302.05543.pdf

@2blackbar
Copy link
Author

thanks! the code is pretty amazing and revolutionary for SD, was it trained at 1024? Can we use higher res ?

@Mikubill
Copy link

btw, model trained in unlocked mode could also be extracted as normal but it should pair with the original model to get intent/best result.

@2blackbar
Copy link
Author

Well i used dreambooth model with likeness of a person and from what i see so far , extracted controlnet weights work better with that extension than controlnet+sd1.5, maybe it was affecting somethin not sure so it might be desired at times and at tother times it might interfere too much, i extracted most of the weights, cant believe how amazing this is, just bought 3090 cause of it .
Thanks a lot !!!

@FurkanGozukara
Copy link

@Mikubill your extension is just amazing. my kudos. made a tutorial on your extension i hope you accept my pull request

@geekyayush
Copy link

Hey @2blackba
How did you use dreambooth model with controlnet?

Could you help me to do the same please?
if you have any tutorial or any kind of guide I can follow, can you share here?

Thanks!

@FurkanGozukara
Copy link

Hey @2blackba How did you use dreambooth model with controlnet?

Could you help me to do the same please? if you have any tutorial or any kind of guide I can follow, can you share here?

Thanks!

it is easy. train your dreambooth model and select it when using control net
here my tutorial
https://youtu.be/vhqqmkTBMlU

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

5 participants