sail-sg / MDT

Masked Diffusion Transformer is the SOTA for image synthesis. (ICCV 2023)
Apache License 2.0
500 stars 35 forks source link

Memory constraint #17

Open Bhavay-2001 opened 1 year ago

Bhavay-2001 commented 1 year ago

Hello everyone.

I would like to know about the memory requirements of the model. I am trying to run the original model on 2 48GB GPUs through PyTorch DDP. However, it is giving me OOM error. I'm also performing some transformations on the images as well. Can anyone please tell how much space does the model take and how can I reduce the model size without hurting the performance?