Files
Martin Rizzo 55a7528576 chore: Add Open Web-UI script to release ComfyUI VRAM before LLM execution
The commit adds `scripts/OpenWebUI__comfyui_vram_unloaded.py`, a "function"
for Open-WebUI designed to trigger ComfyUI to release its VRAM allocation
immediately before using an LLM.

The goal is to free VRAM while keeping model weights in system RAM, enabling
ultra-fast reloads on subsequent runs. Multiple independent release methods
are provided within the script, but achieving the intended behavior has proven
difficult due to ComfyUI's internal caching and OS-level memory management.

Although not used for personal workflows, the script is left in the repository
for others who may find it useful or be able to optimize it further.
2026-10-03 22:37:24 -03:00
..