diffusionbee-stable-diffusion-ui icon indicating copy to clipboard operation
diffusionbee-stable-diffusion-ui copied to clipboard

Add Stable Diffusion XL 1.0 Base Model support

Open smurat opened this issue 1 year ago • 13 comments

Stability AI released Stable Diffusion XL 1.0 Base Model.

I downloaded safetensors model file. But when i try to import model to Diffusionbee, an error occured. I couldnt find the error log location, sorry for that.

It would be awesome DiffusionBee support the Stable Diffusion XL 1.0 Based Models

smurat avatar Jul 27 '23 08:07 smurat

I just tried that too.

everythingability avatar Jul 27 '23 12:07 everythingability

image

freaky-m0 avatar Jul 27 '23 15:07 freaky-m0

The divide by zero error happens in the for loop in line 44 of convert_model.py, but I don't have enough expertise to understand how to fix this. Could be that the model architectures are too different

Woodentables avatar Jul 28 '23 04:07 Woodentables

Agree that a fix for this would be nice. I noticed that I can not import any FP32 model, it's not specific to SDXL 1.0. I can only import FP16 models. (This is on the 2.0 pre-release of diffusion bee)

cmosetick avatar Aug 15 '23 14:08 cmosetick

Error convert_model.py:48: RuntimeWarning: divide by zero encountered in divide
Traceback (most recent call last):
File "diffusionbee_backend.py", line 325, in <module>
File "convert_model.py", line 80, in convert_model
ValueError: The model is not supported. Please make sure it is a valid SD 1.4/1.5/2.1 .ckpt/safetensor file
[23883] Failed to execute script 'diffusionbee_backend' due to unhandled exception!

DatanoiseTV avatar Aug 25 '23 12:08 DatanoiseTV

Encountered the exact same issue- tried to import a Stable Diffusion XL .ckpt file, got the same error.

Is anyone actually at the wheel, here? You can actually get SDXL running on macOS via the "Draw Things" iOS app (since iOS apps are now installable on Mac) and that works great... although I prefer the DiffusionBee UI

pmarreck avatar Oct 03 '23 19:10 pmarreck

FWIW, the "coreml-stable-diffusion-xl-base-ios_split_einsum_compiled" model also doesn't work (perhaps because it's in some coreML-focused format that DiffusionBee doesn't recognize)

pmarreck avatar Oct 03 '23 19:10 pmarreck

Just tried this and we still get the same error, any update on this?

joshandersn avatar Oct 12 '23 14:10 joshandersn

I think that Mr. Divam Gupta has abandoned the project. While he isn't obligated to do so, it would have been very considerate of him to at least make an announcement about the project and his current personal situation. This way, he could inform us why he hasn't provided any updates regarding the project. Many people have a lot of respect for him and his project, particularly for their ability to run Stable Diffusion on their Macs smoothly and with great performance

smurat avatar Oct 12 '23 14:10 smurat

The app "Draw Things" will get you there, but this app is noticeably more Mac-like. Ah well

pmarreck avatar Oct 12 '23 20:10 pmarreck

The app "Draw Things" will get you there, but this app is noticeably more Mac-like. Ah well

But it is much slower with an RX 580 on MacOS.

DatanoiseTV avatar Oct 16 '23 00:10 DatanoiseTV

But it is much slower with an RX 580 on MacOS

Isn't that a 6 year old GPU that is as old as the Nvidia GTX 1080 of the same era, which it was also significantly inferior to?

https://gpu.userbenchmark.com/Compare/Nvidia-GTX-1080-vs-AMD-RX-580/3603vs3923

pmarreck avatar Oct 20 '23 16:10 pmarreck

I get a similar error when importing the juggernaut xl model https://civitai.com/models/133005/juggernaut-xl

Screenshot 2023-12-06 at 9 55 48 pm

mattpilott avatar Dec 06 '23 21:12 mattpilott