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

finetuning model using diffuser #23

Open
MahdiMohseni0033 opened this issue Mar 5, 2023 · 5 comments
Open

finetuning model using diffuser #23

MahdiMohseni0033 opened this issue Mar 5, 2023 · 5 comments

Comments

@MahdiMohseni0033
Copy link

does it possible to fine-tune this model using diffuser in this stage?

@haofanwang
Copy link
Owner

Do you mean train the ControlNet and keep the base model frozen? @MahdiMohseni0033

@MahdiMohseni0033
Copy link
Author

MahdiMohseni0033 commented Mar 5, 2023

Do you mean train the ControlNet and keep the base model frozen? @MahdiMohseni0033

it doesn't matter , I just customize this model for a specific task , and I followed the training stage in official ControlNet repository and I was faced with Cuda OOM Error I want to train it using RTX 3060 , and the reason which I wanted to use Diffuser , is using memory efficient technique like xformer to make it feasible to train it in GPU with less memory

@haofanwang
Copy link
Owner

This reply may help.

@MahdiMohseni0033
Copy link
Author

This reply may help.

Thank you for responding kindly, but my primary inquiry is regarding how to train or fine-tune your code (ControlNet by diffuser). Do you have a training code available, or can you provide it to us?

@haofanwang
Copy link
Owner

Here is the training example. You just need modify a few lines.

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

2 participants