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 text_encoder/model.onnx.data from amd/stable-diffusion-xl-1.0_io32_amdgpu: direct link, hf CLI and curl.
- Browser
- Download file 120 MB
-
https://huggingface.co/amd/stable-diffusion-xl-1.0_io32_amdgpu/resolve/refs%2Fpr%2F4/text_encoder/model.onnx.data
- Command line
-
hf download hf://amd/stable-diffusion-xl-1.0_io32_amdgpu@refs/pr/4/text_encoder/model.onnx.data
-
curl -L -o model.onnx.data https://huggingface.co/amd/stable-diffusion-xl-1.0_io32_amdgpu/resolve/refs%2Fpr%2F4/text_encoder/model.onnx.data
120 MB
- Xet hash:
- 3136b559fdc8b90d9b50defac5714e046bdbc45c2fbffef69859e31c1392761a
- Size of remote file:
- 120 MB
- SHA256:
- 7f600e1d28f0330e22f530a58540c966238798ee76bd5c6ca4a633068f9ba9db
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.