This custom node gives you total control over where your models run and where they live in memory. It solves common (OOM) errors, enables multi-GPU workflows, and fixes persistent crashes when trying to run modern workflows (like Z_Image/Flux) on CPUs or secondary GPUs.
https://github.com/FearL0rd/ComfyUI-AnyDeviceOffload
git clone https://github.com/FearL0rd/ComfyUI-AnyDeviceOffload
comfy node install ComfyUI-AnyDeviceOffload