Skip to content

OOM when finetuning Sana-1.6M on 4K images — memory requirement & tiled VAE? #270

Open
@Twinkle-ce

Description

@Twinkle-ce

Hi, I'm finetuning Sana-1.6M on 4K images (4096×4096) and encountered OOM on an H20-96G GPU during vae_encode. Mixed precision is enabled, batch size = 1.

My questions:
1.How much memory is needed to train Sana-1.6M on 4K images?
2.Would using tiled VAE encoding during training affect performance?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    AnsweredAnswered the question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions