Skip to content

fix no text_model attribute bug when clip_skip is not None#14125

Open
CodingForAGI wants to merge 1 commit into
huggingface:mainfrom
CodingForAGI:fix/clip-skip-bug
Open

fix no text_model attribute bug when clip_skip is not None#14125
CodingForAGI wants to merge 1 commit into
huggingface:mainfrom
CodingForAGI:fix/clip-skip-bug

Conversation

@CodingForAGI

@CodingForAGI CodingForAGI commented Jul 5, 2026

Copy link
Copy Markdown

What does this PR do?

Fixes #14124
Adjust clip skip logic in StableDiffusionPipeline to handle non-None clip_skip value correctly.

Before submitting

Who can review?

@yiyixuxu @dg845 @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 size/S PR with diff < 50 LOC fixes-issue pipelines labels Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Version 0.39.0]AttributeError: 'CLIPTextModel' object has no attribute 'text_model' WHEN SET CKIP_SKIP NOT NONE

1 participant