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 load_model_dict_into_meta for ControlNet from_single_file #7034

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

DN6
Copy link
Collaborator

@DN6 DN6 commented Feb 20, 2024

What does this PR do?

Small fix for load_model_dict_into_meta in ControlNet single file loading. It is using torch_dtype instead of dtype

Fixes # (issue)

Before submitting

Who can review?

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.

@DN6 DN6 requested a review from yiyixuxu February 20, 2024 05:08
Copy link
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.

ahhh my bad!!!
do we not have a single test for controlnet from_single_file? I think I broke it completely

(i see... it is slow tests only....)

@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.

@DN6
Copy link
Collaborator Author

DN6 commented Feb 20, 2024

We don't have fast tests. But we're working on it. See #6961

@DN6 DN6 merged commit 3067da1 into main Feb 20, 2024
15 checks passed
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