clear_vram
Frees GPU VRAM by unloading cached models from ComfyUI. Use when switching model families (e.g., SDXL to Flux) 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) |