shiimizu / ComfyUI-TiledDiffusion

Tiled Diffusion, MultiDiffusion, Mixture of Diffusers, and optimized VAE
294 stars 21 forks source link

[RuntimeError: Size of tensors... & Input and output sizes... ]. #4

Closed MrDravcan closed 8 months ago

MrDravcan commented 8 months ago

When using Tiled Diffusion together with ControlNet (advanced) and preprocessor, there is an error that I can't figure out. Do the options of this node need to be adjusted accordingly so that the values are read correctly? Is the preprocessor resolution somehow being passed to ControlNet and then to KSampler and causing a conflict with Tiled node?

Full error logs: Whenever "tile_batch_size" is set to more than 1 and a preprocessed image (for example LineArt preprocessor) enters ControlNet as input image, this error pops up.

RuntimeError: Sizes of tensors must match except in dimension 0. Sizes of tensors.txt

"Tile_batch_size" = 1, input Controlnet from preprocessor. Same story. 👇🏻

RuntimeError: Input and output sizes should be greater than 0, but got input (H: 0, W: 0) output (H: 544, W: 960) Input & output.txt