3344 Commits

Author SHA1 Message Date
comfyanonymous
b16e60eafd Set default context_img_len to 257 2025-04-17 12:42:34 -04:00
comfyanonymous
9601e9e909 Support loading WAN FLF model. 2025-04-17 12:04:48 -04:00
comfyanonymous
89aec08623 Don't hardcode length of context_img in wan code. 2025-04-17 06:25:39 -04:00
comfyanonymous
7223e38263 Make hidream work with any latent resolution. 2025-04-16 18:34:14 -04:00
comfyanonymous
f26cf7d5fa Limit T5 to 128 tokens for HiDream: #7620 2025-04-16 18:07:55 -04:00
comfyanonymous
5ea8378fc6 Reuse code from flux model. 2025-04-16 17:43:55 -04:00
Chenlei Hu
3bcade9e24 [Type] Mark input options NotRequired (#7614) 2025-04-16 15:41:00 -04:00
comfyanonymous
554e371cad Fix issue on old torch. 2025-04-16 04:53:56 -04:00
comfyanonymous
720a954e00 Basic support for hidream i1 model. 2025-04-15 17:35:05 -04:00
comfyanonymous
921181d22b Cleanup. 2025-04-15 12:13:28 -04:00
comfyanonymous
df67f25c28 More flexible long clip support.
Add clip g long clip support.

Text encoder refactor.

Support llama models with different vocab sizes.
2025-04-15 10:32:21 -04:00
comfyanonymous
04d5cdb6a2 add RMSNorm to comfy.ops 2025-04-14 18:00:33 -04:00
comfyanonymous
c65cfb1b53 ComfyUI version v0.3.28 2025-04-13 12:21:12 -07:00
JNP
04397c30f8 add_optimalsteps (#7584)
Co-authored-by: bebebe666 <jianningpei@tencent.com>
2025-04-12 20:33:36 -04:00
comfyanonymous
23f16630e0 Print python version in log. 2025-04-12 18:58:34 -04:00
chaObserv
c4116ffaea Add SEEDS (stage 2 & 3 DP) sampler (#7580)
* Add seeds stage 2 & 3 (DP) sampler

* Change the name to SEEDS in comment
2025-04-12 18:36:08 -04:00
Christian Byrne
db29288474 Update filter_files_content_types to support filtering 3d models (#7572)
* support 3d model filtering

* fix lint error: blank line contains whitespace

* add model extensions to test runner mimetype cache manually

* use unittest.mock.patch

* remove mtl file from testcase (actually plaintext support file)
2025-04-12 18:30:39 -04:00
catboxanon
2f65dfe6b0 Add CublasOps support (#7574)
* CublasOps support

* Guard CublasOps behind --fast arg
2025-04-12 18:29:15 -04:00
Christian Byrne
b591cbc7b1 filter image files in load image dropdown (#7573) 2025-04-12 18:27:59 -04:00
comfyanonymous
33dca069a4 Refactor node cache code to more easily add other types of cache. 2025-04-11 07:16:52 -04:00
Chargeuk
1b28367616 Dependency Aware Node Caching for low RAM/VRAM machines (#7509)
* add dependency aware cache that removed a cached node as soon as all of its decendents have executed. This allows users with lower RAM to run workflows they would otherwise not be able to run. The downside is that every workflow will fully run each time even if no nodes have changed.

* remove test code

* tidy code
2025-04-11 06:55:51 -04:00
Chenlei Hu
d40801e25b Update frontend to 1.15 (#7564) 2025-04-11 06:46:20 -04:00
Christian Byrne
f7ac3c0129 dont cache templates index (#7569) 2025-04-11 06:06:53 -04:00
Chenlei Hu
a8fd307f35 Deprecate InputTypeOptions.defaultInput (#7551)
* Deprecate InputTypeOptions.defaultInput

* nit

* nit
2025-04-10 06:57:06 -04:00
comfyanonymous
62ceae9eb5 Fix custom nodes not importing when path contains a dot. 2025-04-10 03:37:52 -04:00
Jedrzej Kosinski
6227fc9edf Add prepare_sampling wrapper allowing custom nodes to more accurately report noise_shape (#7500) 2025-04-09 09:43:35 -04:00
comfyanonymous
a5fde29a42 Make "surface net" the default in the VoxelToMesh node. 2025-04-09 09:42:08 -04:00
thot experiment
b493567d20 add VoxelToMesh node w/ surfacenet meshing (#7446)
* add VoxelToMesh node w/ surfacenet meshing

could delete the VoxelToMeshBasic node now probably?

* fix ruff
2025-04-09 09:41:03 -04:00
Chenlei Hu
b0ce279e67 Align /prompt response schema (#7423) 2025-04-09 09:10:36 -04:00
comfyanonymous
57a33cac86 Prevent custom nodes from accidentally overwriting global modules. (#7167)
* Prevent custom nodes from accidentally overwriting global modules.

* Improve.
2025-04-09 09:08:57 -04:00
Christian Byrne
528ecf29f3 handle palette mode in loadimage node (#7539) 2025-04-09 09:07:07 -04:00
comfyanonymous
4d9b0a0285 Show the user an error when the controlnet file is invalid. 2025-04-08 08:11:59 -04:00
comfyanonymous
f23079e949 Support the wan fun reward loras. 2025-04-07 05:01:47 -04:00
comfyanonymous
6a8831c7a2 Show a proper error to the user when a vision model file is invalid. 2025-04-06 22:43:56 -04:00
comfyanonymous
2f866528dc Support 512 siglip model. 2025-04-05 07:01:01 -04:00
Raphael Walker
3b53953e66 Add activations_shape info in UNet models (#7482)
* Add activations_shape info in UNet models

* activations_shape should be a list
2025-04-04 21:27:54 -04:00
comfyanonymous
522761c65d Disable partial offloading of audio VAE. 2025-04-04 21:24:56 -04:00
comfyanonymous
de483750c0 Fix problem. 2025-04-03 20:57:59 -04:00
comfyanonymous
c858e249b7 Fix alpha image issue in more nodes. 2025-04-02 19:32:49 -04:00
BiologicalExplosion
933ba105ff MLU memory optimization (#7470)
Co-authored-by: huzhan <huzhan@cambricon.com>
2025-04-02 19:24:04 -04:00
comfyanonymous
3fb2c6be6d Fix comment.
This function does not support quads.
2025-04-01 14:09:31 -04:00
Laurent Erignoux
9d06436b67 User missing (#7439)
* Ensuring a 401 error is returned when user data is not found in multi-user context.

* Returning a 401 error when provided comfy-user does not exists on server side.
2025-04-01 13:53:52 -04:00
BVH
d7ab5c10ce Add option to store TE in bf16 (#7461) 2025-04-01 13:48:53 -04:00
comfyanonymous
99cd39f0c2 Fix alpha channel mismatch on destination in ImageCompositeMasked 2025-03-31 20:59:12 -04:00
comfyanonymous
c4511d9ee1 Fix latent composite node not working when source has alpha. 2025-03-30 21:47:05 -04:00
comfyanonymous
c32dd8bce5 Remove useless code. 2025-03-29 20:12:56 -04:00
Michael Kupchick
a8159d7d42 ltxv: fix preprocessing exception when compression is 0. (#7431) 2025-03-29 20:03:02 -04:00
comfyanonymous
beab5d686d Don't error if wan concat image has extra channels. 2025-03-28 08:49:29 -04:00
Chenlei Hu
47a6c92abd Update frontend to 1.14.6 (#7416)
Cherry-pick the fix: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3252
2025-03-28 02:27:01 -04:00
comfyanonymous
85a32a621d Add WanFunInpaintToVideo node for the Wan fun inpaint models. 2025-03-27 11:13:27 -04:00