diffusion-e2e-ft icon indicating copy to clipboard operation
diffusion-e2e-ft copied to clipboard

Out of memory (GPU)

Open Z-Pengcheng opened this issue 1 year ago • 2 comments

Hi, good work. I have a problem when training the net. This is out of memory in GPU (3090 24 GB). How much memory was used in your training? Thanks to release the code again. Looking forward to your reply.

Z-Pengcheng avatar Apr 08 '25 02:04 Z-Pengcheng

We used H100 with 96GB, but at some point also A40 with 48GB. If you only have 24GB, you can probably set batch size to 1 and gradient accumulation to 32. https://github.com/VisualComputingInstitute/diffusion-e2e-ft/issues/20#issuecomment-2782903856

karimknaebel avatar Apr 08 '25 17:04 karimknaebel