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_encoder/openvino_model.bin from HelloSun/SDXL-base-1.0-OpenVINO-INT4: direct link, hf CLI and curl.
- Browser
- Download file 34.2 MB
-
https://huggingface.co/HelloSun/SDXL-base-1.0-OpenVINO-INT4/resolve/main/vae_encoder/openvino_model.bin
- Command line
-
hf download hf://HelloSun/SDXL-base-1.0-OpenVINO-INT4/vae_encoder/openvino_model.bin
-
curl -L -o openvino_model.bin https://huggingface.co/HelloSun/SDXL-base-1.0-OpenVINO-INT4/resolve/main/vae_encoder/openvino_model.bin
34.2 MB
- Xet hash:
- 6be04b8953ca49db5203f82c3815384729312454691ccc0bc4dca6c8e449bd42
- Size of remote file:
- 34.2 MB
- SHA256:
- 94d7c0985b9c650cc6f4640ac841a857ffd9cfb6d6d0d747479e37b5ebc32fec
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.