I am not sure why running tile preprocessor in img2img (Not inpaint), with ultimate SD upscaler triggers this logic. I think you can add more logs to pinpoint which line is causing the problem. I cannot reproduce the 8s cost on my local setup though. Let's assign this to @lllyasvie...