kijai / ComfyUI-DiffusersStableCascade

Simple inference with StableCascade using diffusers in ComfyUI
305 stars 54 forks source link

[Request] Change the width and height steps to 128 #5

Closed GalaxyTimeMachine closed 8 months ago

GalaxyTimeMachine commented 8 months ago

Because of the way sizes are used in Cascade, there is an error thrown if you don't get it correct. If you change the multiple of the width and height to step in units of 128, instead of 8, then this bypasses the errors.

Example error: RuntimeError: pixel_unshuffle expects height to be divisible by downscale_factor, but input.size(-2)=277 is not divisible by 2

kijai commented 8 months ago

I was wondering what it should be, thanks, done!

GalaxyTimeMachine commented 8 months ago

Thanks! :)