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

[Chore] clean residue from copy-pasting in the UNet single file loader #7295

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

sayakpaul
Copy link
Member

What does this PR do?

As pointed about by @vladmandic in #7274 (comment).

@sayakpaul sayakpaul requested a review from DN6 March 13, 2024 03:33
Comment on lines +954 to +956
class_name = cls.__name__
if class_name != "StableCascadeUNet":
raise ValueError("FromOriginalUNetMixin is currently only compatible with StableCascadeUNet")
Copy link
Member Author

Choose a reason for hiding this comment

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

Errors should be caught as early as possible.

@HuggingFaceDocBuilderDev

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.

Copy link
Collaborator

@DN6 DN6 left a comment

Choose a reason for hiding this comment

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

Thanks 👍🏽

@sayakpaul sayakpaul merged commit 8efd9ce into main Mar 13, 2024
17 checks passed
@sayakpaul sayakpaul deleted the remove-controlnetmodel-mentions-unet branch March 13, 2024 05:50
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.

3 participants