In this repo, we provide train and inference code for TerDiT.