Commit Graph
2386 Commits
Author SHA1 Message Date
benjcooley 0733f88f8e Clamp system metrics to safe integers 2026-08-31 12:50:58 -07:00
benjcooley 4c665f3263 Expand secure V2 SDK surface 2026-08-31 12:50:58 -07:00
benjcooley dc2e9ac1ec feat(sdk): model transforms, preview/profiling surfaces, structured-vs-live ref boundary
The V2 additions the KJNodes completion needed on the core side:

- _model_transforms: the closed, core-owned transform vocabulary
  behind ModelRef.patch — 29 named transforms, declaratively
  parameterized, validated host-side, immutable and stacking. No
  function ever crosses the boundary; a pack cannot register one.
- structured-vs-live split: value()/from_value() only on structured
  data refs (LATENT, AUDIO, TRACKS...). MODEL/CLIP/VAE/asset refs are
  handles in every execution mode — in-process identity resolution no
  longer hands a live model to node code.
- preview overrides (tiny-VAE, LTX factors), triton VAE seam, memory
  attention, and profiling surfaces backing the corresponding closed
  brokers in the overlay.
- torch_compile/model_patcher/model_management: compiled-view
  aliasing recognized by the model manager (no double-counted
  weights); shared state-dict loading path so the native loader and
  the V2 broker cannot drift.
