ComfyUI Node
MD: GPU Temp Protect
A ComfyUI node in MD_Nodes/Utility with 19 inputs and 5 outputs.
MD: GPU Temp Protect
- latent_in
- image_in
- audio_in
- pass_through_generic
- latent_out
- image_out
- audio_out
- passthrough_generic_out
- temp_status_string
◄enabledTrue►
◄gpu_id0►
◄sleep_temp79►
◄wake_temp65►
◄min_interval5►
◄sleep_time5.0►
◄max_sleep_time180►
◄print_enabledTrue►
◄show_all_gpusFalse►
◄monitor_memoryTrue►
◄show_statsFalse►
◄cooling_profilebalanced►
◄adaptive_coolingTrue►
◄log_enabledFalse►
◄debug_mode0 - Silent►
CategoryMD_Nodes/Utility
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| enabled | COMBO | True | ENABLE PROTECTION • Purpose: Master switch for hardware protection logic. ⭐ Recommended: True |
| gpu_id | INT | 00–15 | GPU ID • Purpose: Target specific GPU via nvidia-smi indexing. • Range: 0 to 15. ⭐ Recommended: 0 for single-GPU systems. |
| sleep_temp | INT | 7940–110 | SLEEP THRESHOLD • Purpose: Temperature (°C) that triggers a queue pause. • Trade-offs: Lower values protect hardware but interrupt renders more often. ⭐ Recommended: 79 |
| wake_temp | INT | 6530–100 | WAKE THRESHOLD • Purpose: Temperature (°C) at which the queue resumes. • Note: Must be lower than sleep_temp. ⭐ Recommended: 65 |
| min_interval | INT | 51–300 | CHECK INTERVAL • Purpose: Minimum seconds between temperature checks. • Trade-offs: Frequent checks increase CPU overhead slightly. ⭐ Recommended: 5 |
| sleep_time | FLOAT | 5.00.5–60 | COOLING DURATION • Purpose: Base duration for each cooling sleep cycle (s). ⭐ Recommended: 5.0 |
| max_sleep_time | INT | 1800–3600 | MAX COOLING TIME • Purpose: Force resume after this duration (s), even if still hot. • Note: Prevents permanent workflow lockups. ⭐ Recommended: 180 |
| latent_inopt | LATENT | PASS-THROUGH (LATENT) • Connect LATENT here to enforce execution order. | |
| image_inopt | IMAGE | PASS-THROUGH (IMAGE) • Connect IMAGE here to enforce execution order. | |
| audio_inopt | AUDIO | PASS-THROUGH (AUDIO) • Connect AUDIO here to enforce execution order. | |
| pass_through_genericopt | * | PASS-THROUGH (GENERIC) • Connect any other data type here to enforce order. | |
| print_enabledopt | COMBO | True | PRINT TO CONSOLE • Purpose: Show status messages in ComfyUI console. |
| show_all_gpusopt | COMBO | False | SHOW ALL GPUS • Purpose: List temps for all detected cards in console. |
| monitor_memoryopt | COMBO | True | MONITOR VRAM • Purpose: Show VRAM usage stats in console. |
| show_statsopt | COMBO | False | SHOW STATS • Purpose: Print session summary after cooling cycles. |
| cooling_profileopt | COMBO | balanced | COOLING PROFILE • Purpose: Adjusts sleep cycle aggressiveness. • Balanced: Standard behavior. • Aggressive: Faster checks (0.5x sleep). • Conservative: Slower checks (2.0x sleep). |
| adaptive_coolingopt | COMBO | True | ADAPTIVE COOLING • Purpose: Adjust sleep time based on temp trend. • Note: Cooling fast? Sleep less. Cooling slow? Sleep more. |
| log_enabledopt | COMBO | False | CSV LOGGING • Purpose: Save temp history to /gpu_temp_logs directory. |
| debug_modeopt | COMBO | 0 - Silent | LOGGING VERBOSITY • Controls hardware I/O profiling display. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| latent_out | LATENT | — |
| image_out | IMAGE | — |
| audio_out | AUDIO | — |
| passthrough_generic_out | * | — |
| temp_status_string | STRING | — |