clear_vram
Free GPU VRAM by unloading cached models and intermediates from ComfyUI. Use between generation runs to prepare for different model families or when VRAM is low.
Instructions
Free GPU VRAM by unloading cached models from ComfyUI. Use this between generation runs with different model families (e.g. switching from SDXL to Flux) or when running low on VRAM. Optionally unload only models or only memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free_memory | No | Free cached memory/intermediates (default: true) | |
| unload_models | No | Unload all cached models (default: true) |