-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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
Stable Diffusion 3 support #16030
Stable Diffusion 3 support #16030
Conversation
Error on loading model. AttributeError: 'NoneType' object has no attribute 'is_sdxl' |
protector131090: Share the full stack trace from the console. |
Traceback (most recent call last): |
Okay, well, you're trying to merge models, not generate images. |
what do you mean? i switch model in UI like usual. Here is switch to epic realism - generate - switch to Realvis 4 - generate and switch to sd3 medium : Applying attention optimization: xformers... done.
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates Failed to create model quickly; will retry using slow method. Traceback (most recent call last): |
Well, that now does look like the right stack trace. Can you try running with environment variable PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (i e add |
@echo off set PYTHON= call webui.bat venv "C:\sd.webui\copy\venv\Scripts\Python.exe" [Auto-Photoshop-SD] Current Branch. [Auto-Photoshop-SD] Fetch upstream. To create a public link, set Traceback (most recent call last): |
protector131090: The problem in your stack trace seems to be that you're running out of VRAM. I found out that there is a hump in VRAM usage when loading the model, going over 24GB. On my machine I have a setting that automatically offloads that to RAM, so it worked for me. Anyway, the fix for that is very simple, and now VRAM use hovers around 15.3GB during model load and after it. |
model does load now. but i get tgis error: venv "C:\sd.webui\SD3\webui\venv\Scripts\Python.exe" To create a public link, set |
Hello, I get an error when I try to load the model To create a public link, set
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates Failed to create model quickly; will retry using slow method. |
I added protobuf==3.20.0 to requirements which hopefully will make the problem go away. |
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:01<00:00, 11.80it/s]
|
--disable-nan-check --precision half Fixed it for me! |
Yes, it works for me now thank you very much |
I have same NaNs issue & same solution |
Downloading clip from SAI's original repo suffers By the way, consider to use |
Note that this must be seen as a work-around; This will make SDXL output black as this makes the use of --no-half-vae impossible (contradicting). |
pushed an update to make it possible to work without ananosleep: well, shit... It worked for me. |
ok it worked without --precision half |
ananosleep: Changed download links to a public huggingface repository. |
It works for me, but on an rtx 4060ti 16GB it's really very slow. To compare A1111(t5fp8) 7 minutes for 1024x1024 and with comfyui 30 seconds for 1024x1024 |
rtx 3060, T5 + medvram: uses 11.4 GB for the first generation with 1 prompt, any further generations with the same prompt use 6.1 GB. So there is a place for optimization Btw, can you add an option to run T5 only on cpu |
THANK YOU! for fixing img2img ! that is amazing!!!! |
Long prompts give me this error. How do i fix it? thanks. 100%|███████████████████████████████████████████████████████████████████████████████████████████████████| 28/28 [00:10<00:00, 2.73it/s] |
…lated incorrectly
Hires.fix not working with sd3 |
when an sd3 checkpoint is selected and the browser page is refreshed, the token counter is set to zero, the prompt must be modified for it to be calculated |
Since the last update, I can no longer load an SD3 model with --medvram Loading weights [cc236278d2] from C:\sd.webui\webui\models\Stable-diffusion\sd3_medium.safetensors |
Karras schedule doesn't really make much sense to use on a flow model, it would be best to use Uniform. DPM++ 2M itself should work fine, but as far as the Karras schedule goes you can consider it to be as out of scope as SDE samplers (which will not work well, and you can't make them work well). |
Hello, When I try to load the model, meet this error.
|
I also have it, how to solve it |
Hey, It would be amazing to add SD3 LoRA support |
It has been added in last RC commits @steve84wien |
*** Error running postprocess: C:\sd.webui\webui\extensions\sd-webui-kohya-hiresfix\scripts\khrfix.py |
Failed to create model quickly; will retry using slow method. |
@lijiajun1997 Ensure that you can access Hugging Face or download file locally. |
same error |
Description
sd3_medium.safetensors
from https://huggingface.co/stabilityai/stable-diffusion-3-mediummodels/CLIP
directoryScreenshots/videos: