Downloads · 30 days
0
rupeshs/hyper-sd-sdxl-1-step-openvino-int8
hyper-sd-sdxl-1-step-openvino-int8 is a machine learning model from rupeshs. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as openrail++.
HyperSD 1-step LoRA baked-in model converted to OpenVINO(int8) and weights compressed with NNCF(10GB to 4.4GB).
Downloads · 30 days
0
Access
Public
Updated Apr 29, 2024
Repo size
4.7 GB
Likes
7
Public
Click a slice to open those files.
.bin4.7 GB · 100%
From the Hugging Face model README
HyperSD 1-step LoRA baked-in model converted to OpenVINO(int8) and weights compressed with NNCF(10GB to 4.4GB).
Original Model : Hyper-SD
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 OVStableDiffusionXLPipeline
pipeline = OVStableDiffusionXLPipeline.from_pretrained(
"rupeshs/hyper-sd-sdxl-1-step-openvino-int8",
ov_config={"CACHE_DIR": ""},
)
prompt = "a cute cat,flowers"
images = pipeline(
prompt=prompt,
width=768,
height=768,
num_inference_steps=1,
guidance_scale=1.0,
).images
images[0].save("out_image.png")