-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[Examples] fix checkpointing and casting bugs in train_text_to_image_lora_sdxl.py
#4632
Conversation
The documentation is not available anymore as the PR was closed or merged. |
|
Unwrapping can be a no op in case where it's not supposed to take effect. So, shouldn't be a problem.
Yes, you're totally right. Since, we're precomputing the text embeddings here. Will reflect this in the PR.
Ccing @muellerzr here.
Will remove. Thanks for flagging!
I think the current implementation accounts for both if I am reading correctly. If you think otherwise, maybe provide a few visual examples? Also ccing @okotaku here. Thanks so much for providing feedback! |
If we flip an image, do we take coordinates of the flipped top-left (now top right), or do we take the top-left (previously top right) |
I think we should consider the original state here hence, |
Hii, I still get this error using my own data and dunno how to fix it yet |
…_lora_sdxl.py` (huggingface#4632) * fix: casting issues. * fix checkpointing. * tests * fix: bugs
Fixes #4566
Fixes #4619
The checkpointing bug is also evident in #4566. Once this PR is merged will reflect that changes in the LoRA DreamBooth SDXL script too.