kijai / ComfyUI-DynamiCrafterWrapper

Wrapper to use DynamiCrafter models in ComfyUI
Other
610 stars 22 forks source link

Out of Memory issue #38

Closed Yutong18 closed 4 months ago

Yutong18 commented 4 months ago

Hi, Thank you for your great work! I met a problem with out_of_memory when I try to use dynamic rafter_1024 model to generate video from 1024576 images. I used 48G RTX6000. Also when I tried to generate video from smaller resolution such as 320320 images, it said "assert not torch.isnan(samples).any().item(), "Resulting tensor containts NaNs. I'm unsure why this happens, changing step count and/or image dimensions
might help."
AssertionError: Resulting tensor containts NaNs. I'm unsure why this happens, changing step count and/or image dimensions might help. "

Thank you again.

Yutong18 commented 4 months ago

After use xformers, the out of memory issue solved.