rupeshs / fastsdcpu

Fast stable diffusion on CPU
MIT License
1k stars 87 forks source link

Abort tiled upscale if using OpenVINO #129

Closed monstruosoft closed 5 months ago

monstruosoft commented 5 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.