A lot of times when you encounter something like this,
Error occurred when executing KSampler:
Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 13.15 GiB
Requested : 1.24 GiB
Device limit : 15.73 GiB
Free (according to CUDA): 23.75 MiB
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB
Solutions:
- Try a bigger machine, 16GB VRAM → 24GB VRAM → 48GB VRAM
- Reduce input image/video resolution
- Reduce upscale factors