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 ·
0eb6763
1
Parent(s): ccb179b
Update README.md
Browse files
README.md
CHANGED
|
@@ -79,9 +79,9 @@ Make sure to upgrade diffusers to >= 0.22.0:
|
|
| 79 |
pip install -U diffusers --upgrade
|
| 80 |
```
|
| 81 |
|
| 82 |
-
In addition make sure to install `transformers`, `safetensors`, and `accelerate`:
|
| 83 |
```
|
| 84 |
-
pip install transformers accelerate safetensors
|
| 85 |
```
|
| 86 |
|
| 87 |
To just use the base model, you can run:
|
|
@@ -129,6 +129,7 @@ The model is intended for research purposes only. Possible research areas and ta
|
|
| 129 |
- Applications in educational or creative tools.
|
| 130 |
- Research on generative models.
|
| 131 |
- Safe deployment of models which have the potential to generate harmful content.
|
|
|
|
| 132 |
- Probing and understanding the limitations and biases of generative models.
|
| 133 |
|
| 134 |
Excluded uses are described below.
|
|
|
|
| 79 |
pip install -U diffusers --upgrade
|
| 80 |
```
|
| 81 |
|
| 82 |
+
In addition make sure to install `transformers`, `safetensors`, `sentencepiece`, and `accelerate`:
|
| 83 |
```
|
| 84 |
+
pip install transformers accelerate safetensors sentencepiece
|
| 85 |
```
|
| 86 |
|
| 87 |
To just use the base model, you can run:
|
|
|
|
| 129 |
- Applications in educational or creative tools.
|
| 130 |
- Research on generative models.
|
| 131 |
- Safe deployment of models which have the potential to generate harmful content.
|
| 132 |
+
|
| 133 |
- Probing and understanding the limitations and biases of generative models.
|
| 134 |
|
| 135 |
Excluded uses are described below.
|