Skip to content

Multi-controlnet batching for StableDiffusionXLControlNetInpaintPipeline #9511

@kdubovikov

Description

@kdubovikov

Is your feature request related to a problem? Please describe.
Currently, batching is not supported when we are conditioning the SDXL pipeline on multiple controlnets:

raise ValueError("A single batch of multiple conditionings are supported at the moment.")

Describe the solution you'd like.
We can pass a list of lists of images for batch inference.

Describe alternatives you've considered.
One-by-one processing, which results in very low GPU utilization.

There was a similar PR raised for the StableDiffusionControlNetPipeline #6334

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions