Downloads · 30 days
0
rupeshs/LCM-dreamshaper-v7-openvino
LCM-dreamshaper-v7-openvino is a text-to-image model from rupeshs. Use it when you need an image from a text prompt. The card lists the license as creativeml-openrail-m.
rupeshs/LCM-dreamshaper-v7-openvino is a LCM-LoRA fused model for OpenVINO that allows image generation with only 4 steps.
Downloads · 30 days
0
Access
Public
Updated Nov 22, 2023
Repo size
4.3 GB
Likes
8
Public
Click a slice to open those files.
.bin4.3 GB · 100%
From the Hugging Face model README
rupeshs/LCM-dreamshaper-v7-openvino is a LCM-LoRA fused model for OpenVINO that allows image generation with only 4 steps.
Original Model : Lykon/dreamshaper-7
You can use this model with FastSD CPU.

To run the model yourself, you can leverage the 🧨 Diffusers library:
pip install optimum-intel openvino diffusers onnx
from optimum.intel.openvino.modeling_diffusion import OVStableDiffusionPipeline
pipeline = OVStableDiffusionPipeline.from_pretrained(
"rupeshs/LCM-dreamshaper-v7-openvino",
ov_config={"CACHE_DIR": ""},
)
prompt = "Self-portrait,a beautiful cyborg with golden hair, 8k"
images = pipeline(
prompt=prompt,
width=512,
height=512,
num_inference_steps=4,
guidance_scale=1.0,
).images
images[0].save("out_image.png")