Skip to content

Classifier-free guidance value in diffusion inferers is forced to -1 #8560

Closed

Description

@virginiafdez

Is your feature request related to a problem? Please describe.
Classifier-free guidance is useful to make conditioning stronger in diffusion models. For this, a portion of the conditioning passed as input is set to a value that means "no condition". Currently, this is set to -1. However, this value might not be suitable for certain applications (e.g. text representations are usually normally-distributed, so -1 would not make sense here).

Describe the solution you'd like
Give users the possibility of specifying the "unconditional" value.

Activity

  1. self-assigned this
    on Sep 8, 2025
  2. moved this to Todo in MONAI v1.6on Sep 8, 2025
  3. added a commit that references this issue on Sep 9, 2025
    b5bc69d
  4. added 2 commits that reference this issue on Sep 29, 2025
    0897e2a
    db94b4f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GenerativeModelsIssues relating to generative models

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions