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-00002-of-00002.safetensors from PixArt-alpha/PixArt-XL-2-1024-MS: direct link, hf CLI and curl.
- Browser
- Download file 9.06 GB
-
https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS/resolve/main/text_encoder/model-00002-of-00002.safetensors
- Command line
-
hf download hf://PixArt-alpha/PixArt-XL-2-1024-MS/text_encoder/model-00002-of-00002.safetensors
-
curl -L -o model-00002-of-00002.safetensors https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS/resolve/main/text_encoder/model-00002-of-00002.safetensors
9.06 GB
- Xet hash:
- 5690a4883014314ccbf47e00d1fdbce002e817d162d01e89d3a3d8e959d72760
- Size of remote file:
- 9.06 GB
- SHA256:
- 58f33f4acba7a5502b6b3e4cb7863f8fd503d5012016428099bb460c98e2fe77
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.