Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Assertion issue with SDXL Compel #5827

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

blessedcoolant
Copy link
Collaborator

@blessedcoolant blessedcoolant commented Feb 29, 2024

What type of PR is this? (check all applicable)

  • Bug Fix

Description

Fix assertion issue in compel.py. Currently we check for just an instance of CLIPTextModel but SDXL text encoder can be either CLIPTextModel or CLIPTextModelWithProjection. This PR updates the assertion to permit either.

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations labels Feb 29, 2024
@github-actions github-actions bot added the backend PRs that change backend files label Feb 29, 2024
@psychedelicious psychedelicious merged commit 5a87e7b into invoke-ai:next Feb 29, 2024
1 check passed
@blessedcoolant blessedcoolant deleted the clip-assertion-fix branch March 9, 2024 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files invocations PRs that change invocations python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants