Open TypicaIDay opened 1 month ago
same problem
this should be fix in 1.10.0
the issus is caused by a bug in webui that if the initial model webui tries to load is corrupted, then webui won't be able to switch models
after the fix you should be able to switch even the model is corrupted
but regardless if it is fix or not you should delete the corrupted model
I can see the file is corrupted because
Loading model hassakuXLSfwNsfwBeta_betaV04.safetensors [03505967f5]
03505967f5
is the first 10 characters of the file sha256 of the file
assuming this is the file https://huggingface.co/Makengo/HasskakuForRunpod/blob/main/hassakuXLSfwNsfwBeta_betaV04.safetensors
then it should have the hash of 8031331664cd2d3804c69019fb1d914511d4d444b56ac9a2b3bb63c5176acb98
which dose not match 03505967f5
we know the file is differentthis should be fix in 1.10.0
the issus is caused by a bug in webui that if the initial model webui tries to load is corrupted, then webui won't be able to switch models
after the fix you should be able to switch even the model is corrupted
but regardless if it is fix or not you should delete the corrupted model
I can see the file is corrupted because
- safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer webui repors that it encountered an error when loading the model
- webui worte
Loading model hassakuXLSfwNsfwBeta_betaV04.safetensors [03505967f5]
03505967f5
is the first 10 characters of the file sha256 of the file assuming this is the file https://huggingface.co/Makengo/HasskakuForRunpod/blob/main/hassakuXLSfwNsfwBeta_betaV04.safetensors then it should have the hash of8031331664cd2d3804c69019fb1d914511d4d444b56ac9a2b3bb63c5176acb98
which dose not match03505967f5
we know the file is different
I don't know what's wrong, because it worked for a few generations but then it kept giving me that error message
also is there a way to find and see if any SD models are corrupt?
also is there a way to find and see if any SD models are corrupt?
You should be able to get sha256 of any file using this command:
certutil -hashfile C:\file\path\my_file.exe SHA256
Then, you can compare it with the sha256 of the desired model.
Just be sure that you are comparing sha256 and not some other checksum.
If you see anything other than sha256, click on arrow on the right, until you see sha256
also is there a way to find and see if any SD models are corrupt?
You should be able to get sha256 of any file using this command:
certutil -hashfile C:\file\path\my_file.exe SHA256
Then, you can compare it with the sha256 of the desired model.
Just be sure that you are comparing sha256 and not some other checksum.
![]()
If you see anything other than sha256, click on arrow on the right, until you see sha256
![]()
really late, but thanks so much
Checklist
What happened?
When I try to switch to a different model it won't work.
Steps to reproduce the problem
Switch SD model.
What should have happened?
SD model should have switched.
What browsers do you use to access the UI ?
No response
Sysinfo
sysinfo-2024-07-17-17-46.json
Console logs
Additional information
No response