Skip to content

Add exp_heun_2_x0 sampler series#11360

Merged
comfyanonymous merged 2 commits intoComfy-Org:masterfrom
chaObserv:exp_heun
Dec 17, 2025
Merged

Add exp_heun_2_x0 sampler series#11360
comfyanonymous merged 2 commits intoComfy-Org:masterfrom
chaObserv:exp_heun

Conversation

@chaObserv
Copy link
Contributor

A preset of seeds_2 with r=1 and solver_type=phi_2.

The current heun sampler 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, heun tends to collapse due to step size sensitivity. Thus, exp_heun_2_x0 can be a heun alternative for ztsnr.

A demo by ztsnr schedule with CFG=3.0.
The issue of the current heun is shown in the grid.
exp_heun_ode_00001_resized

Since it's based on seeds_2, the SDE version is simple to add.
exp_heun_sde_00001_resized

@yamatazen
Copy link

What is the model?

@chaObserv
Copy link
Contributor Author

What is the model?

There is a embedded workflow in the image, so you can find it there.

@yamatazen
Copy link

What is the model?

What is the model?

There is a embedded workflow in the image, so you can find it there.

They looks very complicated lol

@comfyanonymous comfyanonymous merged commit 827bb15 into Comfy-Org:master Dec 17, 2025
10 checks passed
@chaObserv chaObserv deleted the exp_heun branch December 17, 2025 11:23
lrivera pushed a commit to Research-Warrant/ComfyUI that referenced this pull request Jan 8, 2026
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