Skip to content

Conversation

@hlky
Copy link
Contributor

@hlky hlky commented Oct 11, 2024

What does this PR do?

This PR refactors the generic SchedulerOutput in DPMSolverSDE, Heun, KDPM2Ancestral and KDPM2 to DPMSolverSDESchedulerOutput etc. as in other schedulers to add pred_original_sample. This completes support for returning pred_original_sample in all applicable schedulers.

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@yiyixuxu

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice! thank you!

@hlky hlky force-pushed the refactor-scheduleroutput branch from 8f759c2 to cfc6d84 Compare October 11, 2024 23:01
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yiyixuxu yiyixuxu merged commit 5f0df17 into huggingface:main Oct 15, 2024
15 checks passed
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
…E`, `Heun`, `KDPM2Ancestral` and `KDPM2` (#9650)

Refactor SchedulerOutput and add pred_original_sample

Co-authored-by: YiYi Xu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants