in

Fast CPU LCM_Dreamshaper_v7 stable diffusion

from diffusers import DiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained(“SimianLuo/LCM_Dreamshaper_v7″, custom_pipeline=”latent_consistency_txt2img”, custom_revision=”main”, revision=”fb9c5d”)

pipe.to(torch_device=”cpu”)images = pipe(prompt=prompt, num_inference_steps=num_inference_steps, guidance_scale=8.0, lcm_origin_steps=50, output_type=”pil”).images
00:56<02:50, 56.87s/it

This post was created with our nice and easy submission form. Create your post!

What do you think?

Written by newsaha

Leave a Reply

GIPHY App Key not set. Please check settings

(Video) The news on cops, including the latest updates on the

The movie is titled the “Journey of Darkness” and it stars EG, B