A repo holding the code for my implementation of a DiT with REPA-E.
Check out the blogpost!
First clone and cd into the repository:
git clone https://github.com/bhoener/diffusion-transformer
cd diffusion-transformerThen, activate the virtual environment:
source env/bin/activateInstall dependencies:
uv pip install -r requirements.txtAll code is under src/.
To start a training run with ddp:
cd src
torchrun --standalone --nproc_per_node=8 train.py
Replace 8 with your number of GPUs.
