Cannot Start Forge. Spams Errors. RIP Dead?
I decided to spin up Forge to use alongside ComfyUI and SwarmUI, however it looks like Forge is no longer being updated or no longer works. I've tried several fixes and am using a virtual environment to avoid package conflicts, however Forge just refuses to work on a local network:
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/linux/forge/webui/venv/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/linux/forge/webui/venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/applications.py", line 1106, in __call__
await super().__call__(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
raise exc
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/route_utils.py", line 724, in __call__
await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
raise exc
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
raise e
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/linux/forge/webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/linux/forge/webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 404, in main
gradio_api_info = api_info(False)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 433, in api_info
app.api_info = app.get_blocks().get_api_info()
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 2833, in get_api_info
python_type = client_utils.json_schema_to_python_type(info)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio_client/utils.py", line 894, in json_schema_to_python_type
type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio_client/utils.py", line 968, in _json_schema_to_python_type
raise APIInfoParseError(f"Cannot parse schema {schema}")
gradio_client.utils.APIInfoParseError: Cannot parse schema {'type': 'string', 'enum': ['realisticVisionV51_v51VAE.safetensors']}
I am using the latest version on the main page, everything is updated, and I can run all other AI image generation software. Forge just refuses.
use https://github.com/Panchovix/stable-diffusion-webui-reForge
I just today tried forge with flux1-dev-bnb-nf4-v2 on my 8GB VRAM 4060 because internet searches implied it could handle the low VRAM of my GPU, and all I get is cuda out of memory crashes (on a blank default settings flux ui mode generate attempt)
Hello !
Stop Forge, Delete the venv of WebUiForge Restart Forge (and Forge makes a new venv without these errors ).....