Skip to content

Instantly share code, notes, and snippets.

View MiladInk's full-sized avatar
😀

Milad Aghajohari MiladInk

😀
View GitHub Profile
# Script for converting a HF Diffusers saved pipeline to a Stable Diffusion checkpoint.
# *Only* converts the UNet, VAE, and Text Encoder.
# Does not convert optimizer state or any other thing.
# Written by jachiam
import argparse
import os.path as osp
import torch