You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error when I'm trying to train a Flux lora with train_dreambooth_lora_flux_advanced #11489
Traceback (most recent call last):
File "/workspace/train_dreambooth_lora_flux_advanced.py", line 2423, in<module>
main(args)
File "/workspace/train_dreambooth_lora_flux_advanced.py", line 2213, in main
(weighting.float() * (model_pred_prior.float() - target_prior.float()) ** 2).reshape(
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RuntimeError: The size of tensor a (16) must match the size of tensor b (8) at non-singleton dimension 0
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Activity
Mnwa commentedon May 4, 2025
Same error when I'm training a SDXL model with
--do_edm_style_trainingflagsayakpaul commentedon May 5, 2025
Cc: @linoytsaban
Mnwa commentedon May 6, 2025
If I'm splitting weighting
And using divided weights
Then it works, but I'm not sure that is correct
Mnwa commentedon Jul 6, 2025
Hi! Can you help about my solution? Is it correct?
github-actions commentedon Jan 9, 2026
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
github-actions commentedon Feb 3, 2026
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.