InvokeAI/invokeai/app/services/invocation_processor
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
..
__init__.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
invocation_processor_base.py chore: ruff format 2023-11-11 10:55:40 +11:00
invocation_processor_common.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
invocation_processor_default.py feat(nodes): log stats for canceled graphs 2024-02-07 11:26:15 +11:00