black-forest-labs / flux

Official inference repo for FLUX.1 models
Apache License 2.0
16.17k stars 1.17k forks source link

timestep shift #168

Open skylian opened 1 month ago

skylian commented 1 month ago

I'm wondering how you get to this shift formula: https://github.com/black-forest-labs/flux/blob/main/src/flux/sampling.py#L67. Thanks!

kingofprank commented 1 month ago

I have the same question, and I also want to know whether we should add the same time shift on the training stage?