-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Enable offline single file model loading #6740
base: main
Are you sure you want to change the base?
Conversation
Link to the diffusers issue for reference: huggingface/diffusers#9171 |
The issue with |
…rs-v0.30' into lstein/feat/diffusers-v0.30
…vokeAI into lstein/feat/diffusers-v0.30
{ | ||
"_class_name": "ControlNetModel", | ||
"_diffusers_version": "0.16.0.dev0", | ||
"_name_or_path": "/home/patrick/controlnet_v1_1/control_v11p_sd15_canny", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran an sd1 controlnet as a single file and it didn't seem to break as a result of this, but it seems weird to have this hard coded filepath here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The _name_or_path field is ignored during file conversion, but these fields will be removed.
Are you still following this PR @lstein ? I can take it over and get it across the line if you'd like |
I’m very happy to see renewed activity on this PR. I thought it was comatose. I’ll take it across the finish line. |
|
Summary
This PR bumps
diffusers
to v0.30.0 and reenables the ability to load main checkpoint models without a connection to the internet.Related Issues / Discussions
Closes #6623.
QA Instructions
Merge Plan
Given that this introduces the two regressions noted above, we should discuss whether to merge now or wait until the issue is fixed in diffusers.
Checklist