Skip to content

[Training] Make officially maintained training scripts compatible with torch.compile() #6503

Closed
@sayakpaul

Description

@sayakpaul

We recently made the DreamBooth LoRA SDXL training script fully compatible with torch.compile() in the following PRs: #6483, #6511.

Since there might be speedup benefits from torch.compile(), it makes sense to propagate these changes to the other training scripts too. We'd appreciate help from the community in this matter.

Below is a list of the training scripts where we'd like to integrate this:

#6483 and #6511 can serve as a reference.

Feel free to open PRs targeting only one example at a time and tag me :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions