what did you use to convert checkpoint folder to .safetensor?

#180
by csegalin - opened

Hi,
I am trying to understand what code you used to convert the checkpoint folder with the subfolders tokenizer, scheduler, vae, unet etc into the .safetensor file
Can you point me to the code ?
thank you

You can use the save_pretrained function from the model object to save the checkpoint.

Sign up or log in to comment