Commit Graph
6031 Commits
Author SHA1 Message Date
dante01yoon e0672fbb7b chore(openapi): sync shared API contract from cloud@2713772 2026-09-28 21:16:01 +00:00
comfyanonymous 2139131e88 Searching "kitchen" now returns the attention node. (#16632) 2026-09-28 16:38:51 -04:00
rattus 7fbcfa8be9 Speedup Yue2 AR (#16626) 2026-09-28 14:21:36 -04:00
comfyanonymous 8d534945eb Add comfy_attention and AttentionTensorContainer to a few models. (#16595) 2026-09-27 18:45:17 -04:00
Davide bert 47e63a20a4 Clamp Qwen Image 2.1 fp16 activations in place. (#16608) 2026-09-27 17:37:32 -04:00
Alexander Piskun a9b777bc4e [Partner Nodes] chore(Sora): remove deprecated nodes (#16609) 2026-09-28 00:46:56 +04:00
comfyanonymous 4ef23c34d9 Fix potential regression with previous PR. (#16596) 2026-09-26 22:40:47 -04:00
Jukka Seppänen 5c4d2568fb Support ID-V2V (#15139) 2026-09-26 22:34:47 -04:00
Jukka Seppänen a73d24ba17 Support tiny VAE for Qwen-Image 2.1 (#16552) 2026-09-26 20:46:14 -04:00
comfyanonymous 79be670e2d Mention some ComfyUI optimization details in README. (#16576) 2026-09-25 20:10:52 -07:00
Simon Pinfoldandguill 7897b4ee35 perf(assets): replace pathlib prefix checks in the asset scan (#16543)
* Speed up the startup prune's owned-prefix check

mark_contents_missing_outside_prefixes tested every live AssetContent row
against every owned prefix with Path.is_relative_to, which walks the path's
parents on each call: rows x prefixes x depth. At 9k rows and 150 prefixes
that was 9.5s (15.5s with deeper output paths).

path_prefix_matcher normalizes the prefixes once and checks each row with a
normcase'd, separator-bounded str.startswith over a tuple, keeping
is_relative_to's component bounds and platform case rules. The same case
now takes about 0.04s, flat in prefix count and depth.

* Move path_prefix_matcher next to the SQL containment predicate

path_utils needs the same check for per-file tagging, and scanner_changes
already imports path_utils, so the matcher moves to app.assets.helpers
beside sql_path_under_prefix.

* Speed up asset tag derivation during scans

get_backend_system_tags_from_path checked every scanned file against every
model base with Path.is_relative_to, which dominated the fast scan: 37s of
build_asset_specs for 100k output files. Using path_prefix_matcher, the
separator-bounded string check the startup prune already uses, brings that
to about 7s.

* Keep path_prefix_matcher's parity for paths starting with two slashes

abspath keeps exactly two leading slashes, and pathlib treats that '//' as an
anchor of its own, so Path('//server/f').is_relative_to('/') is False, but
the string check accepted it. Prefixes are now split once by whether their
anchor is '//', and a candidate is only checked against prefixes with the
same anchor. The per-row check is still a single str.startswith.

* Build tag-derivation prefix matchers once per folder config

get_backend_system_tags_from_path built a path_prefix_matcher for input,
output, temp and every model category on each call, so most of its cost was
normalizing the same prefixes again for every scanned file. cached_prefix_matcher
memoizes construction on the raw prefix tuple, which the callers pass as
absolute folder paths; a folder-config change is a new key.

100k files, 58 model bases: tag derivation 81.8 -> 27.7 us/file, and
build_asset_specs CPU 11.55 -> 6.40s.

* State cached_prefix_matcher's absolute-prefix precondition

The docstring presented absolute prefixes as a property of the callers. It
is a precondition the caller must meet: folder_paths stores what it is given,
and a relative prefix is resolved once, on first use, and then frozen.

---------

Co-authored-by: guill <jacob.e.segal@gmail.com>
2026-09-25 18:38:54 -07:00
comfyanonymous 66b68a3372 Update sheetsage2 abc creation from upstream yue code. (#16569) 2026-09-25 20:55:39 -04:00
comfyanonymous f2a419eb5c Fix HDR output issue with negative values in Convert Image Color Space. (#16565) 2026-09-25 13:54:59 -07:00
comfyanonymous 8308c3be8e Add HDR LogC3 and ACEScct to Convert Color Space node. (#16541) 2026-09-25 13:44:34 -07:00
Daxiong (Lin)andPurz f02c1452c8 chore: update workflow templates to v0.11.70 (#16557)
Co-authored-by: Purz <97489706+purzbeats@users.noreply.github.com>
2026-09-25 16:07:51 -04:00
Alexander Piskun 9f932548ff [Partner Nodes] feat(ByteDance): add Seedance 2.5 Draft mode (#16529)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-25 23:44:55 +04:00
Jialong(Bruce) Li 39cb5a8b10 Fix Qwen VL image preprocessing crash on 4-channel (RGBA) input (#16548)
process_qwen2vl_images() computed the patch grid from height/width only
but flatten_patches kept every input channel, so a 4-channel image
(e.g. Qwen-Image-2.1's RGBA VAEDecode output fed back as a reference
image) inflated the patch count by channels/3 and crashed with a shape
mismatch against the position embeddings. Drop extra channels up front
so only RGB reaches the patch embed.
2026-09-25 12:34:26 -07:00
comfyanonymous 88ab4a0656 Small fix: skip unnecessary work. (#16540) 2026-09-24 22:33:18 -04:00
yulun 78368eafee feat(npu): support async weight offload streams (#16057)
Add device-aware torch-npu stream creation, current-stream lookup, and synchronization so the existing async offload path can run on Ascend NPU devices. Keep the feature opt-in and cover stream rotation and disabled behavior in the unit-test suite.
2026-09-24 20:06:46 -04:00
comfyanonymous ca3c529cfa Add missing RDNA2 arches to list. (#16537) 2026-09-24 19:02:38 -04:00
Simon Pinfoldandguill 02ba106f97 fix(assets): harden the asset catalogue's failure paths (#16393)
* chore(assets): drop the unused asset_meta table from migration 0007

* fix(assets): drop asset_meta when downgrading a database that already created it

* docs(assets): clarify asset schema docstring

* test(assets): assert alembic and ORM index parity for the surviving asset tables

* test(assets): cover asset system state index parity

* refactor(tests): hoist migration-0007 test imports to module scope

* fix(assets): guard the hashing dependency and chain the real import error

* fix(assets): always resume background scanning when prompt handling fails

* fix(api): derive the assets feature flag from the selected manager

* fix(assets): paginate enrichment by id cursor so failures cannot starve or overflow the query

* refactor(assets): extract prompt_worker so its resume contract is testable in-process

* refactor(assets): test the blake3 import guard in-process instead of via subprocess

* fix(assets): advance the enrichment cursor only past rows the batch attempted

* fix(assets): track the scan pause across prompt worker iterations

* chore(assets): address review follow-ups in the hashing guard, feature flags, and pagination pin

* docs(assets): describe enrichment rows as attempted rather than selected

The cursor holds at the last row a batch actually attempted, so a pause ends a batch early and the rows behind it are selected again when the scan resumes. Only the attempt is capped at once per pass.

* test(api): derive the expected assets flag from the manager under test

The assertion asked for the flag with no argument, so it read the parameter default rather than anything the manager reported - in a test whose subject is the two agreeing. Passing the manager's own state keeps it honest if the setup ever yields an enabled manager.

* test(assets): let a broken prompt worker import fail instead of skipping

The fixture wrapped importlib.import_module in a bare except that called
pytest.skip, so a circular import, a missing dependency or a syntax error in
app/prompt_worker.py would retire all four resume-contract tests while CI
stayed green. The whole premise of extracting the module is that main.py can
import it, so an import failure has to be a collection error.

The CPU guard is genuinely load-bearing — comfy.model_management selects its
device at import time and a CUDA build with no driver raises there — so it is
kept, but as a precondition rather than an exception handler, matching the
args.cpu-before-import convention already used by the comfy_test and
comfy_api_nodes_test modules. Nothing is caught now.

* docs(assets): name the unattempted rows instead of the ones behind the cursor

The cursor moves forward through ascending ids, so 'the rows behind it' reads as the rows already passed - the opposite of what is selected again.

* fix(assets): only absorb duplicate-path races when seeding scanned assets

* fix(db): copy the legacy database inside the process lock

* fix(assets): drop watch-list entries on stat errors instead of aborting the scan

* fix(assets): clean up temp uploads on validation failures

Multipart parsing writes the uploaded bytes to a temporary file before it
validates the remaining form fields, so a request rejected after its file
part had already been read left the temp file and its uuid directory on
disk.

Routing those removals through delete_temp_file_if_exists also changes the
success path. The previous helper returned early when the temp file was
already gone, so it never reached the parent rmdir; the shared helper
attempts the rmdir unconditionally. Moving the upload to its destination
leaves the temp path absent, so a successful upload now also discards its
empty uuid directory, closing a pre-existing leak.

* fix(assets): keep updated_at stable on no-op renames

* docs(assets): make module docstrings and the rebuild warning truthful

* fix(assets): correct event-log status snapshots and failure telemetry

* test(assets): make the keyset tie-breaker and temp-exclusion tests falsifiable

* chore: comment cleanup

Comment-Gate: 3 quarantined

* fix(assets): keep unreadable filesystem metadata from failing a whole scan batch

* fix(assets): remove temporary uploads on non-UploadError failures

* fix(assets): preserve successful specs when a scan batch fault propagates

* test(db): drop the inert legacy-copy patch from the path preparation tests

prepare_file_db_path no longer copies the legacy database - that moved inside the process lock in _init_file_db - so patching copy_legacy_default_db here did nothing. Leaving it implied a side effect the function does not have, and would have masked one if it were reintroduced.

* fix(assets): report specs committed before a batch fault and preserve the fault itself

* fix(assets): distinguish partial batch insert failures

* refactor(assets): collapse the duplicated batch fault deferral into seed_asset_specs

* fix(assets): reject duplicate file parts instead of stranding the first upload

* refactor(assets): reap empty upload directories without importing the API layer

* fix(assets): emit the invalid-mtime event once per scan

Every other per-file emit on this scan path is gated -- mark_emitted(
"stat_failed:enrich"), "hash_discarded_modified", "hash_failed",
"enrich_failed" -- but scanner.invalid_mtime fired per file, so a restored
archive or a FAT volume of pre-epoch mtimes put one structured event per file
into the stream the closed vocabulary exists to keep parseable.

Counted and emitted once, carrying the count. seed_asset_specs receives no
_ScanProgress object and neither does insert_asset_specs above it, so routing
this through mark_emitted would mean changing both signatures plus the seeder
call site; the count form needs neither and the event is now strictly more
informative than N identical fieldless lines. The per-file logging.warning is
unchanged, and the emit stays inside seed_asset_specs so the static call-site
manifest still matches.

test_seed_skips_negative_fresh_mtime_with_warning_and_telemetry now pins the
full list of invalid_mtime lines to exactly ["... count=1"] instead of
asserting one such line exists -- a strictly stronger assertion, and the only
change the new field required.

* fix(assets): keep spec construction failures from wedging the watch list

get_name_and_tags_from_asset_path raises ValueError by contract when a path
stops resolving to a configured root, and it sat outside the guard, as did
compute_loader_path and mimetypes.guess_type. An escape skipped the
_WATCH_LIST[:] = remaining write at the end, so drained entries stayed on the
list and were re-attempted every tick while entries past the fault never
reached the increment _WATCH_SCAN_RETRIES needs to retire them. The list
wedged permanently.

Spec construction is now inside a guard that drops just the offending entry,
and the list write moved into a finally so no future escape can skip it. The
loop walks an iterator rather than the list, so the finally can put back the
entries it never reached instead of discarding them.

New event name rather than reusing one: scanner.watch_seed_failed is emitted
only when seed_asset_specs returns an error, and widening it to also mean
"never got as far as seeding" would make it lie -- a consumer treating it as a
database-health signal would get false positives from what is really a path
layout problem. scanner.watch_spec_failed is registered in ALLOWED_EVENTS and
in the static call-site manifest.

* refactor(assets): export the live-path conflict check as public API

scanner.py reached past the package's own re-export surface to import
_is_live_path_conflict directly out of records.py. The underscore said
module-private while the import said otherwise, and records.py deliberately
publishes its public names through app.assets.database.queries -- which the
same import block three lines above was already using.

The use is correct and unchanged; only the name and the route change. Renamed
to is_live_path_conflict, listed in the package __init__ import and __all__
alongside its siblings, and scanner.py now takes it from the package like
everything else it imports from there.

* docs(db): restore the rationale for locking before migration

Commit 1dbcdcd7 and the comment-cleanup pass 8205022f reduced this to "All
database reads and writes, including the legacy import, run under the lock",
dropping the part that did the work: upstream master locks after migrating and
justifies it with "Alembic uses its own connection, so we must wait until it's
done before locking -- otherwise our own lock blocks the migration". That is
false, the lock is on a separate <db>.lock file, and the surviving sentence
said nothing to stop a contributor "fixing" the ordering back.

Restored and adapted rather than pasted: the legacy copy and the db_exists
probe now happen inside the lock, which the original text predates, so both
are named in the list of things the ordering makes mutually exclusive.

* fix(assets): stop a scan on memory exhaustion instead of deferring it

MemoryError is an Exception, so the per-spec and per-batch handlers stored it alongside ordinary faults and carried on - allocating for every remaining spec and then every remaining batch while the process was already out of memory. Both handlers now let it through, and the scan records a failure and stops.

* docs(assets): document the prune failure response and its None result

The route gained a 500 PRUNE_FAILED branch and the seeder method gained a None return, both so a prune that did not run cannot be reported as a clean one. Neither contract was written down.

* test(assets): assert the surviving spec count after a propagated fault

* docs(db): shorten the lock-ordering comment while keeping its rationale

* docs(tests): drop the cross-module justification from the import-order comment

* test(assets): restore the cpu flag after the guarded prompt worker import

* test(assets): restore the cpu flag even when the prompt worker import fails

* fix(assets): drop asset_meta in a new migration instead of editing 0007

0007 shipped in v0.36.0, v0.37.0 and v0.37.1, so editing it would leave two
installs at that revision with different schemas depending on when they
upgraded. Restore 0007 to its released form and drop the unused asset_meta
table in 0008 instead.

Nothing reads or writes asset_meta; asset metadata lives in the JSON columns
on assets. 0008 downgrades by recreating the table and its four indexes
exactly as 0007 creates them.

* refactor(assets): keep prompt_worker in main.py

Custom nodes may reference main.prompt_worker, and tests can already
import main (test_db_init_locking does), so the function stays where it
was. Its body keeps the resume-on-failure handling and the pause flag
that persists across loop iterations; the tests now call
main.prompt_worker.

* fix(assets): report the selected manager through the existing feature flags

* fix(assets): record a failed prune in the scan status

A failed prune left the scan's error list empty, so the run looked clean.
Record it instead and let discovery continue as before.

* test(assets): test the feature flag API directly instead of copying the startup write

Both parity tests wrote SERVER_FEATURE_FLAGS["assets"] themselves, so they
passed whatever startup did. Pin the one real claim - a no-argument
get_server_features() reports the flag - in the feature flags tests, and drop
the disabled case, which default_asset_manager already covers.

* Bring #16486's watch-list batching and seed logging into this branch

The merge before this commit is `git merge -X ours origin/master`: in
conflicting hunks it keeps this branch's side. This commit ports what
#16486 changed in those hunks.

- tick_watch_list takes no session. It collects settled entries and seeds
  them in one batch through insert_asset_specs, keeping this branch's
  per-entry stat and spec handling and the finally that always rewrites
  the watch list. A failed seed is reported once per batch, since the
  batch only returns its first error.
- seed_asset_specs no longer warns again for a skipped spec;
  observe_asset_specs already logged why.
- Tests call tick_watch_list() without a session, bind the write session
  where they seed for real, and fake insert_asset_specs with its
  (created, error) return. The mid-drain fault now comes from stat,
  because seeding runs after the loop.

* Note where the assets core flag is set and why prompt_worker catches BaseException

---------

Co-authored-by: guill <jacob.e.segal@gmail.com>
2026-09-24 15:51:10 -07:00
Alexander Piskun 93810483a4 [Partner Nodes] feat(ByteDance): add Seedream 5.0 Flash (#16522)
* [Partner Nodes] feat(ByteDance): add Seedream 5.0 Flash and raise Seedream 5.0 Pro max resolution to 4.62MP

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

* [Partner Nodes] feat(ByteDance): add Seedream 5.0 Flash to Layer Separation

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

* [Partner Nodes] fix(ByteDance): raise Seedream 5.0 Pro and Flash custom size limit to 4514

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

---------

Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-24 21:49:51 +04:00
Alexander Piskun 6a103b1dff [Partner Nodes] feat(OpenAI): add GPT-6 Sol and Luna models (#16520)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-24 21:22:11 +04:00
comfyanonymous 1568e6cfd0 Lower memory usage and .comfy_attention support for lumina family models. (#16515) 2026-09-23 23:01:48 -04:00
comfyanonymous 41c83ee79f Fix saving/loading ming image model breaking detection. (#16514) 2026-09-23 22:36:23 -04:00
Jukka Seppänen 3b4c0b0e45 feat: ming-image support (#16482) 2026-09-23 21:57:31 -04:00
Simon Pinfold f427c3a285 Move file reads out of the remaining asset write transactions (#16486)
* Take the SQLite write lock up front for scan and output-registration writes

The scanner's seeding and reference sync, and executed-output registration,
write through a separate engine whose transactions open with BEGIN
IMMEDIATE, and the database runs in WAL mode. On those paths stat, hashing
and metadata extraction now happen before the write transaction opens, and
reference-sync results are applied only to rows unchanged since they were
observed. busy_timeout stays at pysqlite's 5s default.

A fast-scan batch now commits as one transaction, so an unexpected error
partway through discards the whole batch; the next scan recreates it.
Enrichment, verification, uploads and tagging still write through the
existing sessions.

Migration backups use SQLite's backup API, and a legacy database is
checkpointed before it is relocated, since in WAL mode committed pages can
live in the -wal file that a plain file copy misses.

* Skip relocating a legacy database whose WAL cannot be checkpointed

The checkpoint can report busy without raising; moving the file then would
leave committed pages behind in the -wal. Also keep the source's file mode
on SQLite backups, as the plain copy did.

* Replace run_write_txn with a create_write_session factory

Write paths open the write engine's session the same way the rest of the
code opens create_session(), and commit explicitly. Executed-output
registration reads the new record's fields before committing, so expiry
does not reload them in a second write transaction.

* Document the scanner's pre-transaction observation types

* Document that write sessions must not nest

* Warn that a nested write session looks like lock contention

* Seed a hashed spec with the stat its hash was verified against

* Bound the SQLite backup so a locked destination cannot hang startup

* Time out a backup only while it is blocked

* Commit each drained entry before hashing the next

drain_pending_verifications and drain_transition_queue ran every entry in
one session, so an entry that wrote (marking a vanished file missing, say)
left a transaction open while the next entry's file was stat'ed and
hashed. Commit at the top of each entry instead, so the hash runs with no
transaction open.

* Seed settled watch-list entries through insert_asset_specs

tick_watch_list seeded each settled file through seed_asset_specs in the
caller's session, where the enrich phase still held drain_pending's
writes open, and each seed ran in a deferred savepoint that reads before
it writes. Collect the settled specs and hand them to insert_asset_specs,
which stats and hashes before opening one write session. The seeder
commits the pending verifications before ticking, so no transaction is
open while the watch list stats or waits for the write lock.

* Read upload metadata before the claim transaction

_create_upload_record read the file for system metadata after the
content claim had opened a write transaction. Callers now extract the
metadata before opening their session (or, when reusing content, before
claiming it) and pass it in. The claim's own stat re-check stays inside
the transaction: that is what makes the claim sound.

* Keep the upgrade error when restoring the backup also fails

If restoring the pre-upgrade backup raised, that exception replaced the
upgrade's, and the backup's location was never logged. Log the upgrade
error first, log where the pre-upgrade copy is kept if the restore or its
cleanup fails, and re-raise the upgrade error either way.

* Note the drains' session requirement and word the restore log for either failure

The drains' per-entry commit only leaves no transaction open on a
create_session() session. The restore log now covers a failed backup
removal as well as a failed restore. The watch-list admission test
patches insert_asset_specs, the seam tick_watch_list now calls.

* Log the real error when a seed spec cannot be read

observe_asset_specs treated every OSError as a vanished file, so a
permission error or an I/O error on a file that still exists was
reported only as "Skipping vanished asset during scan". A missing file
is still handled as before; any other OSError is now also logged through
_log_scan_error before the spec is skipped. The vanished-path test's
fake now raises FileNotFoundError, the error a vanished file produces.

* Report an unreadable seed spec once, without also calling it vanished

* Skip a pending verification whose row changed while it was hashed

Committing per entry means no lock is held while the file is hashed, so
another writer can retire or replace the row in that time. The drain
would then store a hash on a missing row, or split it and attach a
record to the other writer's row. Re-read the row after hashing and skip
it unless it is still live with the hash, size and mtime it was loaded
with, as apply_reference_observations does.

* Remove the stored upload file in the reupload claim test

The test cleaned up its temp files but left the first upload's stored
file in the output directory.
2026-09-23 17:23:56 -07:00
Simon Pinfold 9d3bfc393b Take the SQLite write lock up front for asset scan and output-registration writes (#16480)
* Take the SQLite write lock up front for scan and output-registration writes

The scanner's seeding and reference sync, and executed-output registration,
write through a separate engine whose transactions open with BEGIN
IMMEDIATE, and the database runs in WAL mode. On those paths stat, hashing
and metadata extraction now happen before the write transaction opens, and
reference-sync results are applied only to rows unchanged since they were
observed. busy_timeout stays at pysqlite's 5s default.

A fast-scan batch now commits as one transaction, so an unexpected error
partway through discards the whole batch; the next scan recreates it.
Enrichment, verification, uploads and tagging still write through the
existing sessions.

Migration backups use SQLite's backup API, and a legacy database is
checkpointed before it is relocated, since in WAL mode committed pages can
live in the -wal file that a plain file copy misses.

* Skip relocating a legacy database whose WAL cannot be checkpointed

The checkpoint can report busy without raising; moving the file then would
leave committed pages behind in the -wal. Also keep the source's file mode
on SQLite backups, as the plain copy did.

* Replace run_write_txn with a create_write_session factory

Write paths open the write engine's session the same way the rest of the
code opens create_session(), and commit explicitly. Executed-output
registration reads the new record's fields before committing, so expiry
does not reload them in a second write transaction.

* Document the scanner's pre-transaction observation types

* Document that write sessions must not nest

* Warn that a nested write session looks like lock contention

* Seed a hashed spec with the stat its hash was verified against

* Bound the SQLite backup so a locked destination cannot hang startup

* Time out a backup only while it is blocked
2026-09-23 15:17:11 -07:00
Jialong(Bruce) Li 557597f5b2 Fix ImageUpscaleWithModel crashing on RGBA images (#16500)
Upscale models loaded via Spandrel expect exactly 3 input channels, so a 4-channel IMAGE crashed in the model's first conv. Split off the alpha channel before upscaling, then resize it to the output resolution and concatenate it back so transparency survives the upscale.

Fixes #16499
2026-09-23 14:55:20 -07:00
Daxiong (Lin) 2255709aa0 chore: update workflow templates to v0.11.69 (#16503) 2026-09-23 10:51:13 -07:00
Alexander Piskun 15ef24d1c0 [Partner Nodes] feat(Recraft): add Recraft V4.1 Flash to the V4 text-to-image node (#16501)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-23 20:57:52 +04:00
Alexander Piskun d435c29819 [Partner Nodes] feat(Anthropic): add Claude Opus 5.5 to the Claude node (#16479)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-23 20:52:53 +04:00
Alexander Piskun 5123892633 [Partner Nodes] feat(Quiver): add Arrow 2 models with reasoning effort to the SVG nodes (#16478)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-23 20:48:01 +04:00
comfyanonymous b5cc883027 Port some optimizations to flux model family. (#16488)
Lower memory when using comfy kitchen attention.

ck ops for applying norm.

.comfy_attention support in model files.
2026-09-22 23:16:13 -04:00
Jialong(Bruce) Li 912fca4f39 Fix MiniMax-H3 VAE rms_rope crash on offloaded qk_norm_scale (#16485) 2026-09-22 21:39:18 -04:00
Jukka Seppänen 95539f5634 support union cn 2.0 (#16471) 2026-09-22 12:27:09 -04:00
Jukka Seppänen 9498c42baa TextGenerate: Add system_prompt input and separate thinking output (CORE-460) (#16442)
* Add system_prompt input to TextGenerate node

* Separate output for thinking block
2026-09-22 19:24:49 +03:00
Daxiong (Lin) b33e2b55ca chore: update workflow templates to v0.11.68 (#16466) 2026-09-22 14:22:30 +08:00
Daxiong (Lin)andAlexander Piskun b09760de30 [Partner Nodes] feat(Tencent): add Hunyuan Image 3.5 text-to-image and edit nodes (#16462)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
2026-09-22 14:03:25 +08:00
comfyanonymous e638023d54 Fast disk detection to all model loaders. (#16425) 2026-09-21 21:57:06 -04:00
Jukka Seppänen fc584aaa22 Blend H3 VAE tiles against composited neighbours (#16436) 2026-09-21 21:56:39 -04:00
comfyanonymous d158420950 Cuda graphs + memory compiler on ace step 1.5 autoregressive model. (#16461) 2026-09-21 21:49:30 -04:00
comfyanonymous b16023b004 Remove torchaudio dependency. (#16457) 2026-09-21 20:56:56 -04:00
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