Add exp_heun_2_x0 sampler series#11360
Merged
comfyanonymous merged 2 commits intoComfy-Org:masterfrom Dec 17, 2025
Merged
Conversation
|
What is the model? |
Contributor
Author
There is a embedded workflow in the image, so you can find it there. |
They looks very complicated lol |
lrivera
pushed a commit
to Research-Warrant/ComfyUI
that referenced
this pull request
Jan 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A preset of
seeds_2withr=1andsolver_type=phi_2.The current
heunsampler can do noise prediction or RF v-prediction, depending on the model. However, there is no preset for Heun-style sampler in data (x0) prediction.Additionally, for ztsnr schedule,
heuntends to collapse due to step size sensitivity. Thus,exp_heun_2_x0can be aheunalternative for ztsnr.A demo by ztsnr schedule with CFG=3.0.

The issue of the current
heunis shown in the grid.Since it's based on

seeds_2, the SDE version is simple to add.