5988 Commits
Author SHA1 Message Date
comfyanonymous b0f4b7b294 JsonExtractString can now handle JSON with prefix and/or suffix. (#16439)
This should improve support for LLM outputs that like to prefix the json
with random stuff.
2026-09-21 01:58:53 -04:00
comfyanonymous c194dd00cd Allow model files to contain which attention should be used for each block. (#16419) 2026-09-20 10:31:55 -07:00
rattus 1d61dcc35c Compile Qwen Image 2.1 transformer blocks (#16430) 2026-09-20 10:30:54 -07:00
rattus 2f7c6d47a8 Improve qwen 2.1 KV cache location logic (#16429) 2026-09-20 10:30:08 -07:00
comfyanonymous 0f74f7fb9f Bump back frontend to 1.53.6 after dowgrading it on the stable commit. 2026-09-20 11:29:50 -04:00
comfyanonymous 73c9bad4d2 ComfyUI v0.37.0 v0.37.0 2026-09-20 11:27:36 -04:00
Raynold van Heyningen 99073836d4 Fix MiniMax Music 3 producing noise with CUDA graphs enabled. (#16428)
The AR decode loop captured the per-layer graphs without decode buffers, so
Llama2_ fell back to x = x.clone() and every replay read the address of the
first step after it had been freed. The output was garbage audio codes with no
error: the decoded track is NaN, saved as a constant -32768 by the FLAC encoder.

YuE2 and the generic generate() already pin the hidden state and rotary tensors
through decode_buffers; do the same here, gated the way generate() gates it.

Fixes #16002 (the silent-noise report) and #16222.
2026-09-20 11:02:00 -04:00
Alexander Piskun 3dd559d81f [Partner Nodes] feat(Meshy): add Meshy 7.1 support (#16412) 2026-09-20 07:03:30 -07:00
Daxiong (Lin) 19c7983c19 chore: update workflow templates to v0.11.66 (#16426) 2026-09-20 06:52:37 -07:00
comfyanonymous 5ba116a40f Add --disable-fast-disk to disable fast disk. (#16424) 2026-09-20 03:35:58 -04:00
Daxiong (Lin) 96be9a139d chore: update workflow templates to v0.11.65 (#16423) 2026-09-20 13:28:22 +08:00
comfyanonymous c8ed2c8ce9 Lower wan peak vram when using comfy kitchen attention. (#16418) 2026-09-19 22:50:30 -04:00
Daxiong (Lin) 00abd23d4e chore: update embedded docs to v0.5.12 (#16396) 2026-09-19 16:29:49 -07:00
Jukka Seppänen 6bfaacc67c feat: Qwen-image 2.1 support (CORE-423) (#16400) 2026-09-19 18:44:02 -04:00
comfyanonymous 3c80da7f87 Fix ace step VAE decode crashing on non bf16 GPUs. (#16405) 2026-09-18 14:35:35 -04:00
Comfy Org PR Bot 0d9017220a Bump comfyui-frontend-package to 1.53.6 (#16386) 2026-09-18 09:13:15 -07:00
Alexander Piskun a8686f2b33 [Partner Nodes] feat(client): send Idempotency-Key on partner-proxy calls and collect replays (#16220)
* [Partner Nodes] feat(client): send Idempotency-Key on partner-proxy calls and collect replays

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

* [Partner Nodes] feat(client): opt partner nodes into Comfy-hosted asset URLs in place of inline media

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2026-09-18 10:56:18 +04:00
comfyanonymous 944386c233 Lower the pos embed precision of SheetSage2 to match upstream. (#16395) 2026-09-17 23:43:08 -04:00
comfyanonymous 4d7e61b7d4 Fix issue with qwen speedup PR. (#16389) 2026-09-17 21:34:05 -04:00
Jukka Seppänen 9a77c1db9e Qwen3/3.5/3.8 cudagraphs and w4a8 gemv support (CORE-390) (#15623) 2026-09-17 20:38:24 -04:00
Alexis Rolland 7de99222f0 chores: Update nodes names and categories (#16274) 2026-09-17 19:48:54 -04:00
Alexis Rolland fd88b3c412 Update default width and height in EmptyLatentImage (#16384) 2026-09-17 19:47:58 -04:00
comfyanonymous cf5cc2b698 Update comfy-kitchen version to 0.2.35 (#16385) 2026-09-17 19:12:53 -04:00
Jukka Seppänen a2f455c9da feat: Support MoGe 3 (CORE-443) (#16381) 2026-09-17 14:17:04 -04:00
Alexander Piskun 387f98aa28 [Partner Nodes] fix(Tripo): refuse a P2 run whose linked GLB or FBX output would be empty (#16369)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-17 11:29:13 +04:00
comfyanonymous d39cdfdb03 Always put text encoder on GPU when dynamic vram on. (#16374) 2026-09-16 22:27:39 -04:00
comfyanonymous 4e779e5619 Add CFG control to YuE2 Generate Music node (#16373) 2026-09-16 21:38:29 -04:00
Alexander Piskun 8ad078bbf8 Add transparent background option for GPT Image 2 (#16366) 2026-09-16 22:01:10 +04:00
rattus 7a0b5eede3 Aimdo 0.5.5 + Auto-detect and enable --fast-disk when the disk is fast (CORE-440) (#16333) 2026-09-15 17:30:01 -04:00
comfyanonymous ee71d5c499 ComfyUI v0.36.0 v0.36.0 2026-09-15 17:05:37 -04:00
Daxiong (Lin) a78a22e7ad Update workflow templates to v0.11.62 (#16350) 2026-09-15 16:37:22 -04:00
comfyanonymous 9b572343bb Make llama apply rope use fast kernels on more models. (#16351) 2026-09-15 16:20:54 -04:00
rattus b2da2b4247 Declare loop boundaries in node schema (#16347) 2026-09-15 15:27:07 -04:00
Lukas Buck a84f954bc6 Carry every item of a heterogeneous list through a loop (#16345)
Start Loop took the first delivered value of `initial_iteration_value` and
LoopIteration took the first value of `current_iteration_value`, so a Create
List holding mixed state reached the loop body with only its first item. Get
Item From List then raised `IndexError` for every index past 0, which is the
opposite of what the generic loop advertises: one carried value holding an
image and its prompt, unpacked inside the iteration.

Pass the opener's own input into the expanded graph so the first iteration
receives the carried value through the same link the later ones use, and let
LoopIteration re-emit it whole.
2026-09-15 15:26:30 -04:00
Alexander Piskun 1a14b82e73 [Partner Nodes] feat(Tripo): add Tripo P2 text, image and multiview to model nodes (#16320)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-15 21:35:01 +04:00
Alexander Piskun e09be59f92 [Partner Nodes] feat(Pruna): add text-to-video and image-to-video nodes with P-Video-2 (#16315)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-15 21:26:53 +04:00
guill 36da3ff763 Temporarily disable testing with --enable-assets (#16334)
This is just to unblock other work and reduce frustration while
we address the flaky tests.
2026-09-14 21:32:24 -07:00
comfyanonymous f14bbe2869 Lower minimax VAE usage by a bit. (#16332) 2026-09-15 00:12:30 -04:00
Jukka Seppänen b2e31e8941 MiniMax-H3 VAE optimizations (#16187) 2026-09-14 23:50:34 -04:00
comfyanonymous 9a600f8118 Update comfy-kitchen version to 0.2.34 (#16329) 2026-09-14 23:25:55 -04:00
comfyanonymous 6cff1e974f Use comfy kitchen apply rope in llama based models. (#16326) 2026-09-14 23:16:00 -04:00
rattus a2afcdb899 comfy-execution: cache: cache errors is RAM cache sizing scan (#16314)
Some custom nodes hook iterables with side effects and in some cases
these can cause exception in workflows that belong in the past.

Guard against this so comfy stays up and does not trash a workflow
that was innocent based of a bug in a previous workflow.
2026-09-14 17:36:30 -04:00
rattus 50ab50c15a Implement Generic Loops (Candidate III - implemented ) (CORE-14) (#16227) 2026-09-14 16:56:34 -04:00
Daxiong (Lin) db70adbd1a chore: update workflow templates to v0.11.60 (#16319) 2026-09-14 11:53:50 -07:00
Daxiong (Lin) 683421b679 Add Marigold V2 and YuE2 blueprints (#16318) 2026-09-14 11:43:40 -07:00
Alexander Piskun b005849677 [Partner Nodes] feat(Gemini-LLM): add GeminiNodeV3, deprecate V2 (#16287)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2026-09-14 16:14:09 +04:00
f42b24efbe feat: structured event log lines for the assets system (#16306)
* feat(assets): structured event log lines for the assets system

* test(assets): AST check that tagged event lines stay inside the closed vocabulary

* feat(assets): structured event logging for the seeder lifecycle

* feat(assets): structured event logging for scanner and ingest failure paths

* feat(assets): structured event logging for API request failures

* fix(seeder): finalize checkpoint no longer parks completed scans

* fix(scanner): enrich_failed counts exceptions, not benign races

* fix(seeder): idle reset survives emit/assert failures

* refactor(assets): private emit-once bookkeeping helper; clean Progress DTO

* test(event-log): call-site registry as frozenset; drop dead pending machinery

* feat(event-log): scanner.stat_failed with emit-once discipline; drop dead vocabulary

* refactor(assets): drop API request failure events

* refactor(assets): drop ingest failure events

* refactor(assets): narrow event vocabulary to scan pipeline

* test(assets): per-call-site event tests collapse to mechanism-once

* refactor(assets): event log lines as logfmt, matching the log's own idiom

* test(assets): adapt hash-failure log assertion to privacy-safe scan-error logging

The rebase onto master picked up the privacy-safe _log_scan_error from
PR 16096, which no longer includes the file path in the log message.
Assert on the generic 'Asset scan error' message and that the path does
not leak, instead of asserting the path is present.

* fix(assets): enforce event vocabulary and scan counters

---------

Co-authored-by: Simon Pinfold <synap5e@users.noreply.github.com>
Co-authored-by: guill <jacob.e.segal@gmail.com>
2026-09-13 22:24:33 -07:00
Simon Pinfold eecbfb4046 test(assets): keep test typing 3.10-compatible (#16305) 2026-09-13 21:31:09 -07:00
19e1058f4c feat(assets): split asset records from content (#16295)
* review-stack 1/4: code (37 files, +3217/-3958)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: path not under tests-unit/ or tests/
Question: Is the logic change right?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 2/4: tests-removed (24 files, +274/-8220)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: test file deleted, or modified with deleted/(added+deleted) >= 0.9
Question: For each dropped assertion: obsolete by a ruling, or covered by a tests-new test?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 3/4: tests-changed (13 files, +1043/-1218)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: remaining modified test files (incl. conftest.py / helpers)
Question: Did the edits weaken an existing check?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 4/4: tests-new (46 files, +8601/-0)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: test file added
Question: Is the code layer well covered?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 5/6: code (13 files, +351/-104)

Review-and-land stack for synap5e/feat/assets-di, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: path not under tests-unit/ or tests/
Question: Is the logic change right?
Source tip: eca2c74bff
Merge-base: 20d59d2a5f

* review-stack 6/6: tests (8 files, +753/-238)

Review-and-land stack for synap5e/feat/assets-di, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: every changed file under tests-unit/ or tests/ (added, modified, or deleted)
Question: Is the code layer well covered, and did any edit weaken an existing check?
Source tip: eca2c74bff
Merge-base: 20d59d2a5f

* review-stack 7/8: ported-fixes (42 files, +1361/-180)

Review-and-land stack for synap5e/feat/assets-di-v2, generated by
review-stack.py conventions (hand-built continuation layer; see the PR body).
Once approved, merges DOWN into the layer below (a fast-forward); only the
bottom layer squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: the 11 base-branch fix/docs commits 595cd6e4..94d7185b cherry-picked across the DI refactor (7efdd1d7 excluded, superseded by layer 8)
Question: was each base fix ported faithfully across the DI refactor?
Source tip: 6841881069284803b902b4a9e33bdcda13126771
Merge-base: 7fdfb40f4b

* review-stack 8/8: defensive-parity (4 files, +36/-3)

Review-and-land stack for synap5e/feat/assets-di-v2, generated by
review-stack.py conventions (hand-built continuation layer; see the PR body).
Once approved, merges DOWN into the layer below (a fast-forward); only the
bottom layer squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: match-or-improve master's dependency defenses — NoAssets selection when DB deps unavailable (7efdd1d7's outcome via the DI seam), requirements warning before assets imports, blake3 in the guarded dependency set
Question: does each degradation path now match or improve master's behavior?
Source tip: ebc2cfeebc
Merge-base: 7fdfb40f4b

* fix(assets): only discard content rows this operation actually inserted

CR-9: Enumerated all six create_content call sites. Only scanner seeding and the three ingest registration paths track IDs for failure cleanup.

* fix(assets): reject hash-only uploads with FEATURE_DISABLED when hashing is off

CodeRabbit finding CR-2: reject hash-only multipart uploads before create_from_hash when hashing is disabled.

* fix(assets): seed persists the stat it verified

CR-7: persist the fresh seed-time restat instead of walk-time spec values.

* fix(assets): route database lock failures to the lock guidance

CR-16: route file-lock startup failures through the existing lock guidance and exit path.

* fix(assets): drop the inaccurate temp-cleanup claim from the shutdown warning

References CR-10.

* fix(assets): walk the output root after execution so undeclared outputs register promptly

Custom nodes that write files into the output directory without declaring
them in output_ui only became assets when the next full walk happened - a
frontend GET /object_info or a restart. Headless and API-only sessions never
trigger either, so those files never converged into the asset database.

The post-execution hook now requests a FULL scan of the output root instead of
an enrich-only pass. The seeder's pending-request queue was generalised from
enrich-specific to carrying a scan phase, so the request starts immediately
when the seeder is idle and coalesces (escalating to FULL on a phase mismatch)
when a scan is already running. queue_output_enrichment is renamed to
queue_output_scan across the protocol, the NoAssets no-op and the call site.

References FIX-6.

* chore(assets): remove seeder paths orphaned by the output-scan change

45c2f96e rerouted both former enrich call sites to start()/enqueue_scan(),
leaving two seeder methods that look live but are not. Review round F2
raised this along with four smaller items; the user's disposition was to
fix all six here.

- Delete start_enrich: zero callers repo-wide after 45c2f96e.
- Delete enqueue_enrich: no production callers; its ~18 call sites in
  tests/test_asset_seeder.py move to enqueue_scan(phase=ScanPhase.ENRICH)
  with their semantics unchanged. The deletion forces the half-done class
  renames (TestEnqueueEnrich* -> TestEnqueueScan*, consistent with the
  already-renamed TestPendingScanDrain) and restores the module docstring
  that was dropped rather than reworded.
- Document at manager.queue_output_scan that ScanPhase.FULL per debounce
  window is the deliberate, user-ratified trade, so it is not optimised
  back to ENRICH without revisiting the decision.
- Document that SeedAssetSpec.size_bytes/mtime_ns are walk-time
  diagnostics only - production persists the seed-time restat since CR-7.
- Export create_content_reporting_insert from the queries facade and fold
  scanner.py's direct-module import into the existing facade block.
- Harden test_queue_output_scan_does_not_duplicate_declared_output against
  a vacuous pass: it now asserts the seeder finished without errors and
  that an undeclared sibling written into the same directory WAS
  registered by the same scan, proving the walk actually ran.

No production behaviour changes beyond the two deletions.

References F2-cleanup.

* chore: comment cleanup

Comment-Gate: 18 quarantined

* fix(assets): preserve pause across the seeder's pending-scan drain

pause() runs before every prompt, while pending-scan enqueue and resume only run inside the debounced gc-interval gate. If the active scan finishes just after the next prompt's pause, its finally block resets the seeder to idle and the pending drain starts a replacement with the run gate open, so resume becomes a no-op.

Capture pausedness under the lock before resetting to idle, then start the drained scan already paused. Setting the state and gate before launching the thread avoids the start-then-reclear window and lets resume release the existing scan checkpoints.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* test(assets): pin job_id absence for scan-discovered assets

Owner ruling, recorded 2026-09-03 in the stack-9-hardening planning notepad: scan-discovered assets — including undeclared outputs found by the post-execution walk — carry job_id = None, always; only emission-time registration (output_ui declaration) attributes a job; attributing walk finds to the most recent prompt would be a temporal-correlation guess that is wrong exactly when prompts interleave; None is honest provenance. Do NOT add proximity-based attribution heuristics to the scanner. Ratified against Jacob Segal's cross-job-attribution concern (2026-09-08 review meeting) — a wrongly-attributed asset could mean one user's cloud job sees another user's asset.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* [review-stack 10/10] assets-tests (#16218)

* test(execution): run the battery with assets enabled and assert asset-system health at teardown

* test(execution): cover list-shaped outputs registering assets

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

---------

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* [review-stack 11/11] review-fixes (#16261)

* fix(assets): only exit on database file-lock timeout when assets are enabled

* test(assets): pin live_contents_under_prefixes path-filtering semantics

* perf(assets): push live-content prefix filtering into SQL

* test(assets): declare per-entry intent in the path-prefix corpus

* test(assets): normalize POSIX-literal path expectations for Windows

* test(assets): force observable stat changes and close-before-mutate on Windows-sensitive rewrites

* test(assets): force an observable mtime change in the hash-mode split test

---------

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Co-authored-by: guill <jacob.e.segal@gmail.com>
2026-09-13 12:04:51 -07:00
comfyanonymous 798fa9aa47 Add that Yue 2 is supported to readme. (#16303) 2026-09-13 14:31:26 -04:00