illustrious0.1-smoothftspo-v14t1s-rotate / safetensors-to-diffusers.py
reoe's picture
Upload safetensors-to-diffusers.py
26f104e verified
raw
history blame
No virus
235 Bytes
import torch
import safetensors
import diffusers
pipe = diffusers.StableDiffusionXLPipeline.from_single_file("illustrious0.1-smoothftspo-v14t1s-rotate.safetensors")
pipe.save_pretrained("illustrious0.1-smoothftspo-v14t1s-rotate")