shiimizu/ComfyUI-TiledDiffusion
shiimizu/ComfyUI-TiledDiffusion has 545 GitHub stars and 66 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-09 11:23 UTC. Last push 2025-03-18.
Tiled Diffusion, MultiDiffusion, Mixture of Diffusers, and optimized VAE
What you can do
- SD1.x, SD2.x, SDXL, SD3
- ControlNet support
- StableSR support
- Tiled Noise Inversion
Measured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalTiled Diffusion & VAE for ComfyUI
Check out the SD-WebUI extension for more information.
This extension enables large image drawing & upscaling with limited VRAM via the following techniques:
- Reproduced SOTA Tiled Diffusion methods
- pkuliyi2015 & Kahsolt's Tiled VAE algorithm
- pkuliyi2015 & Kahsolt's TIled Noise Inversion method
[!NOTE]
Sizes/dimensions are in pixels and then converted to latent-space sizes.
Features
- Supported models
- SD1.x, SD2.x, SDXL, SD3
- FLUX
- ControlNet support
- StableSR support
- Tiled Noise Inversion
- Tiled VAE
- Regional Prompt Control
- Img2img upscale
- Ultra-Large image generation
Tiled Diffusion
[!TIP]
- Set
tile_overlapto 0 anddenoiseto 1 to see the tile seams and then adjust the options to your needs.- Increase
tile_batch_sizeto increase speed (if your machine can handle it).- Use the colorfix node if your colors look off.
Options
| Name | Description |
|---|---|
method |
Tiling strategy. |
tile_width |
Tile's width |
tile_height |
Tile's height |
tile_overlap |
Tile's overlap |
tile_batch_size |
The number of tiles to process in a batch |
How can I specify the tiles' arrangement?
If you have the Math Expression node (or something similar), you can use that to pass in the latent that's passed in your KSampler and divide the tile_height/tile_width by the number of rows/columns you want.
C = number of columns you wantR = number of rows you want
pixel width of input image or latent // C = tile_widthpixel height of input image or latent // R = tile_height
SpotDiffusion
A tiling algorithm that attempts to eliminate seams by randomly shifting the denoise window per timestep. It is mainly used for fast inferences by setting tile_overlap to 0; otherwise, it's better to stick with the other tiling strategies as they produce better outputs.
This additional feature is experimental, in testing, and subject to change.
Tiled VAE
The recommended tile sizes are given upon the creation of the node based on the available VRAM.
[!NOTE]
Enablingfastfor the decoder may produce images with slightly higher contrast and brightness.
Options
| Name | Description |
|---|---|
tile_size |
The image is split into tiles, which are then padded with 11/32 pixels' in the decoder/encoder. |
fast |
|
color_fix |
Only estimate GroupNorm before downsampling, i.e., run in a semi-fast mode. Only for the encoder. Can restore colors if tiles are too small. |
Workflows
The following images can be loaded in ComfyUI.
Simple upscale.
4x upscale. 3 passes.
License
Great thanks to all the contributors! 🎉🎉🎉
The implementation of MultiDiffusion, Mixture of Diffusers, and Tiled VAE code is currently under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License since it was borrowed from the wonderful SD-WebUI extension. Anything else GPLv3.
Citation
@article{jimenez2023mixtureofdiffusers,
title={Mixture of Diffusers for scene composition and high resolution image generation},
author={Álvaro Barbero Jiménez},
journal={arXiv preprint arXiv:2302.02412},
year={2023}
}
@article{bar2023multidiffusion,
title={MultiDiffusion: Fusing Diffusion Paths for Controlled Image Generation},
author={Bar-Tal, Omer and Yariv, Lior and Lipman, Yaron and Dekel, Tali},
journal={arXiv preprint arXiv:2302.08113},
year={2023}
}
Explore related projects
ytdl-org/youtube-dl
Command-line program to download videos from YouTube.com and other video sites
141,500 starsexcalidraw/excalidraw
Virtual whiteboard for sketching hand-drawn like diagrams
135,396 starsgodotengine/godot
Godot Engine – Multi-platform 2D and 3D game engine
119,840 starsmrdoob/three.js
JavaScript 3D Library.
117,905 stars