metadata
tags:
- text-to-image
- stable-diffusion
- openvino
- int8
- quantized
license: creativeml-openrail-m
base_model: stabilityai/stable-diffusion-2-1
widget:
- text: a cute corgi wearing a crown, portrait, detailed
example_title: Corgi Example
π Stable Diffusion 2.1 - OpenVINO INT8 Optimized
Quantized version of stabilityai/stable-diffusion-2-1
Optimized for Intel hardware with OpenVINO
π§ Usage
Basic Inference
from optimum.intel import OVStableDiffusionPipeline
pipe = OVStableDiffusionPipeline.from_pretrained(
"labaispeak/stable-diffusion-2-1-openvino-int8",
device="auto" # Automatically selects GPU/CPU
)
prompt = "a beautiful landscape at sunset, oil painting style"
image = pipe(prompt, num_inference_steps=20).images[0]
image.save("output.png")
βοΈ Legal Notice
This model inherits the CreativeML Open RAIL-M License from the base model. Key points:
β
Allowed: Commercial use with restrictions
β οΈ Prohibited: Harmful/hateful content generation
π Full License: View Here