Skip to content

ControlNetLatentDiffusionInferer errors out when conditioning is not False #8344

Closed

Description

@virginiafdez

Describe the bug
ControlNets are essentially copies of the diffusion model encoders. However, on the ControlNetLatentDiffusionInferer, the context (conditioning) isn't passed to the ControlNet even though the DiffusionModel might take it in. If ControlNet has been defined with conditioning, this causes an error.

To Reproduce
Steps to reproduce the behaviour:

  1. Create DiffusionModel and ControlNet with conditioning = True.
  2. Create ControlNetDiffusionInferer
  3. Run the call() function on the inferer passing dummy random tensors.

Expected behaviour
ControlNet should take in the conditioning tensor.

Activity

  1. self-assigned this
    on Feb 17, 2025
  2. added a commit that references this issue on Feb 24, 2025
    ab07523
  3. added a commit that references this issue on Mar 10, 2025
    cf9fb59
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 modelsbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions