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

Use Diffusers 0.30.0 / Enable offline single file model loading #6740

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

lstein
Copy link
Collaborator

@lstein lstein commented Aug 14, 2024

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

  1. Test generation with sd-1, sd-2 and sdxl models.
  2. Test controlnet guidance
  3. Test ti-adapter guidance
  4. Test ip-adapter guidance
  5. Test model loading when internet not connected.

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

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added python PRs that change python files Root backend PRs that change backend files python-deps PRs that change python dependencies labels Aug 14, 2024
@RyanJDick
Copy link
Collaborator

Link to the diffusers issue for reference: huggingface/diffusers#9171

@lstein lstein changed the title Use Diffusers 0.30.0 Use Diffusers 0.30.0 / Enable offline single file model loading Aug 17, 2024
@lstein lstein marked this pull request as draft August 17, 2024 18:59
@lstein
Copy link
Collaborator Author

lstein commented Aug 17, 2024

The issue with v_prediction vs epsilon has been worked-around.
The issue with unconvertible sd 1.5 controlnets has been worked-around.
Loading of SDXL controlnet single files still does not work.

@lstein lstein marked this pull request as ready for review August 17, 2024 20:02
@psychedelicious psychedelicious mentioned this pull request Aug 20, 2024
8 tasks
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 python PRs that change python files python-deps PRs that change python dependencies Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: Image generation fails with a server error when starting InvokeAI offline.
2 participants