comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
51.14k stars 5.38k forks source link

Tiled Sampler for FLUX #4955

Open VladimirNCh opened 4 days ago

VladimirNCh commented 4 days ago

Your question

Is there a node for FLUX that supports TiledSampler? The ones I've tried don't work with UNet models, and this could help generate larger images on weak graphics cards.

I have a Quadro K620 with 2GB of video memory and 16GB RAM and it is not possible to make changes to the configuration of this computer.

Model: Flux1-schnell. The maximum resolution I manage to generate is 768x1024 or 1024x768. Although the generation is very slow (20 minutes for 5 steps), but it is enough for my needs img_00024_

Logs

No response

Other

No response

Poukpalaova commented 3 days ago

Your question

Is there a node for FLUX that supports TiledSampler? The ones I've tried don't work with UNet models, and this could help generate larger images on weak graphics cards.

I have a Quadro K620 with 2GB of video memory and 16GB RAM and it is not possible to make changes to the configuration of this computer.

Model: Flux1-schnell. The maximum resolution I manage to generate is 768x1024 or 1024x768. Although the generation is very slow (20 minutes for 5 steps), but it is enough for my needs img_00024_

Logs

No response

Other

No response

use those node image

camoody1 commented 2 days ago

@Poukpalaova The OP is asking to help on weaker GPUs. I don't think suggesting a 6GB ControlNet model is really the help that he needs.

Adreitz commented 35 minutes ago

Flux doesn't really need a controlnet to do tiled upscaling. You can get very coherent results just using Ultimate SD Upscale node and a low denoise strength of about 0.20. If a particular prompt and seed has visible seams or hallucinations, you can instead use this tiled diffusion node that supports multiple different algorithms: https://github.com/shiimizu/ComfyUI-TiledDiffusion. For me, Mixture of Diffusers with a tile overlap of 64 seems to work pretty well. It is slower than Ultimate SD Upscale, though.