如果正在运行中的comfyui突然报错
Error occurred when executing xxxxxx(xxx):
Allocation on device 0 would exceed allowed memory.(out of memory)
Currently allocated: xx GiB
Requested : xxxx MiB
Device limit: xxx GiB
Free (according to CUDA): 0 bytes
PyTorch limit(set by user-supplied memory fraction)
:xxxxxx GiB
如下图示例:
这种情况是显存内存爆了,可以适当调整模型的重量和分步运行,关闭任何其他占用显存的程序,
如果有用到GUI图形界面启动器重新用原始bat启动,如果还不行,建议适当修改工作流程或者换更高配置电脑~