-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
This is the error message
2023-09-11 18:09:50 | INFO | stdout | INFO: 137.195.243.7:45492 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
2023-09-11 18:09:50 | ERROR | stderr | ERROR: Exception in ASGI application
2023-09-11 18:09:50 | ERROR | stderr | Traceback (most recent call last):
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
2023-09-11 18:09:50 | ERROR | stderr | result = await app( # type: ignore[func-returns-value]
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
2023-09-11 18:09:50 | ERROR | stderr | return await self.app(scope, receive, send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/fastapi/applications.py", line 292, in call
2023-09-11 18:09:50 | ERROR | stderr | await super().call(scope, receive, send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
2023-09-11 18:09:50 | ERROR | stderr | await self.middleware_stack(scope, receive, send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in call
2023-09-11 18:09:50 | ERROR | stderr | raise exc
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in call
2023-09-11 18:09:50 | ERROR | stderr | await self.app(scope, receive, _send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in call
2023-09-11 18:09:50 | ERROR | stderr | await self.app(scope, receive, send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
2023-09-11 18:09:50 | ERROR | stderr | raise exc
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
2023-09-11 18:09:50 | ERROR | stderr | await self.app(scope, receive, sender)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
2023-09-11 18:09:50 | ERROR | stderr | raise e
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
2023-09-11 18:09:50 | ERROR | stderr | await self.app(scope, receive, send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
2023-09-11 18:09:50 | ERROR | stderr | await route.handle(scope, receive, send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
2023-09-11 18:09:50 | ERROR | stderr | await self.app(scope, receive, send)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
2023-09-11 18:09:50 | ERROR | stderr | response = await func(request)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/fastapi/routing.py", line 273, in app
2023-09-11 18:09:50 | ERROR | stderr | raw_response = await run_endpoint_function(
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
2023-09-11 18:09:50 | ERROR | stderr | return await dependant.call(**values)
2023-09-11 18:09:50 | ERROR | stderr | File "/home/remote/dh143/Environments/anaconda3/envs/llm-spring/lib/python3.10/site-packages/fastchat/serve/openai_api_server.py", line 408, in create_chat_completion
2023-09-11 18:09:50 | ERROR | stderr | message=ChatMessage(role="assistant", content=content["text"]),
2023-09-11 18:09:50 | ERROR | stderr | File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
2023-09-11 18:09:50 | ERROR | stderr | pydantic.error_wrappers.ValidationError: 1 validation error for ChatMessage
2023-09-11 18:09:50 | ERROR | stderr | content
2023-09-11 18:09:50 | ERROR | stderr | str type expected (type=type_error.str)
commit a5e6abf introduced the changes in vllm_worker.py that are causing this behaviour