smthemex / ComfyUI_StoryDiffusion

You can using StoryDiffusion in ComfyUI
Apache License 2.0
237 stars 195 forks source link

动不动就torch.cuda.OutOfMemoryError: Allocation on device #36

Closed xueqing0622 closed 2 months ago

xueqing0622 commented 4 months ago

ms-diffusion和storydiffusion这两个一加lora 而且非常慢 载入模型 image

xueqing0622 commented 4 months ago

3060 12G
32G内存

smthemex commented 4 months ago

试着把diffuser升级到0.29以上,虽然原方法是支持0.27的。然后就是cuda的版本也要高一点。然后我回头检查一下代码,看是否有优化的可能,因为我12G也能常规跑

xueqing0622 commented 4 months ago

好的 谢谢解答

YuanXiaoYaoZiZai commented 4 months ago

4090 24G 65G内存,加了controlnet也会报oom

smthemex commented 3 months ago

内存溢出是这个方法的老毛病了,原生用他们的方法跑,4090有些也跑不起来,多半是torch或者diffuse这类版本的差异。