in

stable diffusion openvino cpu

stable diffusion image optimum-intel openvino diffusers onnx

from optimum.intel.openvino.modeling_diffusions import OVStableDiffusionXLPipeline

pipeline = OVStableDiffusionXLPipeline.from_pretrained(
“rupeshs/sdxl-turbo-openvino-int8”,
ov_config={“CACHE_DIR”: “”},
)
prompt = “”

images = pipeline(
prompt=prompt,
width=512,
height=512,
num_inference_steps=1,
guidance_scale=1.0,
).images
images[0].save(“out_image.png”)

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

Diffusivity

The dollar is equal to approximately $2,446.78 naira today.