Open float-trip opened 1 month ago
currently this code serves as an example for how it could be done. i don't believe it's recommended to train the text encoders, as there are three of them and it's not optimised for this at all.
ironically, the LoRA training script which is likely the only way to do it without OOM, doesn't support training the text encoders.
@float-trip thanks for the issue. Do you wanna open a PR to fix it?
I am happy to guide you throughout the process :)
Describe the bug
encode_prompt()
is called with a parameter that is not defined in code (text_input_ids_list
)Reproduction
accelerate launch train_dreambooth_sd3.py [args] --train_text_encoder
Logs
System Info
Who can help?
@sayakpaul