Train PixelDiT-T2I using the three-stage pipeline
masterTraining is managed via train.sh and follows a progressive three-stage pipeline to scale from 512px to 1024px resolution:
- Stage 1 (Pre-training): 512×512 resolution from scratch. Uses fixed resolution and REPA loss for faster convergence.
- Stage 2 (Multi-Aspect-Ratio Fine-tuning): 512×512 resolution. Enables multi-aspect ratio training and removes REPA loss (uses only flow matching loss).
- Stage 3 (High-Res Fine-tuning): 1024×1024 resolution. Scales up to 1024px with multi-aspect ratio and no REPA loss.
To move between stages, use the --load_from flag to pass the checkpoint from the previous stage.