Skip to content

SD3 unnecessary train_t5xxl check results in error #2235

@dylanprins

Description

@dylanprins

Hi!

In sd3_train_network.py we have the following function:

def post_process_network(self, args, accelerator, network, text_encoders, unet): # check t5xxl is trained or not self.train_t5xxl = network.train_t5xxl

But network has no train_t5xxl and self.train_t5xxl is already initialised with False in the beginning. It now crashes there when i try to train my LoRA. If i'm correct this flag is only for full finetuning?

Should this function simply be removed in sd3_train_network since it is only for a full fine tune?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions