Instructions to use stabilityai/stable-diffusion-xl-base-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-xl-base-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
ddee3a9
1
Parent(s): 70a5a6a
openvino-model (#19)
Browse files- add openvino model (4a5d77bb387b4f29293150fa79e6bdc8bad9358c)
- merge main in branch (8c140d197289a47bd2f7207c3108ce96a53d6ffc)
Co-authored-by: Ella Charlaix <echarlaix@users.noreply.huggingface.co>
Files changed (12)
- text_encoder/openvino_model.binAdded+3
- text_encoder/openvino_model.xmlAdded+3
- text_encoder_2/openvino_model.binAdded+3
- text_encoder_2/openvino_model.xmlAdded+3
- unet/openvino_model.binAdded+3
- unet/openvino_model.xmlAdded+3
- vae_decoder/config.json+1-2
- vae_decoder/openvino_model.binAdded+3
- vae_decoder/openvino_model.xmlAdded+3
- vae_encoder/config.json+1-2
- vae_encoder/openvino_model.binAdded+3
- vae_encoder/openvino_model.xmlAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:bbc78395c8cee553a17380e9b1a9a47da926c98731ba31306032d7d45fadb29bsize 492242672123version https://git-lfs.github.com/spec/v1oid sha256:ab5cf7327374d8c984f4e963564a329f92c9dad08dac9eee9b8dca86b912f1c9size 1057789123version https://git-lfs.github.com/spec/v1oid sha256:549d05154b0c09d46226f85abd48552f0ef999af4f24a95b3fb62d5e7d059570size 2778640120123version https://git-lfs.github.com/spec/v1oid sha256:38f0a4ff68dd918b24908a264140c2ad0e057eca82616f75c17cbf4a099ad6adsize 2790191123version https://git-lfs.github.com/spec/v1oid sha256:2d586bcb83c004ab07f5899adcac3d46189afe058d6a581570f0a613a010d9ecsize 10269856428123version https://git-lfs.github.com/spec/v1oid sha256:18955f96dffdba5612c4b554451f4ccc947c93e46df010173791654af4d0d7f6size 225774381234567{"_class_name": "AutoencoderKL","_diffusers_version": "0.18.2","_name_or_path": "/home/ec2-user/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/43d0fa61587d4b14f40964aca23b7c4c701edcee/vae","act_fn": "silu","block_out_channels": [128,123456{"_class_name": "AutoencoderKL","_diffusers_version": "0.19.0.dev0","act_fn": "silu","block_out_channels": [128,
123version https://git-lfs.github.com/spec/v1oid sha256:34ea744ad1d75fb6b8825e31f5adbe7d62cbe2e7d061535b0a12e69c2f72d0f4size 197961232123version https://git-lfs.github.com/spec/v1oid sha256:dd61f43e981282b77ecaecf5fc5c842d504932bae78ac99ec581cee50978b423size 9921811234567{"_class_name": "AutoencoderKL","_diffusers_version": "0.18.2","_name_or_path": "/home/ec2-user/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/43d0fa61587d4b14f40964aca23b7c4c701edcee/vae","act_fn": "silu","block_out_channels": [128,123456{"_class_name": "AutoencoderKL","_diffusers_version": "0.19.0.dev0","act_fn": "silu","block_out_channels": [128,
123version https://git-lfs.github.com/spec/v1oid sha256:97f04b0cf74808c7bd9b6e09f080e8cd24821943c3c06b153145989889215ce5size 136655184123version https://git-lfs.github.com/spec/v1oid sha256:a3ec36b6f3f74d0cb2b005b7c0a1e5426c5ef1e7163b33e463ea57fa049c5996size 849965text_encoder/openvino_model.binAdded+3
text_encoder/openvino_model.xmlAdded+3
text_encoder_2/openvino_model.binAdded+3
text_encoder_2/openvino_model.xmlAdded+3
unet/openvino_model.binAdded+3
unet/openvino_model.xmlAdded+3
vae_decoder/config.json+1-2
vae_decoder/openvino_model.binAdded+3
vae_decoder/openvino_model.xmlAdded+3
vae_encoder/config.json+1-2
vae_encoder/openvino_model.binAdded+3
vae_encoder/openvino_model.xmlAdded+3