Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(execution): resolve remaining CI regressions
JPPhoto1e7fe37fb491
diff --git a/invokeai/app/services/session_processor/session_processor_default.py b/invokeai/app/services/session_processor/session_processor_default.pyindex 70435e58f1..17e4f83b51 100644--- a/invokeai/app/services/session_processor/session_processor_default.py+++ b/invokeai/app/services/session_processor/session_processor_default.py@@ -226,7 +226,7 @@ class DefaultSessionRunner(SessionRunnerBase):# down with it — and it does not fail closed (see `queue_owner_is_active`).# A suspended workflow call is not `is_complete()`, so it is untouched here# and re-checked when the parent resumes.- if session_finished and not queue_item.session.has_error():+ if session_finished and not already_terminal and not queue_item.session.has_error():if self._cancel_if_owner_revoked(queue_item, unreadable_is_active=True):breakif not already_terminal:diff --git a/invokeai/app/services/shared/graph.py b/invokeai/app/services/shared/graph.pyindex 431727920c..5f6f47cf7b 100644--- a/invokeai/app/services/shared/graph.py+++ b/invokeai/app/services/shared/graph.py@@ -3618,7 +3618,10 @@ class GraphExecutionState(BaseModel):return self._materializer().create_execution_node(node_id, iteration_node_map, enforce_admission=False)def _iterator_graph(self, base: Optional["nx.DiGraph"] = None) -> "nx.DiGraph":- if self._can_use_generic_for_scheduler():+ if (+ isinstance(self._execution_scheduler, _GenericGraphSchedulerAdapter)+ and self._can_use_generic_for_scheduler()+ ):return self._for_planner().iterator_graph(base)return self._materializer().iterator_graph(base)