Instructions to use Alastor-Code/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 Alastor-Code/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("Alastor-Code/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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder_2/model.onnx from Alastor-Code/stable-diffusion-xl-base-1.0: direct link, hf CLI and curl.
- Browser
- Download file 1.04 MB
-
https://huggingface.co/Alastor-Code/stable-diffusion-xl-base-1.0/resolve/main/text_encoder_2/model.onnx
- Command line
-
hf download hf://Alastor-Code/stable-diffusion-xl-base-1.0/text_encoder_2/model.onnx
-
curl -L -o model.onnx https://huggingface.co/Alastor-Code/stable-diffusion-xl-base-1.0/resolve/main/text_encoder_2/model.onnx
1.04 MB
- Xet hash:
- 2cc169611073a2ff25b19cd2e8787fde5da5d587fab9cc1dc0dfb27a84002e05
- Size of remote file:
- 1.04 MB
- SHA256:
- 162042ac6556e73f93d4172d4c67532c1cbe4dc7a6a8fa7e44dd2e3d7cbb772b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.