Text-to-Image
Diffusers
Safetensors
StableDiffusionXLPipeline
stable-diffusion
sdxl
flash
sdxl-flash
lightning
turbo
lcm
hyper
fast
fast-sdxl
sd-community
Instructions to use sd-community/sdxl-flash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sd-community/sdxl-flash with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sd-community/sdxl-flash", 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.safetensors from sd-community/sdxl-flash: direct link, hf CLI and curl.
- Browser
- Download file 1.39 GB
-
https://huggingface.co/sd-community/sdxl-flash/resolve/main/text_encoder_2/model.safetensors
- Command line
-
hf download hf://sd-community/sdxl-flash/text_encoder_2/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/sd-community/sdxl-flash/resolve/main/text_encoder_2/model.safetensors
1.39 GB
- Xet hash:
- a6400ae4d6a0b86776644f7ba1e435c4fc91300163c91f3b78b73425735c46f4
- Size of remote file:
- 1.39 GB
- SHA256:
- 2e8fb080428cec5e1042f6b1adfb581bf474479637e1b3a95fa08d6f744126a8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.