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
| { | |
| "architectures": [ | |
| "PixelDiTModel" | |
| ], | |
| "dtype": "float32", | |
| "hidden_size": 1536, | |
| "in_channels": 3, | |
| "model_type": "pixeldit", | |
| "num_groups": 24, | |
| "num_text_blocks": 4, | |
| "patch_depth": 14, | |
| "patch_size": 16, | |
| "pixel_attn_hidden_size": 1152, | |
| "pixel_depth": 2, | |
| "pixel_hidden_size": 16, | |
| "pixel_num_groups": 16, | |
| "repa_encoder_index": -1, | |
| "text_rope_theta": 10000.0, | |
| "transformers_version": "5.9.0", | |
| "txt_embed_dim": 2304, | |
| "txt_max_length": 300, | |
| "use_pixel_abs_pos": true, | |
| "use_text_rope": true | |
| } | |