-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[StableDiffusionXLInstructPix2PixPipeline] RuntimeError: Sizes of tensors must match except in dimension 1 #6570
Comments
@sayakpaul Could you take a look please? |
Thanks for reporting. Do you want to create a PR fixing the issue? |
Thanks for the reply, @DN6 @sayakpaul! |
The inputs should be checked first because that is causing the concatenation problem. |
Ok, thanks for letting me know 👍 |
You can also refer to https://github.com/huggingface/diffusers/blob/instruct-pix2pix/emu/examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py that works. Training command:
|
Describe the bug
While working on #6569 related to #6545, I run the InstructPix2Pix SDXL training example code and noticed this issue.
I think before merging #6569, we should fix this issue first.
Reproduction
I just followed the Toy example [guide].(https://github.com/huggingface/diffusers/blob/main/examples/instruct_pix2pix/README_sdxl.md#toy-example)
Logs
System Info
diffusers
version: 0.26.0.dev0Who can help?
@yiyixuxu @DN6
The text was updated successfully, but these errors were encountered: