Initial commit: save/load latent nodes with absolute path support

Preserves full LATENT dict including tensors, non-tensor metadata, and original device placement.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 15:47:47 +01:00
commit eba1de975b
2 changed files with 90 additions and 0 deletions

13
__init__.py Normal file
View File

@@ -0,0 +1,13 @@
from .nodes import SaveLatentAbsolute, LoadLatentAbsolute
NODE_CLASS_MAPPINGS = {
"SaveLatentAbsolute": SaveLatentAbsolute,
"LoadLatentAbsolute": LoadLatentAbsolute,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"SaveLatentAbsolute": "Save Latent (Absolute Path)",
"LoadLatentAbsolute": "Load Latent (Absolute Path)",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]