comfyanonymous and GitHub
65cfcf5b1b
New Year ruff cleanup. ( #11595 )
2026-01-01 22:06:14 -05:00
comfyanonymous and GitHub
1bdc9a947f
Remove duplicate import of model_management ( #11587 )
2025-12-31 19:29:55 -05:00
comfyanonymous and GitHub
d622a61874
Refactor: move clip_preprocess to comfy.clip_model ( #11586 )
2025-12-31 17:38:36 -05:00
comfyanonymous and GitHub
0e6221cc79
Add some warnings for pin and unpin errors. ( #11561 )
2025-12-29 18:26:42 -05:00
comfyanonymous and GitHub
8fd07170f1
Comment out unused norm_final in lumina/z image model. ( #11545 )
2025-12-28 22:07:25 -05:00
comfyanonymous and GitHub
2943093a53
Enable async offload by default for AMD. ( #11534 )
2025-12-27 18:54:15 -05:00
comfyanonymous and GitHub
1e4e342f54
Fix noise with ancestral samplers when inferencing on cpu. ( #11528 )
2025-12-26 22:03:01 -05:00
comfyanonymous and GitHub
d9a76cf66e
Specify in readme that we only support pytorch 2.4 and up. ( #11512 )
2025-12-25 23:46:51 -05:00
comfyanonymous and GitHub
532e285079
Add a ManualSigmas node. ( #11499 )
...
Can be used to manually set the sigmas for a model.
This node accepts a list of integer and floating point numbers separated
with any non numeric character.
2025-12-24 19:09:37 -05:00
comfyanonymous and GitHub
33aa808713
Make denoised output on custom sampler nodes work with nested tensors. ( #11471 )
2025-12-22 16:43:24 -05:00
comfyanonymous and GitHub
91bf6b6aa3
Add node to create empty latents for qwen image layered model. ( #11460 )
2025-12-21 19:59:40 -05:00
comfyanonymous and GitHub
807538fe6c
Core release process. ( #11447 )
2025-12-20 20:02:02 -05:00
comfyanonymous and GitHub
fb478f679a
Only apply gemma quant config to gemma model for newbie. ( #11436 )
2025-12-20 01:02:43 -05:00
comfyanonymous and GitHub
31e961736a
Fix issue with batches and newbie. ( #11435 )
2025-12-20 00:23:51 -05:00
comfyanonymous and GitHub
3ab9748903
Disable prompt weights on newbie te. ( #11434 )
2025-12-20 00:19:47 -05:00
comfyanonymous and GitHub
809ce68749
Support nested tensor denoise masks. ( #11431 )
2025-12-19 19:59:25 -05:00
comfyanonymous and GitHub
894802b0f9
Add LatentCutToBatch node. ( #11411 )
2025-12-18 22:21:40 -05:00
comfyanonymous and GitHub
28eaab608b
Diffusion model part of Qwen Image Layered. ( #11408 )
...
Only thing missing after this is some nodes to make using it easier.
2025-12-18 20:21:14 -05:00
comfyanonymous and GitHub
6a2678ac65
Trim/pad channels in VAE code. ( #11406 )
2025-12-18 18:22:38 -05:00
comfyanonymous and GitHub
e4fb3a3572
Support loading Wan/Qwen VAEs with different in/out channels. ( #11405 )
2025-12-18 17:45:33 -05:00
comfyanonymous and GitHub
bf7dc63bd6
skip_load_model -> force_full_load ( #11390 )
...
This should be a bit more clear and less prone to potential breakage if the
logic of the load models changes a bit.
2025-12-17 23:29:32 -05:00
comfyanonymous and GitHub
16d85ea133
Better handle torch being imported by prestartup nodes. ( #11383 )
2025-12-17 19:43:18 -05:00
comfyanonymous and GitHub
ffdd53b327
Check state dict key to auto enable the index_timestep_zero ref method. ( #11362 )
2025-12-16 17:03:17 -05:00
comfyanonymous and GitHub
bc606d7d64
Add a way to set the default ref method in the qwen image code. ( #11349 )
2025-12-16 01:26:55 -05:00
comfyanonymous and GitHub
645ee1881e
Inpainting for z image fun control. Use the ZImageFunControlnet node. ( #11346 )
...
image -> control image ex: pose
inpaint_image -> image for inpainting
mask -> inpaint mask
2025-12-15 23:38:12 -05:00
comfyanonymous and GitHub
683569de55
Only enable fp16 on ZImage on newer pytorch. ( #11344 )
2025-12-15 22:33:27 -05:00
comfyanonymous and GitHub
41bcf0619d
Add code to detect if a z image fun controlnet is broken or not. ( #11341 )
2025-12-15 20:51:06 -05:00
comfyanonymous and GitHub
70541d4e77
Support the new qwen edit 2511 reference method. ( #11340 )
...
index_timestep_zero can be selected in the
FluxKontextMultiReferenceLatentMethod now with the display name set to the
more generic "Edit Model Reference Method" node.
2025-12-15 19:20:34 -05:00
comfyanonymous and GitHub
5cb1e0c9a0
Disable guards on transformer_options when torch.compile ( #11317 )
2025-12-15 16:49:29 -05:00
comfyanonymous and GitHub
5ac3b26a7d
Update warning for old pytorch version. ( #11319 )
...
Versions below 2.4 are no longer supported. We will not break support on purpose but will not fix it if we do.
2025-12-14 04:02:50 -05:00
comfyanonymous and GitHub
971cefe7d4
Fix pytorch warnings. ( #11314 )
2025-12-13 18:45:23 -05:00
comfyanonymous and GitHub
da2bfb5b0a
Basic implementation of z image fun control union 2.0 ( #11304 )
...
The inpaint part is currently missing and will be implemented later.
I think they messed up this model pretty bad. They added some
control_noise_refiner blocks but don't actually use them. There is a typo
in their code so instead of doing control_noise_refiner -> control_layers
it runs the whole control_layers twice.
Unfortunately they trained with this typo so the model works but is kind
of slow and would probably perform a lot better if they corrected their
code and trained it again.
2025-12-13 01:39:11 -05:00
comfyanonymous and GitHub
c5a47a1692
Fix bias dtype issue in mixed ops. ( #11293 )
2025-12-12 11:49:35 -05:00
comfyanonymous and GitHub
5495589db3
Respect the dtype the op was initialized in for non quant mixed op. ( #11282 )
2025-12-11 23:32:27 -05:00
comfyanonymous and GitHub
338d9ae3bb
Make portable updater work with repos in unmerged state. ( #11281 )
2025-12-11 18:56:33 -05:00
comfyanonymous and GitHub
eeb020b9b7
Better chroma radiance and other models vram estimation. ( #11278 )
2025-12-11 17:33:09 -05:00
comfyanonymous and GitHub
ae65433a60
This only works on radiance. ( #11277 )
2025-12-11 17:15:00 -05:00
comfyanonymous and GitHub
fdebe18296
Fix regular chroma radiance ( #11276 )
2025-12-11 17:09:35 -05:00
comfyanonymous and GitHub
f8321eb57b
Adjust memory usage factor. ( #11257 )
2025-12-11 01:30:31 -05:00
comfyanonymous and GitHub
17c92a9f28
Tweak Z Image memory estimation. ( #11254 )
2025-12-10 19:59:48 -05:00
comfyanonymous and GitHub
791e30ff50
Fix nan issue when quantizing fp16 tensor. ( #11213 )
2025-12-09 17:03:21 -05:00
comfyanonymous and GitHub
d50f342c90
Fix potential issue. ( #11201 )
2025-12-08 23:20:04 -05:00
comfyanonymous and GitHub
3b0368aa34
Fix regression. ( #11194 )
2025-12-08 17:38:36 -05:00
comfyanonymous and GitHub
56fa7dbe38
Properly load the newbie diffusion model. ( #11172 )
...
There is still one of the text encoders missing and I didn't actually test it.
2025-12-07 07:44:55 -05:00
comfyanonymous and GitHub
329480da5a
Fix qwen scaled fp8 not working with kandinsky. Make basic t2i wf work. ( #11162 )
2025-12-06 17:50:10 -08:00
comfyanonymous and GitHub
50ca97e776
Speed up lora compute and lower memory usage by doing it in fp16. ( #11161 )
2025-12-06 18:36:20 -05:00
comfyanonymous and GitHub
d7a0aef650
Set OCL_SET_SVM_SIZE on AMD. ( #11139 )
2025-12-06 00:15:21 -05:00
comfyanonymous and GitHub
ae676ed105
Fix regression. ( #11137 )
2025-12-05 23:01:19 -05:00
comfyanonymous and GitHub
092ee8a500
Fix some custom nodes. ( #11134 )
2025-12-05 18:25:31 -05:00
comfyanonymous and GitHub
6fd463aec9
Fix regression when text encoder loaded directly on GPU. ( #11129 )
2025-12-05 15:33:16 -05:00
comfyanonymous and GitHub
43071e3de3
Make old scaled fp8 format use the new mixed quant ops system. ( #11000 )
2025-12-05 14:35:42 -05:00
comfyanonymous and GitHub
35fa091340
Forgot to put this in README. ( #11112 )
2025-12-04 22:52:09 -05:00
comfyanonymous and GitHub
ea17add3c6
Fix case where text encoders where running on the CPU instead of GPU. ( #11095 )
2025-12-03 23:15:15 -05:00
comfyanonymous and GitHub
ecdc8697d5
Qwen Image Lora training fix from #11090 ( #11094 )
2025-12-03 22:49:28 -05:00
comfyanonymous and GitHub
861817d22d
Fix issue with portable updater. ( #11070 )
...
This should fix the problem with the portable updater not working with portables created from a separate branch on the repo.
This does not affect any current portables who were all created on the master branch.
2025-12-03 00:47:51 -05:00
comfyanonymous and GitHub
b94d394a64
Support Z Image alibaba pai fun controlnets. ( #11062 )
...
These are not actual controlnets so put it in the models/model_patches
folder and use the ModelPatchLoader + QwenImageDiffsynthControlnet node to
use it.
2025-12-02 21:38:31 -05:00
comfyanonymous and GitHub
daaceac769
Hack to make zimage work in fp16. ( #11057 )
2025-12-02 17:11:58 -05:00
comfyanonymous and GitHub
878db3a727
Implement the Ovis image model. ( #11030 )
2025-12-01 20:56:17 -05:00
comfyanonymous and GitHub
2640acb31c
Update qwen tokenizer to add qwen 3 tokens. ( #11029 )
...
Doesn't actually change anything for current workflows because none of the
current models have a template with the think tokens.
2025-12-01 17:13:48 -05:00
comfyanonymous and GitHub
f8b981ae9a
Next AMD portable will have pytorch with ROCm 7.1.1 ( #11002 )
2025-11-30 04:21:31 -05:00
comfyanonymous and GitHub
0a6746898d
Make the ScaleRope node work on Z Image and Lumina. ( #10994 )
2025-11-29 18:00:55 -05:00
comfyanonymous and GitHub
5151cff293
Add some missing z image lora layers. ( #10980 )
2025-11-28 23:55:00 -05:00
comfyanonymous and GitHub
52a32e2b32
Support some z image lora formats. ( #10978 )
2025-11-28 21:12:42 -05:00
comfyanonymous and GitHub
065a2fbbec
Update driver link in AMD portable README ( #10974 )
2025-11-28 19:37:39 -05:00
comfyanonymous and GitHub
f55c98a89f
Disable offload stream when torch compile. ( #10961 )
2025-11-28 16:16:46 -05:00
comfyanonymous and GitHub
9d8a817985
Enable async offloading by default on Nvidia. ( #10953 )
...
Add --disable-async-offload to disable it.
If this causes OOMs that go away when you --disable-async-offload please
report it.
2025-11-27 17:46:12 -05:00
comfyanonymous and GitHub
eaf68c9b5b
Make lora training work on Z Image and remove some redundant nodes. ( #10927 )
2025-11-26 19:25:32 -05:00
comfyanonymous and GitHub
dd41b74549
Add Z Image to readme. ( #10924 )
2025-11-26 15:36:38 -05:00
comfyanonymous and GitHub
55f654db3d
Fix the CSP offline feature. ( #10923 )
2025-11-26 15:16:40 -05:00
comfyanonymous and GitHub
f16219e3aa
Add cheap latent preview for flux 2. ( #10907 )
...
Thank you to the person who calculated them. You saved me a percent of my
time.
2025-11-26 04:00:43 -05:00
comfyanonymous and GitHub
58b8574661
Fix Flux2 reference image mem estimation. ( #10905 )
2025-11-26 02:36:19 -05:00
comfyanonymous and GitHub
bdb10a583f
Fix loras not working on mixed fp8. ( #10899 )
2025-11-26 00:07:58 -05:00
comfyanonymous and GitHub
0e24dbb19f
Adjustments to Z Image. ( #10893 )
2025-11-25 19:02:51 -05:00
comfyanonymous and GitHub
e9aae31fa2
Z Image model. ( #10892 )
2025-11-25 18:41:45 -05:00
comfyanonymous and GitHub
d196a905bb
Lower vram usage for flux 2 text encoder. ( #10887 )
2025-11-25 14:58:39 -05:00
comfyanonymous and GitHub
dff996ca39
Fix crash. ( #10885 )
2025-11-25 14:30:24 -05:00
comfyanonymous and GitHub
af81cb962d
Add Flux 2 support to README. ( #10882 )
2025-11-25 11:40:32 -05:00
comfyanonymous and GitHub
6b573ae0cb
Flux 2 ( #10879 )
2025-11-25 10:50:19 -05:00
comfyanonymous and GitHub
015a0599d0
I found a case where this is needed ( #10875 )
2025-11-25 03:23:19 -05:00
comfyanonymous and GitHub
acfaa5c4a1
Don't try fp8 matrix mult in quantized ops if not supported by hardware. ( #10874 )
2025-11-25 02:55:49 -05:00
comfyanonymous and GitHub
b6805429b9
Allow pinning quantized tensors. ( #10873 )
2025-11-25 02:48:20 -05:00
comfyanonymous and GitHub
25022e0b09
Cleanup and fix issues with text encoder quants. ( #10872 )
2025-11-25 01:48:53 -05:00
comfyanonymous and GitHub
22a2644e57
Bump transformers version in requirements.txt ( #10869 )
2025-11-24 19:45:54 -05:00
comfyanonymous and GitHub
cbd68e3d58
Add better error message for common error. ( #10846 )
2025-11-23 04:55:22 -05:00
comfyanonymous and GitHub
d89c29f259
Add display names to Hunyuan latent video nodes. ( #10837 )
2025-11-22 22:51:53 -05:00
comfyanonymous and GitHub
532938b16b
--disable-api-nodes now sets CSP header to force frontend offline. ( #10829 )
2025-11-21 17:51:55 -05:00
comfyanonymous and GitHub
3398123752
Fix wrong path. ( #10821 )
2025-11-20 23:39:37 -05:00
943b3b615d
HunyuanVideo 1.5 ( #10819 )
...
* init
* update
* Update model.py
* Update model.py
* remove print
* Fix text encoding
* Prevent empty negative prompt
Really doesn't work otherwise
* fp16 works
* I2V
* Update model_base.py
* Update nodes_hunyuan.py
* Better latent rgb factors
* Use the correct sigclip output...
* Support HunyuanVideo1.5 SR model
* whitespaces...
* Proper latent channel count
* SR model fixes
This also still needs timesteps scheduling based on the noise scale, can be used with two samplers too already
* vae_refiner: roll the convolution through temporal
Work in progress.
Roll the convolution through time using 2-latent-frame chunks and a
FIFO queue for the convolution seams.
* Support HunyuanVideo15 latent resampler
* fix
* Some cleanup
Co-Authored-By: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com >
* Proper hyvid15 I2V channels
Co-Authored-By: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com >
* Fix TokenRefiner for fp16
Otherwise x.sum has infs, just in case only casting if input is fp16, I don't know if necessary.
* Bugfix for the HunyuanVideo15 SR model
* vae_refiner: roll the convolution through temporal II
Roll the convolution through time using 2-latent-frame chunks and a
FIFO queue for the convolution seams.
Added support for encoder, lowered to 1 latent frame to save more
VRAM, made work for Hunyuan Image 3.0 (as code shared).
Fixed names, cleaned up code.
* Allow any number of input frames in VAE.
* Better VAE encode mem estimation.
* Lowvram fix.
* Fix hunyuan image 2.1 refiner.
* Fix mistake.
* Name changes.
* Rename.
* Whitespace.
* Fix.
* Fix.
---------
Co-authored-by: kijai <40791699+kijai@users.noreply.github.com >
Co-authored-by: Rattus <rattus128@gmail.com >
2025-11-20 22:44:43 -05:00
comfyanonymous and GitHub
f5e66d5e47
Fix ImageBatch with different channel count. ( #10815 )
2025-11-20 15:08:03 -05:00
comfyanonymous and GitHub
cb96d4d18c
Disable workaround on newer cudnn. ( #10807 )
2025-11-19 23:56:23 -05:00
comfyanonymous and GitHub
7601e89255
Fix workflow name. ( #10806 )
2025-11-19 20:17:15 -05:00
comfyanonymous and GitHub
17027f2a6a
Add a way to disable the final norm in the llama based TE models. ( #10794 )
2025-11-18 22:36:03 -05:00
comfyanonymous and GitHub
d526974576
Fix hunyuan 3d 2.0 ( #10792 )
2025-11-18 16:46:19 -05:00
comfyanonymous and GitHub
47bfd5a33f
Native block swap custom nodes considered harmful. ( #10783 )
2025-11-18 00:26:44 -05:00
comfyanonymous and GitHub
f41e5f398d
Update README with new portable download link ( #10778 )
2025-11-17 19:59:19 -05:00
comfyanonymous and GitHub
27cbac865e
Add release workflow for NVIDIA cu126 ( #10777 )
2025-11-17 19:04:04 -05:00
comfyanonymous and GitHub
7d6103325e
Change ROCm nightly install command to 7.1 ( #10764 )
2025-11-16 03:01:14 -05:00
comfyanonymous and GitHub
bd01d9f7fd
Add left padding support to tokenizers. ( #10753 )
2025-11-15 06:54:40 -05:00
comfyanonymous and GitHub
443056c401
Fix custom nodes import error. ( #10747 )
...
This should fix the import errors but will break if the custom nodes actually try to use the class.
2025-11-14 03:26:05 -05:00
comfyanonymous and GitHub
f60923590c
Use same code for chroma and flux blocks so that optimizations are shared. ( #10746 )
2025-11-14 01:28:05 -05:00