Comfy-Org / Comfy-Org/ComfyUI

(BUG) When Cl.exe errors and similar happen, comfy errors out but does not release the cached models and such -> resulting in OOM in the next run(s)

Open
#10,417 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

Sometimes I experiment errors like these:
cl : Command line warning D9025 : overriding '/openmp' with '/openmp:experimental'
cf3uxxxxxcmsm.main.cpp
E:/TCP/f3/cf3utmxxxxhgcmsm.main.cpp(2): fatal error C1083: Cannot open include file: 'algorithm': No such file or directory
(right now as a matter of fact)

One thing I noticed about it is that this errors does not prompt comfyUI to release the models/cache etc, so when i start a new generation it simply goes to OOM automatically, trying to cache the modes etc TWICE (this gen plus the one from before) probably.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.