Skip to content

[Bug]: top_logrpobs generating a WARNING #13880

@FilippoBoni1921

Description

@FilippoBoni1921

Your current environment

Using vllm v0.7.3

🐛 Describe the bug

When making a request via the OpenAI API using the top_logprobs atgument, the logging of the request shows a warning that says:

The following fields were present in the request but ignore: {'top_logprobs'}

This behaviour should be reserved to the args in the request that are not expected by the ChatCompletionRequest() class, but top_logprobs is actually part of its args.

This warning is raised by the function __log_extra_fields__() in vllm/entrypoints/openai/protocol.py. The warning started to appear in version v0.7.1 and I think was introduced in the PR #12420 (I would like to tag @maxdebayser for more some help :))

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions