我用了本地下载的7b模型,放到DB-GPT/models下,llmserver可以正常启动,webserver也能启动,对话中报错
NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE. (error_code: 4)
后台WEB SERVER报错
playsound is relying on another python subprocess. Please use pip install pygobject if you want playsound to run more efficiently.
2023-05-16 17:59:55 | INFO | webserver | args: Namespace(host='0.0.0.0', port=None, concurrency_count=10, model_list_mode='once', share=False)
2023-05-16 17:59:55 | INFO | stdout | /home/dbgpt/DB-GPT/pilot/server
2023-05-16 17:59:55 | INFO | stdout | Allowlisted Plugins: []
2023-05-16 17:59:55 | DEBUG | LOGGER | Allowlisted Plugins: []
2023-05-16 17:59:55 | INFO | stdout | Denylisted Plugins: []
2023-05-16 17:59:55 | DEBUG | LOGGER | Denylisted Plugins: []
2023-05-16 17:59:55 | INFO | webserver | Namespace(host='0.0.0.0', port=None, concurrency_count=10, model_list_mode='once', share=False)
2023-05-16 18:00:06 | INFO | stdout | Running on local URL: http://0.0.0.0:7860
2023-05-16 18:00:06 | INFO | stdout |
2023-05-16 18:00:06 | INFO | stdout | To create a public link, set share=True in launch().
2023-05-16 18:00:21 | ERROR | stderr | ERROR: Exception in ASGI application
2023-05-16 18:00:21 | ERROR | stderr | Traceback (most recent call last):
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 254, in run_asgi
2023-05-16 18:00:21 | ERROR | stderr | result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
2023-05-16 18:00:21 | ERROR | stderr | return await self.app(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/applications.py", line 276, in call
2023-05-16 18:00:21 | ERROR | stderr | await super().call(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
2023-05-16 18:00:21 | ERROR | stderr | await self.middleware_stack(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 149, in call
2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 76, in call
2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
2023-05-16 18:00:21 | ERROR | stderr | raise exc
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, sender)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
2023-05-16 18:00:21 | ERROR | stderr | raise e
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
2023-05-16 18:00:21 | ERROR | stderr | await route.handle(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/routing.py", line 341, in handle
2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/routing.py", line 82, in app
2023-05-16 18:00:21 | ERROR | stderr | await func(session)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/routing.py", line 289, in app
2023-05-16 18:00:21 | ERROR | stderr | await dependant.call(**values)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/gradio/routes.py", line 502, in join_queue
2023-05-16 18:00:21 | ERROR | stderr | session_info = await asyncio.wait_for(
2023-05-16 18:00:21 | ERROR | stderr | File "/root/miniconda3/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
2023-05-16 18:00:21 | ERROR | stderr | return fut.result()
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/websockets.py", line 133, in receive_json
2023-05-16 18:00:21 | ERROR | stderr | self._raise_on_disconnect(message)
2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/websockets.py", line 105, in _raise_on_disconnect
2023-05-16 18:00:21 | ERROR | stderr | raise WebSocketDisconnect(message["code"])
2023-05-16 18:00:21 | ERROR | stderr | starlette.websockets.WebSocketDisconnect: 1001
2023-05-16 18:00:22 | INFO | webserver | load_demo. ip: 127.0.0.1. params: {'__theme': 'dark'}
我用了本地下载的7b模型,放到DB-GPT/models下,llmserver可以正常启动,webserver也能启动,对话中报错 NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE. (error_code: 4)
后台WEB SERVER报错 playsound is relying on another python subprocess. Please use
pip install pygobject
if you want playsound to run more efficiently. 2023-05-16 17:59:55 | INFO | webserver | args: Namespace(host='0.0.0.0', port=None, concurrency_count=10, model_list_mode='once', share=False) 2023-05-16 17:59:55 | INFO | stdout | /home/dbgpt/DB-GPT/pilot/server 2023-05-16 17:59:55 | INFO | stdout | Allowlisted Plugins: [] 2023-05-16 17:59:55 | DEBUG | LOGGER | Allowlisted Plugins: [] 2023-05-16 17:59:55 | INFO | stdout | Denylisted Plugins: [] 2023-05-16 17:59:55 | DEBUG | LOGGER | Denylisted Plugins: [] 2023-05-16 17:59:55 | INFO | webserver | Namespace(host='0.0.0.0', port=None, concurrency_count=10, model_list_mode='once', share=False) 2023-05-16 18:00:06 | INFO | stdout | Running on local URL: http://0.0.0.0:7860 2023-05-16 18:00:06 | INFO | stdout | 2023-05-16 18:00:06 | INFO | stdout | To create a public link, setshare=True
inlaunch()
. 2023-05-16 18:00:21 | ERROR | stderr | ERROR: Exception in ASGI application 2023-05-16 18:00:21 | ERROR | stderr | Traceback (most recent call last): 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 254, in run_asgi 2023-05-16 18:00:21 | ERROR | stderr | result = await self.app(self.scope, self.asgi_receive, self.asgi_send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call 2023-05-16 18:00:21 | ERROR | stderr | return await self.app(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/applications.py", line 276, in call 2023-05-16 18:00:21 | ERROR | stderr | await super().call(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/applications.py", line 122, in call 2023-05-16 18:00:21 | ERROR | stderr | await self.middleware_stack(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 149, in call 2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 76, in call 2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call 2023-05-16 18:00:21 | ERROR | stderr | raise exc 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call 2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, sender) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call 2023-05-16 18:00:21 | ERROR | stderr | raise e 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call 2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/routing.py", line 718, in call 2023-05-16 18:00:21 | ERROR | stderr | await route.handle(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/routing.py", line 341, in handle 2023-05-16 18:00:21 | ERROR | stderr | await self.app(scope, receive, send) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/routing.py", line 82, in app 2023-05-16 18:00:21 | ERROR | stderr | await func(session) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/fastapi/routing.py", line 289, in app 2023-05-16 18:00:21 | ERROR | stderr | await dependant.call(**values) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/gradio/routes.py", line 502, in join_queue 2023-05-16 18:00:21 | ERROR | stderr | session_info = await asyncio.wait_for( 2023-05-16 18:00:21 | ERROR | stderr | File "/root/miniconda3/lib/python3.10/asyncio/tasks.py", line 445, in wait_for 2023-05-16 18:00:21 | ERROR | stderr | return fut.result() 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/websockets.py", line 133, in receive_json 2023-05-16 18:00:21 | ERROR | stderr | self._raise_on_disconnect(message) 2023-05-16 18:00:21 | ERROR | stderr | File "/home/dbgpt/.local/lib/python3.10/site-packages/starlette/websockets.py", line 105, in _raise_on_disconnect 2023-05-16 18:00:21 | ERROR | stderr | raise WebSocketDisconnect(message["code"]) 2023-05-16 18:00:21 | ERROR | stderr | starlette.websockets.WebSocketDisconnect: 1001 2023-05-16 18:00:22 | INFO | webserver | load_demo. ip: 127.0.0.1. params: {'__theme': 'dark'}