AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
131.67k stars 25.27k forks source link

Can't load PonydiffusionXL #15651

Open Userbingd opened 3 weeks ago

Userbingd commented 3 weeks ago

Checklist

What happened?

When I launch the webui, and try to load ponydiffusionxl, I get an error, and it swaps back to the previous model

Steps to reproduce the problem

Download ponydifussionxl Launch Webui Try to load ponydifussionxl Error

What should have happened?

It should have loaded

What browsers do you use to access the UI ?

Google Chrome, Other

Sysinfo

sysinfo-2024-04-28-14-29.json

Console logs

https://pastebin.com/wDp0gm64

Additional information

The other browsers, are Opera and OperaGX, usually opera though

w-e-w commented 3 weeks ago

there seems to be two issues on your instance

  1. your ui-config.json seems to be corrupted I remember makeing a fix for this issue but I can't remember which version that is in if after multiple restarts you are still errors like seeing after multiple restarts
    stable-diffusion-webui\modules\ui_loadsave.py", line 000, in read_from_file
    # followed by
    json.decoder.JSONDecodeError

    I think you may need to delete your ui-config.jsonmanually

  2. from the logs your webui is saying
    ponyDiffusionV6XL_v6StartWithThisOne.safetensors is not a safetensors file
    # and
    Loading weights [050c0ff515] from G:\Stable Diffusion\webui reinstall\stable-diffusion-webui\models\Stable-diffusion\ponyDiffusionV6XL_v6StartWithThisOne.safetensors
    safetensors_rust.SafetensorError: Error while deserializing header: InvalidHeaderDeserialization

    assuming that you are using this model https://huggingface.co/xRikishi/xRikishi/blob/main/ponyDiffusionV6XL_v6StartWithThisOne.safetensors on the web page it says

    SHA256: 67ab2fd8ec439a89b3fedb15cc65f54336af163c7eb5e4f2acc98f090a29b0b3

    the hash of your local instance of ponyDiffusionV6XL_v6StartWithThisOne.safetensors it starts with 050c0ff515 which does not match the web pages description this indicates that you are either not using the same file or the file is corrupted somehow possibly during download consider all the information the most likely case is that the file is corrupted you should delete your local file and redownload it

Userbingd commented 3 weeks ago

I downloaded the one on Civitai, I don't know it both the huggingface and civitai models are the same

w-e-w commented 3 weeks ago

I downloaded the one on Civitai, I don't know it both the huggingface and civitai models are the same

image

The tldr about hashes is that if 2 file are the same then they will have the same hash

I did a quick search and assuming that you're seeing the same website as I am then the file one Civitai and huggingface are same

look at the SHA256 or AUTOV2 (AUTOV2 is just the first couple characters of SHA256)

ignore AUTOV1 that's the old hash we used to in old version of webui I'm not sure where the AUTOV3 on Civitai is, last I checked, we don't have a V3

Userbingd commented 3 weeks ago

Yeah, looks like it was corrupted...which sucks, since that's like a 6 gig file, and I get a download speed 500kbs, on a good day

RexGhidorah commented 1 week ago

Hi! I have a simmilar issue, mine is EXTREMLY SLOW. On previous versions of automatic1111 it would take to generate a batch of 4 images around 2 or 3 minutes. Now if i have luck it takes 15 minutes for only one image....