Skip to content

fix(ernie-image): avoid locals() comprehension scope issue in callback kwargs#13478

Merged
yiyixuxu merged 1 commit intohuggingface:mainfrom
songh11:ernie-image-callback
Apr 16, 2026
Merged

fix(ernie-image): avoid locals() comprehension scope issue in callback kwargs#13478
yiyixuxu merged 1 commit intohuggingface:mainfrom
songh11:ernie-image-callback

Conversation

@songh11
Copy link
Copy Markdown
Contributor

@songh11 songh11 commented Apr 15, 2026

What does this PR do?

Fixes #13477 (issue)

Before submitting

Who can review?

@yiyixuxu @asomoza

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@github-actions github-actions Bot added pipelines size/S PR with diff < 50 LOC labels Apr 15, 2026
Copy link
Copy Markdown
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

thank you!

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yiyixuxu yiyixuxu merged commit a503401 into huggingface:main Apr 16, 2026
12 of 14 checks passed
@songh11 songh11 deleted the ernie-image-callback branch April 17, 2026 02:10
terarachang pushed a commit to terarachang/diffusers that referenced this pull request Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pipelines size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ErnieImage callback locals() scope bug.

3 participants