-
Notifications
You must be signed in to change notification settings - Fork 6.1k
[Examples] Add streaming support to the ControlNet training example in JAX #2859
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
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.
Looks cool, @yiyixuxu can you take a look as well?
I forgot to add a note about how to deal with I couldn't find any proper resource that shows how to deal with this. Most of them deal with this situation by using a pre-specified number such as done in https://github.com/borisdayma/dalle-mini/blob/main/src/dalle_mini/data.py. I think this is fine, no? |
Testing now here, got this error |
I think it's en easy fix:) |
ok, tested here https://wandb.ai/yiyixu/train_controlnet_flax/runs/np6ktkj4/logs?workspace=user-yiyixu feel free to merge whenever:) |
Thanks so much, @yiyixuxu, for taking care of the issue. Merging. |
…n JAX (huggingface#2859) * improve stable unclip doc. * feat: add streaming support to controlnet flax training script. * fix: CLI arg. * fix: torch dataloader shuffle setting. * fix: dataset length. * fix: wandb config. * fix: steps_per_epoch in the training loop. * add: entry about streaming in the readme * get column names from iterable dataset + fix final logging --------- Co-authored-by: yiyixuxu <[email protected]>
…n JAX (huggingface#2859) * improve stable unclip doc. * feat: add streaming support to controlnet flax training script. * fix: CLI arg. * fix: torch dataloader shuffle setting. * fix: dataset length. * fix: wandb config. * fix: steps_per_epoch in the training loop. * add: entry about streaming in the readme * get column names from iterable dataset + fix final logging --------- Co-authored-by: yiyixuxu <[email protected]>
Potentially closes #2840.
Example command: