Commit Graph

3 Commits

Author SHA1 Message Date
Ethanfel f8b19994a8 Fix load latent compatibility with ComfyUI-saved latent files
ComfyUI saves latents under key 'latent_tensor', remap to 'samples'
so downstream nodes get the expected LATENT dict format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 00:08:40 +01:00
Ethanfel e5ca7a1224 Fix latent save node to skip non-serializable values in metadata
LATENT dicts can contain nested tensors or other non-JSON-serializable
objects. Filter them out instead of crashing on json.dumps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 00:06:10 +01:00
Ethanfel d2f00d1141 Add Save/Load Latent (Absolute Path) nodes from Comfyui-save-latent
Consolidates SaveLatentAbsolute and LoadLatentAbsolute into this project
as latent_node.py. Saves and loads LATENT data to absolute file paths in
safetensors format, preserving device info and non-tensor metadata.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:50:24 +01:00