Skip to content

Diffusers 0.26 break a lot of existing pipelines and 3rd party modules #6838

@vladmandic

Description

@vladmandic

Describe the bug

diffusers==0.26 via pr #6665 which introduces support for I2VGenXL
redefines commonly used params in BasicTransformerBlock

for example, if self.use_ada_layer_norm now becomes if norm_type == "ada_norm": which would mean that every single pipeline that relies on those layers would need to be updated.

note that those layers are not used only within diffusers, they are pretty standardized (and were introduced in diffusers because of that in timeframe of diffusers==0.14) and used by a lot of 3rd party code as well.
for example of a very popular 3rd party lib that relies on it for a long time: https://github.com/dbolya/tomesd

Reproduction

at the very least, this completely breaks StableDiffusionReferencePipeline and StableDiffusionXLReferencePipeline

Logs

AttributeError: 'BasicTransformerBlock' object has no attribute 'use_ada_layer_norm'

System Info

diffusers==0.26.1

Who can help?

@yiyixuxu @sayakpaul @DN6 @patrickvonplaten

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions