A simple script to convert Stable Diffusion models from pickle format to safetensors format.
# Clone the script and install dependencies
git clone https://gist.github.com/210b55ea7b082bf2a47e2f200d1efbb1.git pickle2safetensors
cd pickle2safetensors
pip install torch safetensors
# Run the script
python pickle2safetensors.py --input path/to/model.ckpt