Downloads · 30 days
0
rupeshs/LCM-dreamshaper-v7-openvino-int8
LCM-dreamshaper-v7-openvino-int8 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 mit.
This repo contains OpenVino model files for SimianLuo's LCMDreamshaperv7 int8 quantized. This 8 bit model is 1.4x faster than float32 model.
Downloads · 30 days
0
Access
Public
Updated Nov 11, 2023
Repo size
3.1 GB
Likes
5
Public
Click a slice to open those files.
.bin3.1 GB · 100%
From the Hugging Face model README
This repo contains OpenVino model files for SimianLuo's LCM_Dreamshaper_v7 int8 quantized.
This 8 bit model is 1.4x faster than float32 model.
You can try out model using Fast SD CPU
To run the model yourself, you can leverage the 🧨 Diffusers library:
pip install optimum-intel openvino diffusers onnx
from optimum.intel import OVLatentConsistencyModelPipeline
pipe = OVLatentConsistencyModelPipeline.from_pretrained(
"rupeshs/LCM-dreamshaper-v7-openvino-int8",
ov_config={"CACHE_DIR": ""},
)
prompt = "sailing ship in storm by Leonardo da Vinci"
images = pipe(
prompt=prompt,
width=512,
height=512,
num_inference_steps=4,
guidance_scale=8.0,
).images
images[0].save("out_image.png")