InvokeAI/invokeai/app/services/item_storage
psychedelicious fe0391c86b feat(nodes): use ItemStorageABC for tensors and conditioning
Turns out `ItemStorageABC` was almost identical to `PickleStorageBase`. Instead of maintaining separate classes, we can use `ItemStorageABC` for both.

There's only one change needed - the `ItemStorageABC.set` method must return the newly stored item's ID. This allows us to let the service handle the responsibility of naming the item, but still create the requisite output objects during node execution.

The naming implementation is improved here. It extracts the name of the generic and appends a UUID to that string when saving items.
2024-02-15 17:30:03 +11:00
..
__init__.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
item_storage_base.py feat(nodes): use ItemStorageABC for tensors and conditioning 2024-02-15 17:30:03 +11:00
item_storage_common.py fix(item-storage-memory): throw when requested item does not exist 2024-02-03 07:34:06 -05:00
item_storage_ephemeral_disk.py feat(nodes): use ItemStorageABC for tensors and conditioning 2024-02-15 17:30:03 +11:00
item_storage_forward_cache.py feat(nodes): use ItemStorageABC for tensors and conditioning 2024-02-15 17:30:03 +11:00
item_storage_memory.py feat(nodes): use ItemStorageABC for tensors and conditioning 2024-02-15 17:30:03 +11:00