446 Commits

Author SHA1 Message Date
kijai
37206374ef Add nodes to assist with CUDA memory use visualization 2025-12-03 17:13:44 +02:00
Sokes
a7ce03e735
Update image_nodes.py
sorted() is needed around os.listdir for proper linux file sorting.

The reason your files are not in order is that os.listdir() returns filenames in an arbitrary order (usually based on how they are stored in the file system's inode table), not alphabetically or numerically.
On Windows, os.listdir sometimes appears sorted due to how NTFS works, but on Ubuntu (Linux), the raw directory listing is almost never sorted by name.
The Fix
You need to sort the list of files before iterating through them.
Change this line:
code
Python
for f in os.listdir(kwargs['video']):
To this:
code
Python
for f in sorted(os.listdir(kwargs['video'])):
2025-11-30 18:35:29 -05:00
kijai
f37df472df Kandinsky5 blocks for compile too 2025-11-27 17:57:52 +02:00
kijai
390d05fe7e Add generic TorchCompileModelAdvanced node to handle advanced compile options for all diffusion models
Avoids needing different nodes for different models
2025-11-27 13:59:31 +02:00
kijai
f0ed965cd9 Allow fp32 input for sageattn function 2025-11-27 13:33:41 +02:00
kijai
acdd16a973 Add NABLA_AttentionKJ
Only tested with Kadinsky5
2025-11-26 23:40:12 +02:00
kijai
4dfb85dcc5 Update nodes.py 2025-11-23 02:18:47 +02:00
kijai
8660778ea1 TTM: Rename end_steps to steps for clarity 2025-11-23 02:10:23 +02:00
kijai
3b9c1b49ab Add LatentInpaintTTM
Can be used to mimic:
https://github.com/time-to-move/TTM
2025-11-23 01:47:56 +02:00
kijai
246920d8b9 Update nodes.py 2025-11-22 17:46:28 +02:00
Jukka Seppänen
7aafce8578
Merge pull request #422 from poipoi300/main
Minor ColorMatch improvement
2025-11-22 17:43:04 +02:00
Jukka Seppänen
a4a2ecc14d
Merge pull request #432 from drozbay/pr_20251108a
DiffusionModelLoaderKJ: Allow model checkpoints to be used with extra state_dict_input
2025-11-22 17:41:41 +02:00
Jukka Seppänen
a69d7c1a95
Merge pull request #441 from Ken-g6/main
Allow SomethingToString to accept a string
2025-11-22 17:40:01 +02:00
kijai
e5935115cf Update ImageAndMaskPreview for upcoming core update
Solves https://github.com/kijai/ComfyUI-KJNodes/issues/443
2025-11-22 17:34:09 +02:00
Ken Brazier
5c0564a47f Allow SomethingToString to accept a string 2025-11-17 15:44:13 -07:00
ozbayb
3a8786c206 DiffusionModelLoaderKJ: Allow model checkpoints to be used with extra state dict input 2025-11-08 11:48:31 -07:00
kijai
be96f5c3a3 Remove prints 2025-11-05 14:13:11 +02:00
kijai
7d1fc32d6f Update model_optimization_nodes.py 2025-11-05 14:09:53 +02:00
kijai
1585f9b523 Start using core "optimized_attention_override" for sageattn patches 2025-11-05 14:05:23 +02:00
kijai
c4158590b1 Add ImageBatchExtendWithOverlap 2025-10-29 03:03:45 +02:00
poipoi300
aa89c147d0
Merge branch 'kijai:main' into main 2025-10-21 19:32:57 -04:00
poipoi300
b4af62112c Optimize colormatch processing 2025-10-21 19:31:54 -04:00
kijai
6ee278aa7d ImageResizeKJv2: Add total_pixels mode
Resizes to desired total pixel count while preserving aspect ratio
2025-10-19 14:07:15 +03:00
kijai
3af232e755 Expose force_parameter_static_shapes in some torch compile nodes 2025-10-18 00:37:58 +03:00
kijai
3fcd22f2fe Revert this for now as old workflows get validation issues... 2025-10-07 10:55:43 +03:00
kijai
9954d6b599 Update model_optimization_nodes.py 2025-10-06 21:37:56 +03:00
kijai
08164edab3 Fix sage3 for Wan 2025-10-06 21:23:47 +03:00
kijai
3aff68488f Merge branch 'pr/402' 2025-10-06 15:07:36 +03:00
kijai
ead0cce23b Some fixes/adjustments 2025-10-06 15:07:08 +03:00
kijai
b64d66404d Fix some tooltips and silence GGUF loader node definition error
In case of no ComfyUI-GGUF or WanVideoWrapper is installed, there was unnecessary error printed
2025-10-06 14:49:27 +03:00
kijai
625151d43f Update mask_nodes.py 2025-10-03 19:35:15 +03:00
kijai
fb253119ed Update mask_nodes.py 2025-10-03 19:23:27 +03:00
kijai
4d411c4593 Update mask_nodes.py 2025-10-03 19:14:27 +03:00
kijai
d1f6cf77b0 optimize draw mask on image 2025-10-03 19:06:09 +03:00
kijai
b9abf5df31 optimize blockify mask node 2025-10-03 19:01:46 +03:00
kijai
bb205d809b Update lora_nodes.py 2025-10-02 01:31:04 +03:00
kijai
ab89f1c6c9 Update model_optimization_nodes.py 2025-10-02 01:18:39 +03:00
kijai
7ce88200c7 sageattn3 2025-10-02 01:09:59 +03:00
stephennilor
629a2bf423 revert accidental change to LoadVideosFromFolder node 2025-10-01 18:41:29 +08:00
stephennilor
051c10382b add optional batching of image resizing 2025-10-01 18:12:17 +08:00
kijai
9d7af919b9 Use kornia for GPU accelerated mask dilation 2025-09-23 20:15:13 +03:00
stuttlepress
11a482d3c3 Fix LoadVideosFromFolder VHS import in Windows
VideoHelperSuite import fails on Windows even when VHS is properly
installed, due to custom node module names being stored as full file
paths for some reason.
Add fallback to sys.modules search when standard imports fail.
2025-09-23 03:39:49 -05:00
kijai
e81f33508b more robust GGUF node detection 2025-09-19 02:05:04 +03:00
kijai
00da191063 Add BlockifyMask 2025-09-18 21:55:59 +03:00
kijai
edd7994b74 GGUF loader fixes 2025-09-18 21:29:23 +03:00
kijai
9f7cf610da Update model_optimization_nodes.py 2025-09-18 18:15:35 +03:00
kijai
8d7a3a3bab Add DrawMaskOnImage 2025-09-18 18:05:34 +03:00
kijai
c2712d7781 Update model_optimization_nodes.py 2025-09-17 17:53:09 +03:00
kijai
39d152e042 Add GGUFLoaderKJ
GGUF loader to extend ComfyUI-GGUF -nodes, requires it installed.
Allows loading separate VACE GGUF modules
2025-09-17 17:50:18 +03:00
kijai
ffd4d1c908 Merge branch 'pr/331' 2025-09-16 18:23:24 +03:00