2026-08-31 12:49:46 -07:00
Jukka Seppänen 2504e68d4d MiniMax-H3: Support PDD LoRA (#15908) 2026-08-28 18:12:36 -04:00
comfyanonymous 3ac5d7941d Add cfgpp_ud10_ab sampler. (#15951)
This is the result of an experiment where I asked a LLM to create a better
sampler for the base Anima model and gave it a lot of different things to
try.

I wouldn't call this revolutionary but from my basic testing it seems to be
a bit better than the other samplers at lower steps so I have decided to
include it in ComfyUI.

For best result use it at CFG 2.0 on base Anima. It should also work on
other models but I'm not sure about the optimal parameters.
2026-08-28 15:33:18 -04:00
Alexander Piskun 77739723a3 fix(memory): respect the container cgroup memory limit instead of host RAM (#15927) 2026-08-27 07:57:31 -07:00
Constantineandguill 5f0c4e18cb Fix default database path for custom user directory (#14539)
* fix: respect user directory for default database

* refactor: use None default for --database-url instead of argv scan

Per review: default --database-url to None and treat a non-None value
as explicit at resolution time. Removes the sys.argv scan and the
database_url_explicit attribute. database_default_path now serves
directly as the legacy copy source. Adds regression tests for the
unchanged no-flag default path and explicit URLs at the legacy
location.

* refactor: rename legacy database to .bak after copy

Per review: after copying the legacy install-dir database to the
effective user directory, rename the original to comfyui.db.bak so a
later launch without --user-directory cannot silently fall back to a
diverged copy, while keeping the file around for recovery. Also hoist
the database_default_path import to module scope.

* fix: guard legacy migration on existing .bak and rename before copy

Per review: bail out of the legacy migration when comfyui.db.bak
already exists, so only the first run migrates and later launches with
a fresh --user-directory cannot grab a database another instance is
using. Rename before copy so os.replace fails fast if the legacy DB is
held open by a running instance.

---------

Co-authored-by: guill <jacob.e.segal@gmail.com>
2026-08-24 16:19:03 -07:00
Jukka Seppänen 82f839f5e7 feat: Support Sam3d-body (CORE-35) (#14370) 2026-08-22 22:08:22 -04:00
Jukka Seppänen 924743af08 Minimax-H3: Add missing special tokens (#15808) 2026-08-22 18:03:29 -04:00
comfyanonymous 7dde56176e Increase trellis2 memory factor a bit. (#15796) 2026-08-21 20:44:56 -04:00
Jukka Seppänen 0e65cb9071 feat: Support Pixal3d and TRELLIS2 (CORE-278) (CORE-199) (CORE-236) (CORE-312) (#14718) 2026-08-21 20:32:25 -04:00
rattus 5ab2f7a2d6 Limit Windows multi-GPU visibility (#15737) 2026-08-19 19:31:47 -04:00
comfyanonymous a3e5cce506 Add friendly errors to the dynamic vram safetensors loader. (#15722) 2026-08-18 19:59:52 -07:00
rattus 8b2d29176f Prs/ace graphs (#15698) 2026-08-18 14:58:57 -04:00
Silver e5a38e3f7b feat(minimax): support prompt embeddings (#15697) 2026-08-18 00:25:38 -04:00
comfyanonymous 8e869efc87 Add support for taeh3. (#15695) 2026-08-17 23:20:28 -04:00
Barish Ozbay ff6c8a8af1 Support per-token video and audio latent noise masks on MiniMax-H3 (#15375) 2026-08-17 23:18:18 -04:00
comfyanonymous 0696f61dce Allow regular single image Empty Latent Image node to be used with H3. (#15677) 2026-08-16 21:34:39 -04:00
Jukka Seppänen 55b6a9b11d Fix thinking handling (#15611) 2026-08-14 15:17:18 -04:00
Jukka Seppänen 7fe8a61385 Speedup Gemma4 text generation (CORE-371) (#15054) 2026-08-13 21:12:55 -04:00
Barish Ozbay e01fb4c56b Add MiniMaxH3AddGuide for anchoring image and audio guides at any frame (#15439) 2026-08-13 15:55:36 -04:00
comfyanonymous 03fa4e48ba Fix minimax music not working on non dynamic vram. (#15588) 2026-08-13 15:47:44 -04:00
rattus ddbaa87528 minimax: early detect qkv vs q,k,v (#15581)
avoid a commit charge surge on non-dynamic windows due to double linear
creation.
2026-08-13 13:08:08 -04:00
rattus af3d2153a7 llama: fix non-local x path (#15580) 2026-08-13 12:21:26 -04:00
rattus efd4e951a0 Implement Minimax Music 3 + Core Support for Cuda Graphs (#15570) 2026-08-13 12:10:08 -04:00
Alexander Brown addd479729 Fix Generate Text ignoring thinking=false on Gemma4 E2B/E4B (#15278) 2026-08-12 22:44:14 -04:00
Alex Harper 2220d111c8 Query pytorch for aotriton support instead of listing its lib directory (#15412) 2026-08-12 21:40:11 -04:00
comfyanonymous 725e6ec606 Support anima tunes with extra blocks. (#15555) 2026-08-12 16:22:50 -04:00
comfyanonymous bd34f338ac Fix float64 device in ltx diffusion decoder. (#15516) 2026-08-12 03:55:08 -04:00
Jukka Seppänen 27bca654eb Fix KSamplerAdvanced with add_noise disabled on nested latents (#15447) 2026-08-11 17:58:00 -04:00
comfyanonymous 024cbc5fc1 Remove potentially problematic process_tokens method. (#15507) 2026-08-11 16:45:52 -04:00
comfyanonymous bbb4b04caa Don't depend on transformers for mistral and llama tokenizers. (#15503) 2026-08-11 15:54:44 -04:00
comfyanonymous d9f9d2ba12 Fix some clip vision regression. (#15506) 2026-08-11 15:54:15 -04:00
comfyanonymous 2a19bbf014 Fix for broken tiled audio decode. (#15502) 2026-08-11 14:07:32 -04:00
Alexis Rollandandkijai 57ce8e1a27 Add support for LTX 2.5 (#15499)
---------

Co-authored-by: kijai <40791699+kijai@users.noreply.github.com>
2026-08-11 13:47:39 -04:00
comfyanonymous 62b3c94bd4 Fix peak memory issue with H3. (#15486) 2026-08-11 02:09:29 -07:00
comfyanonymous bf4c9a08fc Implement comfy kitchen attention. (#15479)
Add a ModelAttentionBackend node to manually select the attention for models in the workflows. Currently supports pytorch attention or comfy kitchen attention.

Add --use-ck-attention to enable comfy kitchen attention as the default attention backend for all models (might break some).
2026-08-10 22:03:08 -07:00
comfyanonymous 4f3544d131 Make cu130 warning more visible. (#15463) 2026-08-10 23:25:01 -04:00
Jukka Seppänen 2a68ce33b4 Optimize MiniMax-H3 VAE (#15446) 2026-08-09 14:24:48 -04:00
blepping cbbc9dab1f Make a context manager for cast_bias_weight and use it. (#14750) 2026-08-08 22:38:34 -04:00
comfyanonymous cd84f47efe Make it easier to debug nested tensors. (#15383) 2026-08-07 22:14:04 -04:00
Jukka Seppänen 344b43989e Support asym w4a8_int (#15308)
* support asym w4a8_int

* Simplify

* Fixes
2026-08-07 08:32:57 -07:00
Jukka Seppänen 93cb5edb98 Fix audio carry to wrappers (#15390) 2026-08-07 08:30:21 -07:00
comfyanonymous 2340099d93 Fix full offload on minimax audio vae. (#15377) 2026-08-07 00:26:16 -04:00
Jukka Seppänen a464ac3358 feat: Support Wan-Animate2 (CORE-358) (#15362) 2026-08-06 21:08:16 -04:00
comfyanonymous 88fec4b605 Skip creating useless noise in res_multistep sampler. (#15339) 2026-08-06 18:17:44 -04:00
Jukka Seppänen bdcb886a47 Fix sampler issues for audio with minimax, support more samplers. (#15243) 2026-08-06 13:36:34 -07:00
endman100 563b98eefb Fix MiniMax H3 latent noise mask sampling (#15322) 2026-08-05 23:47:13 -04:00
Jukka Seppänen 15989f87ca Speedup LTX and Wan (#15138) 2026-08-05 21:15:48 -04:00
Jukka Seppänen bbda83647d Support int8_convrot VAE (#15334) 2026-08-05 21:12:23 -04:00