Original model : SDXS-512-0.9

You can use this model with FastSD CPU.

Sample

To run the model yourself, you can leverage the 🧨 Diffusers library:

  1. Install the dependencies:
pip install optimum-intel openvino diffusers onnx
  1. Run the model:
from optimum.intel.openvino.modeling_diffusion import OVStableDiffusionPipeline

pipeline = OVStableDiffusionPipeline.from_pretrained(
    "rupeshs/sdxs-512-0.9-openvino",
    ov_config={"CACHE_DIR": ""},
)
prompt = "A cute cat"

images = pipeline(
    prompt=prompt,
    width=512,
    height=512,
    num_inference_steps=1,
    guidance_scale=1.0,
).images
images[0].save("out_image.png")
Downloads last month
890
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Spaces using rupeshs/sdxs-512-0.9-openvino 4