Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't use load_lora_weights() on ErnieImageModularPipeline #13967

Description

@SamuelTallet

Hello,

When I try to load a LoRA with load_lora_weights() directly on a modular ERNIE-Image pipeline, library crashes saying such method doesn't exist.

PS: I submitted a PR before creating this issue.

Reproduction

manager = ComponentsManager()

pipe = ModularPipeline.from_pretrained(
    "baidu/ERNIE-Image-Turbo",
    components_manager=manager,
)

pipe.load_lora_weights(...)

System Info

Diffusers: 41add34
Platform: Windows
Python: 3.13

Who can help?

@asomoza @sayakpaul

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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