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
- Draw Things
- DiffusionBee
Commit ·
b89adad
1
Parent(s): 0eb6763
Update README.md
Browse files
README.md
CHANGED
|
@@ -117,7 +117,7 @@ instead of `.to("cuda")`:
|
|
| 117 |
For more information on how to use Pixart-α with `diffusers`, please have a look at [the Pixart-α Docs](https://huggingface.co/docs/diffusers/main/en/api/pipelines/pixart).
|
| 118 |
|
| 119 |
### Free Google Colab
|
| 120 |
-
You can use Google Colab to generate images from PixArt-α free of charge. Click [here](https://colab.research.google.com/drive/1jZ5UZXk7tcpTfVwnX33dDuefNMcnW9ME?usp=sharing)
|
| 121 |
|
| 122 |
## Uses
|
| 123 |
|
|
|
|
| 117 |
For more information on how to use Pixart-α with `diffusers`, please have a look at [the Pixart-α Docs](https://huggingface.co/docs/diffusers/main/en/api/pipelines/pixart).
|
| 118 |
|
| 119 |
### Free Google Colab
|
| 120 |
+
You can use Google Colab to generate images from PixArt-α free of charge. Click [here](https://colab.research.google.com/drive/1jZ5UZXk7tcpTfVwnX33dDuefNMcnW9ME?usp=sharing) to try.
|
| 121 |
|
| 122 |
## Uses
|
| 123 |
|