Skip to content

[Bug][Spec Decode]: TPOT in prometheus is ITL in vllm serve #19776

@ekagra-ranjan

Description

@ekagra-ranjan

🐛 Describe the bug

There are 2 different kinds of metrics: ITL and TPOT. They are same for non SD model but are different for SD models. As per vLLM serve benchmark script, ITL measures the time to generate in 1 scheduler step whereas TPOT measures the time to generate 1 token.

However, the prometheus metric measures TPOT as this which corresponds to ITL in vLLM serve benchmark and contradicts with the behavior of TPOT. I think it should be renamed as ITL.

Also, is it possible to log the correct value for TPOT on prometheus so that one can measure the Output tokens/s reliably using prometheus?

cc: @markmc

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