-
-
Couldn't load subscription status.
- Fork 10.9k
[Bugfix]Fix index out of range error in api server log #16787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bugfix]Fix index out of range error in api server log #16787
Conversation
Signed-off-by: WangErXiao <863579016@qq.com>
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable, thanks for fixing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
…16787) Signed-off-by: WangErXiao <863579016@qq.com> Signed-off-by: Yang Wang <elainewy@meta.com>
…16787) Signed-off-by: WangErXiao <863579016@qq.com>
…16787) Signed-off-by: WangErXiao <863579016@qq.com>
…16787) Signed-off-by: WangErXiao <863579016@qq.com> Signed-off-by: Agata Dobrzyniewicz <adobrzyniewicz@habana.ai>
…16787) Signed-off-by: WangErXiao <863579016@qq.com> Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
Fix index out of range error in api server log.
When using VLLM_DEBUG_LOG_API_SERVER_RESPONSE and curl /health api , it throw error:
vllm/entrypoints/openai/api_server.py", line 884, in log_response
logger.info("response_body={%s}", response_body[0].decode())
IndexError: list index out of range.