Instructions to use HelloSun/SDXL-base-1.0-OpenVINO-INT4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HelloSun/SDXL-base-1.0-OpenVINO-INT4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("HelloSun/SDXL-base-1.0-OpenVINO-INT4", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download vae_decoder/openvino_model.bin from HelloSun/SDXL-base-1.0-OpenVINO-INT4: direct link, hf CLI and curl.
- Browser
- Download file 49.6 MB
-
https://huggingface.co/HelloSun/SDXL-base-1.0-OpenVINO-INT4/resolve/main/vae_decoder/openvino_model.bin
- Command line
-
hf download hf://HelloSun/SDXL-base-1.0-OpenVINO-INT4/vae_decoder/openvino_model.bin
-
curl -L -o openvino_model.bin https://huggingface.co/HelloSun/SDXL-base-1.0-OpenVINO-INT4/resolve/main/vae_decoder/openvino_model.bin
49.6 MB
- Xet hash:
- 08e5e954867f2cc9779943ef604394ba7fbaa3b85eae959df5eb82a0a1dff663
- Size of remote file:
- 49.6 MB
- SHA256:
- 48f6d6c5c5287cd6d91e8899622b7403e1f0d6a4d19e8c3f9f24b3a5fa9977f4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.