Skip to content

Instantly share code, notes, and snippets.

View Tumppi066's full-sized avatar
๐Ÿšš
Bringing ADAS to ordinary gamers.

Tumppi066 Tumppi066

๐Ÿšš
Bringing ADAS to ordinary gamers.
View GitHub Profile
@Tumppi066
Tumppi066 / convertToSafeTensor.py
Last active October 17, 2025 10:57
Convert all .ckpt files in all subdirectories to .safetensors files
# Got a bunch of .ckpt files to convert?
# Here's a handy script to take care of all that for you!
# Original .ckpt files are not touched!
# Make sure you have enough disk space! You are going to DOUBLE the size of your models folder!
#
# First, run:
# pip install torch torchsde==0.2.5 safetensors==0.2.5
#
# Place this file in the **SAME DIRECTORY** as all of your .ckpt files, open a command prompt for that folder, and run:
# python convert_to_safe.py