Instructions to use amd/stable-diffusion-xl-1.0_io32_amdgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use amd/stable-diffusion-xl-1.0_io32_amdgpu with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("amd/stable-diffusion-xl-1.0_io32_amdgpu", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download vae_encoder/model.onnx from amd/stable-diffusion-xl-1.0_io32_amdgpu: direct link, hf CLI and curl.
- Browser
- Download file 68.4 MB
-
https://huggingface.co/amd/stable-diffusion-xl-1.0_io32_amdgpu/resolve/refs%2Fpr%2F1/vae_encoder/model.onnx
- Command line
-
hf download hf://amd/stable-diffusion-xl-1.0_io32_amdgpu@refs/pr/1/vae_encoder/model.onnx
-
curl -L -o model.onnx https://huggingface.co/amd/stable-diffusion-xl-1.0_io32_amdgpu/resolve/refs%2Fpr%2F1/vae_encoder/model.onnx
68.4 MB
- Xet hash:
- deb7ee2c14ed018d8b7602764a6214e2035c0e62a023b7739469c0b0b7f4838e
- Size of remote file:
- 68.4 MB
- SHA256:
- 61d3f7f58f1a0d6f4d85820dd9311b638d024e454832a97bb91d6002f967befb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.