Skip to content

Conversation

chaObserv
Copy link
Contributor

Resolve #10214.

TSR’s mechanism can be interpreted as a form of non-uniform Epsilon Scaling (for diffusion), so this PR places it in nodes_eps.py. The default parameters are taken from their t2i demo notebook.

Since TSR is an SNR-dependent (schedule-dependent) scaling method, it can produce different effect strengths under the same parameter settings with different schedulers.
According to its formulation, TSR gradually converges to the value of k over time.
Therefore, the same scale used in Epsilon Scaling can be used as its constant version for comparison.

V-Prediction ztsnr

sampler: er_sde, schedule: simple, cfg: 2.5
tsr_ersde_simple_cfg2_5_resized

sampler: er_sde, schedule: beta, cfg: 2.5
tsr_ersde_beta_cfg2_5_resized

SD 3.5 Medium

sampler: euler, schedule: simple, cfg: 5.0
sd3_tsr_euler_simple_cfg5_00001_

Using sigma = 3.0 should have similar effect shown in their SD3 examples.

@comfyanonymous comfyanonymous merged commit f72c661 into comfyanonymous:master Oct 15, 2025
10 checks passed
@chaObserv chaObserv deleted the tsr branch October 16, 2025 02:47
adlerfaulkner pushed a commit to LucaLabsInc/ComfyUI that referenced this pull request Oct 16, 2025
* Add TemporalScoreRescaling node

* Mention image generation in tsr_k's tooltip
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.

[Feature]: Temporal Score Rescaling - temperature sampling for diffusion - sharpness control

2 participants