Skip to content

Question Regarding FLOPs Calculation for LightningDiT-1p0B/1 #22

@hu-jy-0406

Description

@hu-jy-0406

Great work!

I noticed that in the appendix, you report that LightningDiT-1p0B/1 (1.03B parameters) has 12.88 GFLOPs at an image resolution of 512.

Could you kindly share the method you used to compute the FLOPs? Additionally, does this number correspond to the FLOPs of a single block, or of the entire model?

I have tried using fvcore and torch.profiler to estimate the FLOPs, but I was unable to reproduce your reported results.

Thank you very much for your time and assistance.

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