InvokeAI/invokeai/app/services/pickle_storage
psychedelicious de0b72528c feat(nodes): replace latents service with tensors and conditioning services
- New generic class `PickleStorageBase`, implements the same API as `LatentsStorageBase`, use for storing non-serializable data via pickling
- Implementation `PickleStorageTorch` uses `torch.save` and `torch.load`, same as `LatentsStorageDisk`
- Add `tensors: PickleStorageBase[torch.Tensor]` to `InvocationServices`
- Add `conditioning: PickleStorageBase[ConditioningFieldData]` to `InvocationServices`
- Remove `latents` service and all `LatentsStorage` classes
- Update `InvocationContext` and all usage of old `latents` service to use the new services/context wrapper methods
2024-02-15 17:30:03 +11:00
..
pickle_storage_base.py feat(nodes): replace latents service with tensors and conditioning services 2024-02-15 17:30:03 +11:00
pickle_storage_forward_cache.py feat(nodes): replace latents service with tensors and conditioning services 2024-02-15 17:30:03 +11:00
pickle_storage_torch.py feat(nodes): replace latents service with tensors and conditioning services 2024-02-15 17:30:03 +11:00