clear_vram
Free GPU VRAM by unloading cached models and memory in ComfyUI, preventing out-of-memory errors when switching between model families or running multiple generations.
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) |