Instructions to use madtune/pixeldit-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use madtune/pixeldit-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nvidia/PixelDiT-1300M-1024px", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("madtune/pixeldit-diffusers") 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
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -33,10 +33,12 @@ PixelDiT is a 1.3B parameter **pixel-space** diffusion transformer — no VAE, g
|
|
| 33 |
## Install
|
| 34 |
|
| 35 |
```bash
|
|
|
|
|
|
|
|
|
|
| 36 |
git clone https://github.com/madtunebk/pixeldit-diffusers
|
| 37 |
cd pixeldit-diffusers
|
| 38 |
-
python setup_diffusers_pixeldit.py
|
| 39 |
-
pip install transformers accelerate safetensors pillow
|
| 40 |
```
|
| 41 |
|
| 42 |
---
|
|
|
|
| 33 |
## Install
|
| 34 |
|
| 35 |
```bash
|
| 36 |
+
python3 -m venv .venv && source .venv/bin/activate
|
| 37 |
+
pip install torch --index-url https://download.pytorch.org/whl/cu121
|
| 38 |
+
pip install diffusers transformers accelerate safetensors pillow
|
| 39 |
git clone https://github.com/madtunebk/pixeldit-diffusers
|
| 40 |
cd pixeldit-diffusers
|
| 41 |
+
python scripts/setup_diffusers_pixeldit.py
|
|
|
|
| 42 |
```
|
| 43 |
|
| 44 |
---
|