Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

mm: dont reset cast buffers in cleanup_models_gc() (#14372)

rattus6f01b244a29e
diff --git a/comfy/model_management.py b/comfy/model_management.py
index 8e786c0a5..9dc0a4e13 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -958,8 +958,6 @@ def loaded_models(only_currently_used=False):
def cleanup_models_gc():
do_gc = False
- reset_cast_buffers()
-
for i in range(len(current_loaded_models)):
cur = current_loaded_models[i]
if cur.is_dead():