Views
No views yet
| Flavor | Folder Name | Format | Best For |
|---|---|---|---|
| Master | sdxl-lcm-openvino-fp16 | FP16 | High-end CPUs / ARC GPUs (Maximum Fidelity) |
| Pro | sdxl-lcm-openvino-int8 | INT8 | Balanced performance (Standard Core i7/i9) |
| Lite | sdxl-lcm-openvino-int4 | INT4 | Maximum speed (Laptops / Systems with < 16GB RAM) |
pip install "optimum[openvino,diffusers]"1from optimum.intel import OVStableDiffusionXLPipeline
2from diffusers import LCMScheduler
3
4# Choose your flavor: sdxl-lcm-openvino-fp16, sdxl-lcm-openvino-int8, or sdxl-lcm-openvino-int4
5model_id = "CelesteImperia/celeste-imperia-sdxl-openvino"
6flavor = "sdxl-lcm-openvino-int4"
7
8# Load the model
9pipe = OVStableDiffusionXLPipeline.from_pretrained(
10 model_id,
11 subfolder=flavor,
12 device="CPU"
13)
14
15# Essential: Use the LCM Scheduler for 4-step generation
16pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
17
18# IMPORTANT: guidance_scale MUST be low (1.0 - 2.0) for LCM
19image = pipe(
20 prompt="A breathtaking futuristic sci-fi city in the clouds, neon lights, highly detailed",
21 num_inference_steps=4,
22 guidance_scale=1.0,
23 width=1024,
24 height=1024
25).images[0]
26
27image.save("celeste_output.png")| Platform | Support Link |
|---|---|
| Global & India | Support via Razorpay |
