Skip to content

[Usage]: How to make model response information appear in the vllm backend logs #10602

Closed
@nora647

Description

@nora647

Your current environment

I am deploying a qwen2.5-7b model via vllm serve Qwen/Qwen2.5-7B-Instruct with api calls using the langchain framework.

vllm serve Qwen/Qwen2.5-7B-Instruct

But in the process of using it, I found that the vllm background log only records the log of requests to llm, and does not record the log of llm replies, which is very inconvenient in program debugging.
1db554ad959899f82124ab9cd80d923

I would like to know how to make vllm background log can record model reply information in real time.For example, as shown in the following figure
af26d8187b66d9c6eac2abba5cccf81

How would you like to use vllm

I would like to know how to make vllm background log can record model reply information in real time.For example, as shown in the following figure.Thank you!

af26d8187b66d9c6eac2abba5cccf81

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    usageHow to use vllm

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions