black-forest-labs / flux

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

timestep shift #168

Open skylian opened 3 weeks ago

skylian commented 3 weeks 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 week ago

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