Dr.Lt.Data and Claude
fd1b40bee5
feat: Progressive on-demand wildcard loading system
...
Implement memory-efficient progressive loading for large wildcard collections (10GB+).
Closes #1137
## Key Changes
- **LazyWildcardLoader**: On-demand loading proxy with thread-safe caching
- **Auto mode detection**: Full cache (<50MB) or on-demand (≥50MB), configurable via `wildcard_cache_limit_mb`
- **Performance**: Startup 20-60min → <1min, Memory 5-10GB → <100MB, Size calc <1sec
- **API**: `/impact/wildcards/list/loaded` - Progressive tracking endpoint
- **UI**: Real-time status (🔵 On-Demand / 🟢 Full Cache) with loaded count
- **Compatibility**: Backward compatible, all existing features work unchanged
## Implementation
- YAML pre-loaded (keys in content), TXT on-demand (path = key)
- Early termination size calculation, transitive wildcard support maintained
- 15 test files with comprehensive documentation
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-18 01:57:24 +09:00
Dr.Lt.Data
2804f7944f
bump version
2025-10-10 01:44:20 +09:00
Dr.Lt.Data
a3eb8d775f
fixed: v3 node compatibility patch - ImageUpscaleWithModel
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1116
fixed: v3 node compatilbity patch - LTXVScheduler
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1110
fixed: v3 node compatibility patch - GITSScheduler
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1106
fixed: v3 node compatibility patch - OptimalStepsScheduler
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1109
2025-10-10 01:43:28 +09:00
Dr.Lt.Data
b7cb2d0cb8
bump version
2025-10-09 11:30:24 +09:00
hcygnaw and Dr.Lt.Data
6173c0cb16
Optimize MaskListToMaskBatch ( #1084 )
...
* Optimize MaskListToMaskBatch
The complexity of the original implementation is O(n^2). Optimize it to O(n).
* Update util_nodes.py
robust mask upscale
---------
Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com >
2025-10-09 11:27:52 +09:00
Alexopus
190ca9a6fe
NthItemOfAnyList: allow negative index ( #1085 )
2025-10-09 11:00:26 +09:00
Danamir
dc304e2dff
Use a generic input value finder for wildcard populate seed input ( #1092 )
2025-10-08 12:05:07 +09:00
Dr.Lt.Data
2a23b07b2a
bump version
2025-10-08 12:00:36 +09:00
ec31d21760
Optimized SEGSPaste memory usage ( #1105 )
...
* Optimized SEGSPaste to reduce memory usage
* Optimized SEGSPaste to reduce memory usage
* Changed behavior of SAM2VideoDetectorSEGS when BBOX doesn't return any segs
* changed behavior of SegsVideoDetector again. It will now try to detect bboxes on the reversed video if no bboxes are found. It will only give up once even the reversed run doesn't yield any bboxes
* changed Videodetector behavior to predict reverse when not finding any bboxes
* Update segs_nodes.py
---------
Co-authored-by: Kaski <23-23enterprise@gmx.de >
Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com >
2025-10-08 11:53:16 +09:00
Jonas and Jonas Krauss
50736b276b
change Differential Diffusion method from apply to execute ( #1118 )
...
Co-authored-by: Jonas Krauss <jonas.krauss@stockpulse.de >
2025-10-08 11:34:53 +09:00
Dr.Lt.Data
4186fbd4f4
bump version
2025-10-01 00:59:28 +09:00
Dr.Lt.Data
7a81d5adbf
modified: Improved the behavior so that the core scheduler is retrieved dynamically instead of statically.
...
- Some nodepacks also insert custom schedulers into the scheduler.
2025-10-01 00:58:45 +09:00
Dr.Lt.Data
cb0655f9a1
fixed: Control Bridge - robust patch
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1076#issuecomment-3218327527
2025-09-25 18:32:53 +09:00
Dr.Lt.Data
f86c5afc68
fixed: switch nodes – compatibility fix from subgraph feature
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1071
2025-08-20 05:08:23 +09:00
Dr.Lt.Data
a1d8446670
fixed: switch nodes – compatibility fix from subgraph feature
...
refactor: ruff check
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1071
2025-08-19 07:01:53 +09:00
chutchatut
e22f68fb97
update node to use function under utils namespace ( #1070 )
2025-07-31 18:10:04 +09:00
Dr.Lt.Data
00c3731616
fixed: PreviewDetailerHookProvider - event loop error
2025-07-30 12:29:15 +09:00
chutchatut and Dr.Lt.Data
91c881c794
feat:added new node detailer with auto retry ( #1039 )
...
* added new node detailer with auto retry
* added modular should retry hook
---------
Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com >
2025-07-30 12:27:22 +09:00
Dr.Lt.Data
48a814315f
modified: detailer - allow 5D latent model (WAN)
...
- assuming it's a single-frame latent, not a video latent
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1066
2025-07-27 15:53:40 +09:00
Dr.Lt.Data
3d90c579e8
bump version
2025-07-25 12:35:06 +09:00
Dustin
f03dd5e79e
Fix: PreviewBridge mask editor KeyError with clipspace files + restore fresh image behavior ( #1009 )
...
* fix: Handle clipspace files in PreviewBridge mask editor and restore fresh image behavior
- Fix KeyError when using mask editor multiple times
- Add register_clipspace_image() method to detect and register clipspace files
- Resolve timing issue between frontend JS conversion and backend processing
- Restore original "fresh start" behavior for new image generations
- Clear mask cache when images/latents change to ensure clean slate for new content
- Maintain backwards compatibility with existing preview bridge functionality
- Add dual registration for clipspace paths and preview IDs
Fixes issue where second+ mask saves would fail with:
KeyError: 'clipspace/clipspace-mask-XXXXX.png [input]'
Also fixed regression where new images would retain previous masks instead of starting fresh.
* Fix restore_mask 'always' and 'if_same_size' modes in PreviewBridge
- Fixed 'always' mode to properly preserve masks when changing input images/latents
- Fixed 'if_same_size' mode to preserve masks when switching between same-sized images
- Modified cache clearing logic to preserve cache for both 'always' and 'if_same_size' modes
- Updated restoration logic to handle size comparison correctly for 'if_same_size'
This addresses the issue where masks were being cleared even when restore_mask was set to 'always' or when switching between same-sized images with 'if_same_size'.
Fixes the issue discussed in PR #1009
2025-07-25 12:34:23 +09:00
Dr.Lt.Data
e1e95c14d3
improved: Muted inputs are now allowed for Make...List and Make...Batch.
...
fixed: A bug where the number of input slots did not decrease below 3 when disconnected in `Make...List` and `Make...Batch`.
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1052
2025-07-19 20:04:46 +09:00
Dr.Lt.Data
17e0a05769
fixed: The {n$$...}` wildcard pattern was not working properly.
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1055
2025-07-19 19:09:49 +09:00
meneraing
b3a815b43d
Update impact_pack.py ( #1047 )
...
Change the scale factor step to 0.05 for better parity with "Upscale Latent By" node from ComfyUI
2025-07-16 17:51:11 +09:00
Miguel C
8ab2e168f7
fix: update mask combination to use utils module ( #1048 )
2025-07-16 16:43:57 +09:00
Dr.Lt.Data
b980035588
feat: extra schedulers - support OSS Chroma
2025-07-15 12:28:01 +09:00
Dr.Lt.Data
df330c1b06
fixed: an invalid namespace issue introduced by refactoring.
...
fixed: ruff check
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1042
2025-07-09 23:51:49 +09:00
Dr.Lt.Data
6d438d8b5d
removed: mmdet and legacy nodes
...
removed: disable.py, uninstall.py
fixed: ruff check
refactored
2025-07-08 00:15:16 +09:00
Dr.Lt.Data
7d565d1f7a
fixed: Even if the installation of the SAM2 dependency fails, the Impact Pack remains usable in a robust manner. Instead, a SAM2 installation guide is displayed.
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1035#issuecomment-3044202981
2025-07-07 22:01:45 +09:00
Dr.Lt.Data
27c5368bcc
Support SAM2 models.
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/684
2025-07-07 00:34:10 +09:00
Dr.Lt.Data
705698faf2
bump version
2025-06-19 12:40:42 +09:00
robo
4c292e684e
change wildcard {} regex to allow escaping ( #968 )
2025-06-19 12:39:06 +09:00
Dr.Lt.Data
65f1363a10
feat: LamaRemoverDetailerHookProvider is added
2025-06-17 23:40:50 +09:00
Dr.Lt.Data
f57d309932
fixed: avoid potential conflict
...
- If everything is working as expected, this conflict shouldn't occur. However, some node pack might be adding the `impact` module to `sys.path`.
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1022
2025-06-17 00:46:43 +09:00
NicolasKlenert
6ccf9bab68
fixed: SegmDetectorCombined - incorrect empty mask dimension ( #1021 )
2025-06-16 12:34:56 +09:00
Dr.Lt.Data
ac3668d946
feat: CustomSamplerDetailerHookProvider is added
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/957
2025-06-11 21:52:25 +09:00
Emmanuel Ferdman
78d3793a77
Resolve regex library warnings ( #1011 )
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com >
2025-06-10 12:35:46 +09:00
Dr.Lt.Data
2346b67766
fixed: Switch (Any) - copy&paste error
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1012
2025-06-01 04:52:24 +09:00
Dr.Lt.Data
025db4b581
fixed: MaskRectArea - type error
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1001
2025-06-01 04:43:46 +09:00
Dr.Lt.Data
f8e16df2be
bump version
2025-05-19 08:33:30 +09:00
Dr.Lt.Data
3e3cf3a5b4
support nunchaku lora loading in the wildcard feature
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/993
2025-05-18 18:14:42 +09:00
Dr.Lt.Data
93fc248503
fixed: cannot connect wildcard input/output to the Switch / InversedSwitch nodes
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/992
2025-05-16 04:42:26 +09:00
Dr.Lt.Data
16ffa7d462
hotfix: potential front error
...
```
TypeError: Cannot read properties of undefined (reading 'type')
```
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/989
2025-05-16 03:59:10 +09:00
Dr.Lt.Data
38bb9ffdf6
fixed: Switch - buggy behavior on firefox browser
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/983#issuecomment-2833471721
2025-04-28 00:54:31 +09:00
Dr.Lt.Data
f939e66e1c
fixed: this.widgets is undefined
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/977
2025-04-27 22:16:11 +09:00
robo
b22aa90cf4
allow for .yml files in wildcards ( #966 )
...
both are valid yaml extensions so it makes sense to allow both
2025-04-25 18:50:40 +09:00
Dr.Lt.Data
d18aaecb93
bump version
2025-04-25 18:46:18 +09:00
だにえる
a7840b4fbf
feat: tensor_paste supports RGBA images with alpha channel blending ( #962 )
...
This enhancement adds support for properly handling RGBA images in the tensor_paste function.
The previous implementation caused errors when pasting images with alpha channels.
Now the function can handle all combinations of RGB and RGBA images:
- RGB to RGB (unchanged)
- RGBA to RGBA (with proper alpha compositing)
- RGB to RGBA
- RGBA to RGB
Fix for the error: "RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 3"
2025-04-25 18:35:03 +09:00
robo
efa0cb66b2
always use impact.wildcards.process fixes server side wildcards.process not getting new wildcard_dict ( #967 )
2025-04-25 18:21:55 +09:00
Dr.Lt.Data
0b94005b1b
hotfix: impactswitch - frontend crash
...
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/970#issuecomment-2827153556
2025-04-25 08:03:20 +09:00