labaispeak's picture
Update README.md
3904560 verified
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

πŸ“š Resources