floyo logo
Powered by
ThinkDiffusion
Webinar: Qwen 2511 for Multi Angle & Relighting w Sebastian Kamph. Sign up now 👉🏽
floyo logo
Powered by
ThinkDiffusion
Webinar: Qwen 2511 for Multi Angle & Relighting w Sebastian Kamph. Sign up now 👉🏽

ComfyUI-ReservedVRAM

324

Last updated
2026-02-17

A specialized node for ComfyUI that enables real-time adjustments to the reserved memory of workflows, helping to optimize GPU memory usage and prevent shared memory issues. This tool is particularly useful for users who need to manage VRAM efficiently during intensive processes.

  • Enhances memory management by dynamically adjusting reserved VRAM based on current usage, ensuring optimal performance.
  • Functions as a random seed node, allowing for consistent results by modifying VRAM strategies on each execution.
  • Provides a cleanup option for VRAM, enabling users to reset memory settings before output, which can help in maintaining system performance.

Context

This tool serves as a memory management node within the ComfyUI framework, designed to dynamically modify the amount of GPU memory reserved for workflows in real-time. Its primary objective is to alleviate concerns related to shared memory utilization, thereby enhancing the overall efficiency of AI art generation processes.

Key Features & Benefits

The tool offers several practical features, including the ability to function as a random seed node, which ensures consistent execution by adjusting VRAM strategies automatically. Users can also manage the reserved memory more effectively, with options to leave inputs unconnected and to utilize backend outputs for random seeds and reserved values. Additionally, the inclusion of a front-end toggle for VRAM cleanup allows users to easily reset memory settings, promoting smoother workflow execution.

Advanced Functionalities

This node introduces advanced capabilities such as the automatic mode that detects the system's used VRAM and adjusts the reserved memory accordingly, which is particularly beneficial for users running multiple processes. Furthermore, it allows for negative reserved values, enhancing the flexibility in managing memory settings. The maximum reserved value feature prevents excessive memory allocation while still allowing for effective automatic adjustments.

Practical Benefits

By implementing this tool, users can significantly enhance their workflow efficiency within ComfyUI. It provides greater control over GPU memory management, leading to improved performance and reduced risk of memory-related interruptions. The ability to dynamically adjust settings in real-time ensures that users can maximize the capabilities of their hardware while minimizing the likelihood of encountering memory issues.

Credits/Acknowledgments

The tool is developed and maintained by contributors to the ComfyUI project, with updates and enhancements provided regularly. The repository is open-source, allowing for community contributions and collaboration to improve its functionality and usability.

Inner Nodes

ReservedVRAMSetter