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

(Shark 1.0) SD: Fix inpaint (+others) breakage on sharkification #2066

Conversation

one-lithe-rune
Copy link
Contributor

Motivation

Inpainting and (presumably other non txt2img operations) is currently breaking at the point where a SharkifyStableDiffusionModel is constructed for the appropriate SD pipeline.

Changes

  • Add the @classmethod decorator to the base implementation of favored_base_models. This stops running any SD pipeline that does not have a specific implementation of the method (everything but txt2img and txt2img_sdxl), breaking at the Sharkification stage.

* Add the @classmethod decorator to the base implementation of favored_base_models. This fixes running any SD pipeline that does
not have a specific implementation of favored_base_models
(everything but txt2img and txt2img_sdxl) break at the Sharkification
stage.
Copy link
Collaborator

@monorimet monorimet left a comment

Choose a reason for hiding this comment

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

LGTM

@monorimet monorimet merged commit f296667 into nod-ai:SHARK-1.0 Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants