Enable LoRA loading on `ErnieImageModularPipeline` by SamuelTallet · Pull Request #13948 · huggingface/diffusers · GitHub
Skip to content

Enable LoRA loading on ErnieImageModularPipeline - #13948

Merged
yiyixuxu merged 1 commit into
huggingface:mainfrom
SamuelTallet:modular-ernie-lora-loading
Jun 16, 2026
Merged

yiyixuxu merged 1 commit into
huggingface:mainfrom
SamuelTallet:modular-ernie-lora-loading

Conversation

@SamuelTallet

@SamuelTallet SamuelTallet commented Jun 14, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

This tiny PR fixes #13967.

I applied same mechanism (LoRA mixin) used in other modular pipelines (Z-Image, FLUX.2, etc).

Before submitting

Who can review?

@asomoza @sayakpaul

@github-actions github-actions Bot added modular-pipelines size/S PR with diff < 50 LOC labels Jun 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@SamuelTallet

Copy link
Copy Markdown
Contributor Author

Hi @SamuelTallet, thanks for the PR! It does not appear to link an issue it fixes. If this PR addresses an existing issue, please add a closing keyword (e.g. Fixes #1234) to the PR description so the issue is linked. See the contribution guide for more details. If this PR intentionally does not fix a tracked issue, a maintainer can add the no-issue-needed label to silence this reminder.

Hi, done 😊

@yiyixuxu yiyixuxu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

@yiyixuxu
yiyixuxu merged commit 74b07e2 into huggingface:main Jun 16, 2026
19 checks passed
@SamuelTallet
SamuelTallet deleted the modular-ernie-lora-loading branch June 17, 2026 20:30
DN6 pushed a commit that referenced this pull request Jul 1, 2026
Enable LoRA loading on ErnieImageModularPipeline

through load_lora_weights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modular-pipelines size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't use load_lora_weights() on ErnieImageModularPipeline

3 participants