We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90eac14 commit 20e426cCopy full SHA for 20e426c
1 file changed
examples/dreambooth/train_dreambooth_lora.py
@@ -743,7 +743,7 @@ def main(args):
743
)
744
temp_pipeline._modify_text_encoder(text_lora_attn_procs)
745
text_encoder = temp_pipeline.text_encoder
746
- accelerator.register_for_checkpointing(unet_lora_layers)
+ accelerator.register_for_checkpointing(text_encoder_lora_layers)
747
del temp_pipeline
748
749
if args.scale_lr:
0 commit comments