Pause image generation when GPU temperature exceeds threshold.
this extension uses nvidia-smi to monitor GPU temperature at the end of each step, if temperature exceeds threshold pause image generation until criteria are met.
Nvidia GPU
You can install this custom node in two ways:
The first (recommended) way is to search for "GPU temperature protection" in ComfyUI Manager and install it from there.
Alternatively, you can clone the repository using Git or download it, and then simply copy the node files to: ComfyUI\custom_nodes\ComfyUI-GPU-temperature-protection
.
https://github.com/meap158/ComfyUI-GPU-temperature-protection.git
GPU temperature monitor minimum interval
0
well effectively disable this extensionGPU sleep temperature
GPU wake temperature
GPU sleep temperature
will effectively disable thisSleep Time
Max sleep Time
GPU wake temperature
after the allotted time has passed0
disable this limit allowing it to pause indefinitelyPrint GPU Core temperature while sleeping in terminal
To use this custom node (located under the "utils" submenu), simply connect it to a node with the output being an image, such as VAE Decode as shown in the screenshot below:
<p float="left"> <img src="https://github.com/meap158/ComfyUI-GPU-temperature-protection/assets/14327094/c56fcf3c-1074-42f0-b59b-e8e9d530c2f0" width="300" /> </p>