Skip to content

Implementing Mosaic Diffusion into Patch-Diffusion #121

Open
@Skimmable-Code-pls

Description

@Skimmable-Code-pls

Patch Diffusion can x2 training speed even on 256x256 ImageNet. If this works out between Mosaic Diffusion and Patch-Diffusion, that is potentially x10 cumulative boost. The issue is both have different training script so I'm thinking of copy+paste the features of Mosaic into Patch-Diffusion. Right now, I only ask where to find relevant code for

  1. xFormer+FlashAttention - I'll be trying to swap FlashAttention-1 for FlashAttention-2
  2. Precomputing latent
  3. Low Precision LayerNorm and GroupNorm
  4. FSDP
  5. Scheduled EMA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions