LTXEulerAncestralRFScheduler skips signal scaling with s_noise=0

Open Beginner friendly
#15,423 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@hparik11 is already working on this.

Since Nov 27, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python, pytorch

Research direction

Find LTXEulerAncestralRFScheduler and inspect its step logic, focusing on the condition that gates signal rescaling. Reproduce the issue with the supplied snippet using eta=1.0 and s_noise=0.0; compare the result with the expected value near 0.6375. Done when deterministic rescaling still occurs at zero noise and the reproduction passes.

Written by the indexing model from the issue text.

Description

Describe the bug

LTXEulerAncestralRFScheduler skips deterministic signal rescaling when eta > 0 and s_noise=0. Disabling the added noise should not disable this rescaling.

Reproduction
import torch
from diffusers import LTXEulerAncestralRFScheduler

scheduler = LTXEulerAncestralRFScheduler(eta=1.0, s_noise=0.0)
scheduler.set_timesteps(sigmas=[0.8, 0.4, 0.0])
sample = torch.ones(1, 1, 1, 1, 1)
velocity = torch.full_like(sample, 0.25)
result = scheduler.step(velocity, scheduler.timesteps[0], sample).prev_sample
print(result.item())

Actual: 0.850000024

Expected: approximately 0.6375

The Euler blend produces 0.85, but the signal rescaling factor (1 - 0.4) / (1 - 0.2) = 0.75 is incorrectly skipped because the code requires both eta > 0 and s_noise > 0. Setting s_noise=1e-8 produces approximately 0.6375, revealing a discontinuity at zero.

The ComfyUI RF reference applies this rescaling whenever eta > 0, regardless of s_noise.

Expected behavior

When eta > 0, the scheduler should apply deterministic signal rescaling even if s_noise=0. Disabling stochastic noise should not change the deterministic part of the update.

Dominant language
Python
Stars
35k
Forks
7.5k
Avg merge
2d 22h
Merged PRs (30d)
58

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from huggingface/diffusers

All issues in huggingface/diffusers

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.