Instructions to use PixArt-alpha/PixArt-XL-2-1024-MS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PixArt-alpha/PixArt-XL-2-1024-MS with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-1024-MS", 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-00001-of-00002.safetensors from PixArt-alpha/PixArt-XL-2-1024-MS: direct link, hf CLI and curl.
- Browser
- Download file 9.99 GB
-
https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS/resolve/main/text_encoder/model-00001-of-00002.safetensors
- Command line
-
hf download hf://PixArt-alpha/PixArt-XL-2-1024-MS/text_encoder/model-00001-of-00002.safetensors
-
curl -L -o model-00001-of-00002.safetensors https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS/resolve/main/text_encoder/model-00001-of-00002.safetensors
9.99 GB
- Xet hash:
- c130d9502ea2171964c3e5799f762da9735e07b1344c7da5ad55f57c25d18f97
- Size of remote file:
- 9.99 GB
- SHA256:
- eb529f693f4b17773a24e787fcba29486d5e1700dadcc20bb91e4c8b00212d08
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.