Nodes/MD Nodes/MD: LLM VRAM Manager
ComfyUI Node

MD: LLM VRAM Manager

A ComfyUI node in MD_Nodes/Utility with 7 inputs and 5 outputs.

By MDMAchine·Created about a year ago·Updated 2 months ago· 14
MD: LLM VRAM Manager
  • pass_through
  • image_in
  • latent_in
  • pass_through
  • status
  • seed_out
  • image_out
  • latent_out
actionNone (Do Nothing)
triggertrue
seed_in0
debug_mode0 - Silent
CategoryMD_Nodes/Utility

Inputs (7)

NameTypeDefaultDescription
actionCOMBONone (Do Nothing)ACTION TO PERFORM • Purpose: Select the operation to free up LLM VRAM. • Options: API unloads (graceful) or Process Kills (forceful). • Trade-offs: Force stops are abrupt but guaranteed to clear memory. ⭐ Recommended: Try API methods first before resorting to force stops.
triggerBOOLEANtrueENABLE ACTION TRIGGER • Purpose: Master switch for the node's destructive actions. • Options: True executes the action; False makes the node a passive pass-through. ⭐ Recommended: True.
pass_throughopt*PASS-THROUGH (Generic) • Purpose: Connect any generic data type here to enforce workflow execution order.
seed_inoptINT00–18446744073709550000PASS-THROUGH (Seed) • Purpose: Pass an integer/seed safely through the node to control execution order.
image_inoptIMAGEPASS-THROUGH (Image) • Purpose: Pass an image tensor safely through the node.
latent_inoptLATENTPASS-THROUGH (Latent) • Purpose: Pass a latent dictionary safely through the node.
debug_modeoptCOMBO0 - SilentLOGGING VERBOSITY • Controls console output and System/IO profiling.

Outputs (5)

NameTypeDescription
pass_through*
statusSTRING
seed_outINT
image_outIMAGE
latent_outLATENT