rupeshs / fastsdcpu

Fast stable diffusion on CPU
MIT License
1.51k stars 123 forks source link

Abort tiled upscale if using OpenVINO #129

Closed monstruosoft closed 10 months ago

monstruosoft commented 10 months ago

It seems the error when using tiled upscale with OpenVINO models is related to the output resolution for the generated images; the current code for tiled upscale uses arbitrary resolutions, which is not really compatible with OpenVINO anyway given that OpenVINO models have to be recompiled whenever output resolution changes; with the current tiled upscale code, OpenVINO models would require recompilation at every tile generation.

So, for the time being, it's best to abort execution of the tiled upscale when the _useopenvino argument is set.