huggingface / diffusers

🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.
https://huggingface.co/docs/diffusers
Apache License 2.0
25.99k stars 5.35k forks source link

[Feature] Add Langevin Dynamics Sampler #84

Open natolambert opened 2 years ago

natolambert commented 2 years ago

The score-based generative models sometimes us a Langevin Dynamics step to de-noise samples; see NCSN. In the diffusion model for generating molecule conformations, GeoDiff, this step function had the best results (even though it is simpler than the score-based schedulers currently in the repo).

It could be worth adding to the repo, likely after the branch #54 is added.

cc @MinkaiXu

anton-l commented 2 years ago

@natolambert would you like to implement it, if still relevant to GeoDiff?

natolambert commented 2 years ago

@anton-l I got GeoDiff working without it (good enough results for colab). Let me see if this is easy to implement now that I know more.

natolambert commented 2 years ago

Okay, found some pointers. This seems like it would be one of the simplest Schedulers.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

natolambert commented 1 year ago

Initial progress on this is done in #1032.

The things that need to be done are:

MinkaiXu commented 1 year ago

Yes, glad to contribute @natolambert. Maybe we can find time to chat about this later next week.