Repository navigation
fix(templates): decode SeedVR2 latents without tiled VAE nodes - #1506
comfyui-wiki wants to merge 2 commits into
Conversation
The SeedVR2 VAE slices its own encode/decode now (comfy/ldm/seedvr/vae.py slicing_decode), and sd.py falls back to spatial-only tiling on OOM, so the external VAEEncodeTiled/VAEDecodeTiled pair only added seams. Swap both for the plain nodes in the three native SeedVR2 templates. The 3B notes gain a model-choice section: ByteDance replaced the 3B checkpoint upstream, and seedvr2_3b_old_int8_convrot.safetensors (the earlier, softer-looking one) is now a switchable option.
ComfyUI Node Compatibility ReportInformational only — this check does not block merging. Baseline: static scan of ComfyUI source — reports removed/deprecated core nodes only. Status: review suggested — some templates may use removed, deprecated, or outdated node settings.
Baseline: mode At a glance
Issue types
What each issue type means
Details🟡 Warnings — 1 template(s), 1 finding(s). Deprecated nodes — migrate when convenient
This comment is automatically updated by the ComfyUI Node Compatibility Report workflow. |
🔤 Spellcheck Results
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
The SeedVR2 VAE slices its own encode and decode now:
decode()goes straight throughslicing_decode(comfy/ldm/seedvr/vae.py), andcomfy/sd.pyretries with the VAE's own spatial tiling when the regular pass runs out of memory. The externalVAEEncodeTiled/VAEDecodeTiledpair therefore only adds work: the file comments note that external temporal tiling breaks the causal VAE'sMemoryStatecontinuity.Changes
utility_seedvr2_3b_int8_upscale_video,utility_seedvr2_3b_int8_upscale_image,utility_seedvr2_7b_int8_upscale_image:VAEEncodeTiled→VAEEncode,VAEDecodeTiled→VAEDecodeinside the subgraphs. Node ids, links and promoted widgets are untouched — the tile parameters were never promoted;properties["Node name for S&R"]is updated with the type.seedvr2_3b_old_int8_convrot.safetensors(already inComfy-Org/SeedVR2, 3.22 GB) is the earlier 3B that most custom-node setups run — weaker, but softer and cleaner. Switchingunet_namecompares the two; nothing else changes.Verification
pnpm sync:templates+validate_templates,validate_thumbnails,validate_manifests,validate_blueprints,check_input_assetsall pass locally. (sync:templatesstill reports the pre-existing spellcheck hit on"AI's"inindex.json, untouched by this PR.)Comfy-Org/SeedVR2weights: 3B image success in 5.2 s, 3B video success in 50.5 s, bothnode_errorsempty. The video decode hitRan out of memory when regular VAE decoding, retrying with tiled VAE decodingonce and recovered through the VAE's own spatial slicing — output has no periodic seams, and neighbouring-frame error spikes only where the source clip cuts.Not in this PR
ComfyUI ships a subgraph blueprint for the same workflow (
blueprints/Upscale Video (SeedVR2 3B Int8).json, nodes 106/110) that still uses the tiled pair. Updating it is a ComfyUI change; the mirror here is imported read-only viascripts/blueprints/import_blueprints.py.