glucauze / sd-webui-faceswaplab

Extended faceswap extension for StableDiffusion web-ui with multiple faceswaps, inpainting, checkpoints, ....
https://glucauze.github.io/sd-webui-faceswaplab/
GNU Affero General Public License v3.0
731 stars 97 forks source link

v1.1.2 Safetensors #4

Closed glucauze closed 1 year ago

glucauze commented 1 year ago

Version 1.1.2 will use the safetensors format rather than the pkl format. I have chosen to convert pkl files to safetensors automatically with a warning. There is also a script for conversion. https://gist.github.com/glucauze/4a3c458541f2278ad801f6625e5b9d3d

The idea is to be able to convert files that are deemed safe manually. Remember that pkl files can be used to execute arbitrary code. Don't use external pkl files. Pkl files support will be removed in future versions.