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
[Bug]: SD XL model loading on AMD - Failed to create model quickly; will retry using slow method #11835
Comments
Well for gfx906 I get this error
|
and also if I try with newest dev or stable one of pytorch this happend well I guess I really made big mistake to buy AMD Radeon VII |
Try to load Fp16 model version, and use Fp16 VAE too. I think "Failed to create model quickly; will retry using slow method." error is related to not enough VRAM |
i solved it by "pip install open-clip-torch==2.20.0" |
I'm having the same issue with a Nvidia RTX 2070 Max-Q so it's not an AMD issue |
For my test it looks so much like pytorch version my card won't support 2.0.1 but if I run with it it can open model but thx to rocm buggy for gfx906 and ending support in next release I guess I can't never generate at pytorch 2 or more newer. |
I'm having the same issue under Ubuntu 22.04 with a Nvidia RTW 3090 when trying to load SDXL. EDIT: I deleted the stable-diffusion-webui directory, cloned a new one, started webui.sh, let it reinstall everything and now it works.I'm guessing an outdated dependency or something like that (I already was on the last AUTOMATIC1111/stable-diffusion-webui version when I got the error by the way). |
I'm getting same problem, also it downloading 10G file and my internet is suck with cmd, i need to download the file manually but where to put it ? any idea ? |
I fixed this issue in my local virtual environment by running the webui-user script with |
How Much VRAM you Have? Should i Run with this command like this:
|
I have a 6GB Gtx 1660 SUPER GPU and 8 GB RAM and SD works fine for me except for this new model loading problem:
I have Tried All the methods to getrid of this error but i cant and let me tell you i have one Old model which is 10Gb and i can load that but i cant load this 6Gb Model sd_xl LOL |
I have 8GB RTX 3060. Also when I tried running with You could also try using |
Okey I managed generate SDXL 1 or Dream SDXL or etc..
And still that version can generate but for AUTOMATIC1111
Thats getting intersting also before this I fight with Segmentation fault (core dumped) even crash python for only happend on AUTOMATIC1111 even other AIs working. |
good,I solved it,thanks |
@tangcan1600 how did you solve this ? I still have this issue sdwebui works with sd 1.5 but not with sdxl
|
Solution:
|
Is there an existing issue for this?
What happened?
Trying to load the sd_xl_base_0.9.safetensors model ends with:
The file is in the folder present and should be readable.
Inside an docker container on a linux maschine with an AMD card. Maybe i missed a step.
Steps to reproduce the problem
Load sd_xl_base_0.9.safetensors via UI.
What should have happened?
Model should be loaded
Version or Commit where the problem happens
14cf434
What Python version are you running on ?
Python 3.9.x (below, no recommended)
What platforms do you use to access the UI ?
Linux
What device are you running WebUI on?
AMD GPUs (RX 6000 above)
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
TORCH_COMMAND='pip install torch==1.13.1+rocm5.2 torchvision==0.14.1+rocm5.2 --index-url https://download.pytorch.org/whl/rocm5.2' python launch.py --precision full --no-half --lyco-dir /dockerx/models/lycoris/
List of extensions
PBRemTools https://github.com/mattyamonaca/PBRemTools.git main d0fee2a8 Thu Jun 29 14:08:23 2023 latest
Stable-Diffusion-Webui-Civitai-Helper https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper.git main 920ca326 Tue May 23 11:53:22 2023 latest
a1111-sd-webui-lycoris https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git main 8e97bf54 Sun Jul 9 07:44:58 2023 latest
a1111-sd-webui-tagcomplete https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git main 737b6973 Sat Jul 8 16:03:44 2023 latest
model_preset_manager https://github.com/rifeWithKaiju/model_preset_manager.git main 4e25eebd Tue May 30 15:07:37 2023 latest
sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet.git main 07bed6cc Sat Jul 8 20:54:01 2023 latest
stable-diffusion-webui-eyemask https://github.com/ilian6806/stable-diffusion-webui-eyemask.git master 7b803a43 Fri Jun 2 11:15:19 2023 latest
Console logs
Additional information
Its running in the following docker container image:
The text was updated successfully, but these errors were encountered: