22 Commits
Author SHA1 Message Date
rickyarsandClaude Sonnet 5 e24d764a8e fix: quadtree_density saturation, seed overflow, seam/noise bugs
quadtree_density used a count-percentile threshold that guaranteed a
fixed hot fraction on any canvas, saturating scores to 1.0 regardless
of content. Redesigned around a value threshold interpolated across
the canvas's own p05-p95 block energy range, normalized to p95 tile
coverage. Validated against real VAE latents: healthy 0-1 spread,
stable across split_percentile 0.3-0.8.

Also fixes: seed+tile_idx overflow past torch's 64-bit seed range,
identical noise across tiles in the advanced node (NOISE objects
reuse a single stored seed), unfeathered seams when the clamped last
tile's overlap exceeds the configured overlap, avg_pool2d crash on
tiny latents, dropped noise_mask/batch_index in output latents, and
an overly-broad pytest import guard in __init__.py.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-02 20:51:18 -05:00
rickyarsandClaude Fable 5 8e208ff394 refactor: dead-code removal, dedupe, detailer parity, perf tuning
- Delete unused guider_utils.py, gaussian_blend_tiles, resize_mask_to_latent
  (and its test); drops the numpy dependency from utils
- Extract the duplicated neighbour-copy block from node.py/node_advanced.py
  into build_working_tensor() in image_utils
- Port 5D video-latent handling and fix_empty_latent_channels from the
  adaptive detailer to LLMTileSequentialDetailer
- Throttle soft_empty_cache to every 4 tiles (plus a final flush)
- Run the quadtree scorer on CPU to avoid per-region GPU syncs
- Stub fix_empty_latent_channels in conftest (restores 5 failing tests)
- Ignore .claude/ and pytest cache dirs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 15:13:54 -05:00
rickyarsandClaude Opus 4.8 7243348387 feat: multi-model tile coherence (SDXL/Flux ControlNet + z-image model patch)
Generator nodes dispatch seam coherence by wired input: a ControlNet
(SDXL/Flux conditioning path) or a DiffSynth/Fun inpaint model patch
(z-image/Qwen), sharing neighbor-pixel context and a keep-mask. Empty
latents are resized to the model channel count so 16ch/video-format
models (Flux, Krea2/Wan21, z-image) work. Adaptive detailer handles
5D single-frame video latents. README documents both coherence paths.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 21:40:08 -05:00
rickyars 6d4ee9f55b fix: remove dead guider imports, dead noise branch, guard single-tile seamless warning 2026-04-23 09:13:34 -05:00
rickyars bd5dde7593 feat: expanded canvas generation + correct extraction in node_advanced.py 2026-04-23 09:09:47 -05:00
rickyarsandClaude Sonnet 4.6 32b1c1700f feat: replace blend_tile_into_canvas with blend_and_place_tile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 08:53:57 -05:00
rickyars 445f20167f feat: fixed-size tiles + Gaussian blend at seams, drop canvas growth 2026-04-21 21:36:36 -05:00
rickyars b7a37a8cc3 fix: revert per-tile CLIP encoding — shared neg_cond corrupts SDXL pooled_output across tiles 2026-04-20 11:06:23 -05:00
rickyars d3ac199e1f fix: revert latent seeding — zeros+ControlNet was the working baseline 2026-04-20 10:56:42 -05:00
rickyars f03df06872 refactor: extract resize_mask_to_latent to utils, remove WHAT comments 2026-04-19 22:41:57 -05:00
rickyars c1d494027a perf: pre-encode all tile conditionings before generation loop 2026-04-19 22:38:36 -05:00
rickyars 6b6bf04181 feat: fix latent seeding and wire outpaint_mask in advanced node 2026-04-19 22:08:35 -05:00
rickyars b34866f096 feat: make controlnet optional in advanced node 2026-04-19 22:08:11 -05:00
madmodder123 8f8a66dfd2 Tooltip 2025-06-24 04:12:47 -07:00
madmodder123 5c08fd00f4 Init 2025-06-24 02:57:38 -07:00
rickyars 6ae3b6e19c okay - still broken
the global prompt is being overwritten but at least this produces results. will keep investigating.
2025-06-05 16:15:10 -05:00
rickyars f463e2e506 fix error in advanced model 2025-06-05 15:58:19 -05:00
rickyars 3c6f778dd6 clean up
the regional node idea didn't work
2025-06-03 20:08:20 -05:00
rickyars ac1fdd827b do the same for the advanced node
updated the tiling logic to improve seams
2025-06-03 07:34:52 -05:00
rickyars c421531a32 version bump
i'm trying to improve the tiled diffusion - these changes in node and node advanced are to ensure that final output is always tile width * grid width by tile height * grid height. i'm also starting work on a new tiled diffusion upscaler.
2025-05-26 15:28:21 -05:00
rickyars 77c52c2059 fixes to the advanced version
we needed to fix the controlnets in the advance version. along the way we cleaned up some of the code in the basic node.
2025-05-18 17:32:31 -05:00
rickyars df27d68048 trying to using guiders and sigmas 2025-05-17 17:22:12 -05:00