InvokeAI/invokeai
Martin Kristiansen a2613948d8
Feature/lru caching 2 (#4657)
* fix(nodes): do not disable invocation cache delete methods

When the runtime disabled flag is on, do not skip the delete methods. This could lead to a hit on a missing resource.

Do skip them when the cache size is 0, because the user cannot change this (must restart app to change it).

* fix(nodes): do not use double-underscores in cache service

* Thread lock for cache

* Making cache LRU

* Bug fixes

* bugfix

* Switching to one Lock and OrderedDict cache

* Removing unused imports

* Move lock cache instance

* Addressing PR comments

---------

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Co-authored-by: Martin Kristiansen <martin@modyfi.io>
2023-09-26 03:42:09 +00:00
..
app Feature/lru caching 2 (#4657) 2023-09-26 03:42:09 +00:00
assets tweaks in response to psychedelicious review of PR 2023-07-26 15:27:04 +10:00
backend Merge branch 'main' into install/install-ip-adapters 2023-09-24 23:19:25 -04:00
configs Merge branch 'main' into install/install-ip-adapters 2023-09-24 23:19:25 -04:00
frontend Maryhipp/hide use cache checkbox if disabled (#4691) 2023-09-26 03:26:15 +00:00
version Update invokeai version to 3.1.1 2023-09-12 23:07:20 -04:00
__init__.py
README

Organization of the source tree:

app -- Home of nodes invocations and services
assets -- Images and other data files used by InvokeAI
backend -- Non-user facing libraries, including the rendering
	core.
configs -- Configuration files used at install and run times
frontend -- User-facing scripts, including the CLI and the WebUI
version -- Current InvokeAI version string, stored
	in version/invokeai_version.py