Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sd3 Dreambooth LoRA] Add text encoder training for the clip encoders (…
…#8630) * add clip text-encoder training * no dora * text encoder traing fixes * text encoder traing fixes * text encoder training fixes * text encoder training fixes * text encoder training fixes * text encoder training fixes * add text_encoder layers to save_lora * style * fix imports * style * fix text encoder * review changes * review changes * review changes * minor change * add lora tag * style * add readme notes * add tests for clip encoders * style * typo * fixes * style * Update tests/lora/test_lora_layers_sd3.py Co-authored-by: Sayak Paul <[email protected]> * Update examples/dreambooth/README_sd3.md Co-authored-by: Sayak Paul <[email protected]> * minor readme change --------- Co-authored-by: YiYi Xu <[email protected]> Co-authored-by: Sayak Paul <[email protected]>
- Loading branch information
c6e08ec
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.
[rank6]: File "...train_dreambooth_lora_sd3.py", line 1593, in main
[rank6]: prompts, text_encoders, tokenizers
[rank6]: UnboundLocalError: local variable 'text_encoders' referenced before assignment
c6e08ec
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.
Yup, same issue as above. Seems like there are some bugs with --train-text-encoder set to true.