InvokeAI/invokeai/app/services
psychedelicious 810fc19e43 feat(nodes): log stats for canceled graphs
When an invocation is canceled, we consider the graph canceled. Log its graph's stats before resetting its graph's stats. No reason to not log these stats.

We also should stop the profiler at this point, because this graph is finished. If we don't stop it manually, it will stop itself and write the profile to disk when it is next started, but the resultant profile will include more than just its target graph.

Now we get both stats and profiles for canceled graphs.
2024-02-07 11:26:15 +11:00
..
board_image_records feat(db): add SQLiteMigrator to perform db migrations 2023-12-11 16:14:25 +11:00
board_images feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
board_records feat(db): add SQLiteMigrator to perform db migrations 2023-12-11 16:14:25 +11:00
boards feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
config pref: annotate 2024-02-03 10:18:26 +11:00
download Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
events Model Manager Refactor: Install remote models and store their tags and other metadata (#5361) 2024-01-14 19:54:53 +00:00
image_files feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00
image_records feat(db): add SQLiteMigrator to perform db migrations 2023-12-11 16:14:25 +11:00
images feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00
invocation_cache feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
invocation_processor feat(nodes): log stats for canceled graphs 2024-02-07 11:26:15 +11:00
invocation_queue feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00
invocation_stats chore(invocation-stats): improve types in _prune_stale_stats 2024-02-03 07:34:06 -05:00
item_storage chore(item-storage): improve types 2024-02-03 07:34:06 -05:00
latents_storage feat(backend): move logic to clear latents to method 2023-12-01 17:44:07 -08:00
model_install Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
model_manager chore: flake8 2023-10-30 01:49:10 +11:00
model_records Model Manager Refactor: Install remote models and store their tags and other metadata (#5361) 2024-01-14 19:54:53 +00:00
names feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
session_processor feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00
session_queue feat(db): add SQLiteMigrator to perform db migrations 2023-12-11 16:14:25 +11:00
shared Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
urls feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
workflow_records add project as category to back-end 2024-01-24 10:59:04 +11:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
invocation_services.py [feature] Download Queue (#5225) 2023-12-22 12:35:57 -05:00
invoker.py feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00