-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[MM] Install and load Stable Diffusion 3 models #6512
Open
lstein
wants to merge
21
commits into
main
Choose a base branch
from
lstein/feat/sd3-model-loading
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ixin in backend.util.hotfixes due to new diffusers
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
Jun 13, 2024
…InvokeAI into lstein/feat/sd3-model-loading
This reverts commit be14fd5.
lstein
requested review from
psychedelicious,
blessedcoolant,
maryhipp and
hipsterusername
as code owners
June 20, 2024 22:23
3 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
frontend
PRs that change frontend files
invocations
PRs that change invocations
python
PRs that change python files
python-deps
PRs that change python dependencies
Root
services
PRs that change app services
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This implements alpha-level support for generating images with Stable Diffusion 3.
To use:
stabilityai/stable-diffusion-3-medium-diffusers
. For convenience, this repo has been added to the Starter Models pane of the model manager UI.Related Issues / Discussions
Currently only diffusers models can be loaded. Upstream support for loading checkpoints is a WIP.
Models using a Quantized
text_encoder_3
There is preliminary support for such models, but they still do not fit into a 12 GB VRAM machine and this feature has not been tested. Systems with adequate VRAM may be able to load and run these models, but be aware that there is an unsolved issue with an 8K VRAM memory leak that occurs with each generation.
Note that a quantized model will only run on CUDA systems.
QA Instructions
Follow the instructions above.
Merge Plan
Squash when approved.
Checklist