Skip to content

Warn when add_noise runs before set_timesteps #15043

Open

Description

@TejasS1233

searched issues, related to #15021 but not the same.

add_noise before set_timesteps silently uses the wrong level on a few schedulers, you only notice when training looks off.

TLDR: warn when add_noise runs before timesteps are set.

just a warning + test, no behavior change. happy to send a PR if that sounds right.

version: diffusers main

Activity

  1. ATS-AI-6278 commented on Oct 21, 2026

    @ATS-AI-6278

    Hi @TejasS1233, are you still planning to send a PR for this? If not, I'd be glad to add the warning in add_noise plus a test.

  2. TejasS1233 commented on Oct 21, 2026

    @TejasS1233
    Author

    Yes, still planning to. Just opened #15097 for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions