InvokeAI/invokeai/app/services/latents_storage
psychedelicious 1fd6666682 feat(backend): clear latents files on startup
Adds logic to `DiskLatentsStorage.start()` to empty the latents folder on startup.

Adds start and stop methods to `ForwardCacheLatentsStorage`. This is required for `DiskLatentsStorage.start()` to be called, due to how this particular service breaks the direct DI pattern, wrapping the underlying storage with a cache.
2023-12-01 17:44:07 -08:00
..
__init__.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
latents_storage_base.py chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
latents_storage_disk.py feat(backend): clear latents files on startup 2023-12-01 17:44:07 -08:00
latents_storage_forward_cache.py feat(backend): clear latents files on startup 2023-12-01 17:44:07 -08:00