nihaomiao / CVPR23_LFDM

The pytorch implementation of our CVPR 2023 paper "Conditional Image-to-Video Generation with Latent Flow Diffusion Models"
BSD 2-Clause "Simplified" License
443 stars 42 forks source link

demo_mug.py RuntimeError: CUDA out of memory. Tried to allocate 120.00 MiB V100 32G #42

Closed Zenobia7 closed 7 months ago

Zenobia7 commented 8 months ago

Hello, I have a memory leak in the test, in the diffusion 1000 iterations when the memory rose from 14G to 32G so that can not be tested, please help to see what is the reason? python3.7.10 pytorch1.12.1+cu10.2 is installed in requirements.txt for all environments. 微信图片_20240124094820 微信图片_20240124094816 微信图片_20240124094812 微信图片_20240124094809 微信图片_20240124094806 微信图片_20240124094756

nihaomiao commented 7 months ago

Hi, @Zenobia7, sorry for the late reply! But I do not have such an issue before and normally the memory of the program will not be more than 24G.