Sign In

Simple way to convert SD 1.5 PickleTensors into Safetensors

3
Simple way to convert SD 1.5 PickleTensors into Safetensors

I try to write this as simple as possible as I'm not speaking English not so well.

(I added images as a zip file as I noticed they look quite tiny in the article). πŸ˜‰

You can find it from the right side clicking attachments.

First you need to get embedding-merge extension, found from here: https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge

(it is very useful thing, you can do many things with it, like embeddings without training for example. This time we use it bit differently).

After you have installed it reload your UI, open the tab and for prompt use the name of your PickleTensor file and name it to whatever you want. Close up

You will find your file from your embeddings folder, in a embedding_merge folder.

Close up

You can let it be there or move it to main folder as I did to compare it with my PT file.

Close up

Now as we check the sizes of the files, they're slightly different. I noticed Safetensors seems to be bit smaller files (about 1b). 😊

Close up

So, how about the results? Well they are matching 100% to each other as you can see.

I hope this helps at least someone, thank you!

3

Comments