[ ] The issue exists after disabling all extensions
[ ] The issue exists on a clean installation of webui
[ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
[X] The issue exists in the current version of the webui
[ ] The issue has not been reported before recently
[ ] The issue has been reported before but has not been fixed yet
What happened?
When dealing with intermediate image sizes such as upscaling 1248×1248 by 1.5 times, Controlllite throws a NoneType object error. This issue occurs around line 234 in torch.cat within extensions-builtin/sd_forge_controlllite/lib_controllllite/lib_controllllite.py due to a mismatch in tensor sizes between cx and x.
I resolved this by using padding as a simple fix. While padding may affect the performance of the generated images, it is less problematic than having Controlllite not function at all. Here is the code:
Checklist
What happened?
When dealing with intermediate image sizes such as upscaling 1248×1248 by 1.5 times, Controlllite throws a NoneType object error. This issue occurs around line 234 in torch.cat within extensions-builtin/sd_forge_controlllite/lib_controllllite/lib_controllllite.py due to a mismatch in tensor sizes between cx and x. I resolved this by using padding as a simple fix. While padding may affect the performance of the generated images, it is less problematic than having Controlllite not function at all. Here is the code:
Steps to reproduce the problem
1.5x upscaling of a 1248x1248 image using the controllllite model for img2img.
What should have happened?
controllllite should have worked.
What browsers do you use to access the UI ?
No response
Sysinfo
sysinfo-2024-05-29-09-21.json
Console logs
Additional information
invoking it from EasySdxlWebUi