-
[Guide] InvokeAI: A Stable Diffusion Toolkit - Docker
Friends, I figured it out. The console output says this [2023-08-23 16:50:41,249]::[uvicorn.error]::INFO --> Uvicorn running on http://0.0.0.0:9090 (Press CTRL+C to quit) So I pointed to http://<my-docker-IP>:9090 and tried to use the app there. Do not use 9090, use 5173 instead, as configured in the docker template.
-
[Guide] InvokeAI: A Stable Diffusion Toolkit - Docker
Thanks for this, OP, much appreciated. I'm getting the following error when clicking "Invoke" for the first time after the container successfully starts. [2023-08-23 15:52:01,758]::[uvicorn.access]::INFO --> 192.168.0.165:51221 - "POST /api/v1/sessions/ HTTP/1.1" 200 [2023-08-23 15:52:01,778]::[uvicorn.error]::DEBUG --> < TEXT '42["unsubscribe",{"session":"4cdb7088-dedc-4b12-98b0-9ffddac5428c"}]' [68 bytes] [2023-08-23 15:52:01,781]::[uvicorn.error]::DEBUG --> < TEXT '42["subscribe",{"session":"eb903a5d-0b69-46d3-9054-1104f5818247"}]' [66 bytes] [2023-08-23 15:52:01,797]::[uvicorn.access]::INFO --> 192.168.0.165:51221 - "PUT /api/v1/sessions/eb903a5d-0b69-46d3-9054-1104f5818247/invoke?all=true HTTP/1.1" 500 [2023-08-23 15:52:01,798]::[uvicorn.error]::ERROR --> Exception in ASGI application Traceback (most recent call last): File "/home/invokeuser/venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 436, in run_asgi result = await app( # type: ignore[func-returns-value] File "/home/invokeuser/venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__ return await self.app(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/fastapi/applications.py", line 270, in __call__ await super().__call__(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/applications.py", line 124, in __call__ await self.middleware_stack(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 92, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 147, in simple_response await self.app(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/fastapi_events/middleware.py", line 43, in __call__ await self.app(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/home/invokeuser/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__ raise e File "/home/invokeuser/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/routing.py", line 706, in __call__ await route.handle(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/home/invokeuser/venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app response = await func(request) File "/home/invokeuser/venv/lib/python3.10/site-packages/fastapi/routing.py", line 235, in app raw_response = await run_endpoint_function( File "/home/invokeuser/venv/lib/python3.10/site-packages/fastapi/routing.py", line 161, in run_endpoint_function return await dependant.call(**values) File "/home/invokeuser/InvokeAI/invokeai/app/api/routers/sessions.py", line 263, in invoke_session ApiDependencies.invoker.invoke(session, invoke_all=all) File "/home/invokeuser/InvokeAI/invokeai/app/services/invoker.py", line 25, in invoke invocation = graph_execution_state.next() File "/home/invokeuser/InvokeAI/invokeai/app/services/graph.py", line 772, in next prepared_id = self._prepare() File "/home/invokeuser/InvokeAI/invokeai/app/services/graph.py", line 960, in _prepare create_results = self._create_execution_node(next_node_id, iteration_mappings) # type: ignore File "/home/invokeuser/InvokeAI/invokeai/app/services/graph.py", line 875, in _create_execution_node self.execution_graph.add_edge(new_edge) File "/home/invokeuser/InvokeAI/invokeai/app/services/graph.py", line 302, in add_edge self._validate_edge(edge) File "/home/invokeuser/InvokeAI/invokeai/app/services/graph.py", line 391, in _validate_edge raise InvalidEdgeError( invokeai.app.services.graph.InvalidEdgeError: Fields are incompatible: cannot connect 143a9a08-8a5e-4311-b3fe-d72618510e4f.a to 81e29919-cb5f-4e1b-98d3-cc8284e34ee6.start If anyone has any idea how to resolve this, will appreciate your help very much. Cheers.
wildfyre
Members
-
Joined
-
Last visited