InvokeAI/invokeai/app/api/routers
psychedelicious 725c03cf87 refactor(nodes): merge processors
Consolidate graph processing logic into session processor.

With graphs as the unit of work, and the session queue distributing graphs, we no longer need the invocation queue or processor.

Instead, the session processor dequeues the next session and processes it in a simple loop, greatly simplifying the app.

- Remove `graph_execution_manager` service.
- Remove `queue` (invocation queue) service.
- Remove `processor` (invocation processor) service.
- Remove queue-related logic from `Invoker`. It now only starts and stops the services, providing them with access to other services.
- Remove unused `invocation_retrieval_error` and `session_retrieval_error` events, these are no longer needed.
- Clean up stats service now that it is less coupled to the rest of the app.
- Refactor cancellation logic - cancellations now originate from session queue (i.e. HTTP cancel endpoint) and are emitted as events. Processor gets the events and sets the canceled event. Access to this event is provided to the invocation context for e.g. the step callback.
- Remove `sessions` router; it provided access to `graph_executions` but that no longer exists.
2024-03-01 10:42:33 +11:00
..
app_info.py Added full-version endpoint (#5206) 2023-12-04 02:57:39 +00:00
board_images.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
boards.py feat: refactor services folder/module structure 2023-10-12 12:15:06 -04:00
download_queue.py fix a number of typechecking errors 2024-03-01 10:42:33 +11:00
images.py tidy(nodes): move all field things to fields.py 2024-03-01 10:42:33 +11:00
model_manager.py final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
session_queue.py feat: remove enqueue_graph routes/methods (#4922) 2023-10-17 18:00:40 +00:00
utilities.py feat(api): add max_prompts constraints 2023-12-29 08:26:14 -05:00
workflows.py feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00