Instructions to use rain1011/pyramid-flow-sd3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rain1011/pyramid-flow-sd3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rain1011/pyramid-flow-sd3", 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
Download diffusion_transformer_768p/config.json from rain1011/pyramid-flow-sd3: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/rain1011/pyramid-flow-sd3/resolve/main/diffusion_transformer_768p/config.json
- Command line
-
hf download hf://rain1011/pyramid-flow-sd3/diffusion_transformer_768p/config.json
-
curl -L -o config.json https://huggingface.co/rain1011/pyramid-flow-sd3/resolve/main/diffusion_transformer_768p/config.json
522 Bytes
| { | |
| "_class_name": "PyramidDiffusionMMDiT", | |
| "_diffusers_version": "0.30.0", | |
| "attention_head_dim": 64, | |
| "caption_projection_dim": 1536, | |
| "in_channels": 16, | |
| "joint_attention_dim": 4096, | |
| "max_num_frames": 200, | |
| "num_attention_heads": 24, | |
| "num_layers": 24, | |
| "patch_size": 2, | |
| "pooled_projection_dim": 2048, | |
| "pos_embed_max_size": 192, | |
| "pos_embed_type": "sincos", | |
| "qk_norm": "rms_norm", | |
| "sample_size": 128, | |
| "use_flash_attn": false, | |
| "use_gradient_checkpointing": false, | |
| "use_temporal_causal": true | |
| } | |