-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[WIP]Flax training script for controlnet #2818
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nice! Feel free to merge :-)
BTW, could you also add this:
to the README here: https://github.com/huggingface/diffusers/blob/d9cf213e9b8cc59be953e1da7df916346612aef3/examples/controlnet/README.md |
I've been running into this issue this afternoon #2851 see an example repo here with an automatically generated model card here (checkpoint with 4k steps) I will merge this in now so that more people can start to test it. Will open a separate PR to add intermediate checkpointing and make other improvements based on feedback. |
Thanks @sayakpaul |
Actually, I don't believe the changes for enabling streaming will be long. I already mentioned a couple of pointers in #2840 (comment). Maybe you could try following the changes I made in here in your next PR? Happy to guide you if need be. But happy to open a PR and have you test the changes. Would that make sense? |
@sayakpaul yeah a PR please! happy to test it out :) |
Perf! Will have it opened as soon as possible. |
* add train_controlnet_flax --------- Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* add train_controlnet_flax --------- Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
wandb test run here: https://wandb.ai/yiyixu/train_controlnet_flax/runs/jye8xcs9?workspace=user-yiyixu