How to get the hash of a Stable Diffusion model outside of Stable Diffusion? #4396
matroxI
started this conversation in
Show and tell
Replies: 3 comments 1 reply
-
TY. I had same problem a few weeks ago and put it together after digging into A1111 webui code. Resulting simple python script here. Might probably be shorter but already small enough for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can anyone tell me why when i run sha256 command over a checkpoint file, it's different than the hash generated by A1111's code ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
after a bit of digging, I found this. A1111 explains that it's not a hash of the complete model, just a small chunk. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made a google colab, you can use it to find out the hash of the model.
Specify the link or upload the model from your PC to find out its hash.
https://colab.research.google.com/drive/1WDpt4f6W1Z0JTfMph5uDbMUZinCnf35i?usp=sharing
Beta Was this translation helpful? Give feedback.
All reactions