- VRAM Monitor node: real-time GPU memory stats - Force Cleanup node: gc + CUDA cache clear - Memory Budget Gate: block if insufficient VRAM - LRU Model Cache: auto-evict least-recently-used models - Cache Stats node: inspect loaded models - Set Cache Size node: configure VRAM budget
5 lines
213 B
Python
5 lines
213 B
Python
"""ComfyUI Memory Manager — prevent OOM crashes with smart model unloading."""
|
|
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|