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 folder using huggingface_hub
Browse files
transformer/config.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "PixelDiTModel",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
-
"hidden_size": 1536,
|
| 5 |
"in_channels": 3,
|
| 6 |
"num_groups": 24,
|
| 7 |
-
"
|
| 8 |
-
"patch_depth": 14,
|
| 9 |
-
"patch_size": 16,
|
| 10 |
-
"pixel_attn_hidden_size": 1152,
|
| 11 |
-
"pixel_depth": 2,
|
| 12 |
"pixel_hidden_size": 16,
|
|
|
|
| 13 |
"pixel_num_groups": 16,
|
| 14 |
-
"
|
| 15 |
-
"
|
|
|
|
|
|
|
| 16 |
"txt_embed_dim": 2304,
|
| 17 |
"txt_max_length": 300,
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "PixelDiTModel",
|
| 3 |
+
"_diffusers_version": "0.31.0",
|
|
|
|
| 4 |
"in_channels": 3,
|
| 5 |
"num_groups": 24,
|
| 6 |
+
"hidden_size": 1536,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"pixel_hidden_size": 16,
|
| 8 |
+
"pixel_attn_hidden_size": 1152,
|
| 9 |
"pixel_num_groups": 16,
|
| 10 |
+
"patch_depth": 14,
|
| 11 |
+
"pixel_depth": 2,
|
| 12 |
+
"num_text_blocks": 4,
|
| 13 |
+
"patch_size": 16,
|
| 14 |
"txt_embed_dim": 2304,
|
| 15 |
"txt_max_length": 300,
|
| 16 |
+
"use_text_rope": true,
|
| 17 |
+
"text_rope_theta": 10000.0,
|
| 18 |
+
"repa_encoder_index": -1,
|
| 19 |
+
"use_pixel_abs_pos": true
|
| 20 |
+
}
|
transformer/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b698258876888e9552f67928b962c8515a20c51d0fd3eb458fc5196202405224
|
| 3 |
+
size 5209926876
|