Skip to content

[Feature]: Model FLOPs Utilization Reporting #24190

@bwasti

Description

@bwasti

🚀 The feature, motivation and pitch

I'm working on inference optimization and would like Model FLOPs Utilization (MFU) to be more readily reported by vLLM. It knows the model and it knows the hardware -- that's all you need!

I'd like to open this issue for discussion on the best way to report MFU. Some open questions include:

  • where does this get dumped? periodically printed like the speculative decoding metrics?
  • should it be always on or require something like "/start_profile"?
  • should care be taken to make FLOP counts exact (and unreported if the model isn't supported) or can simple approximations be used? (e.g. 2x # params)
  • for hardware peak should we compile + check in vendor metrics? should we use simple approximations (e.g. number of tensorcores * clock)?

In general I would like to volunteer to help build out a calculator.

Alternatives

manual calculation

Additional context

No response

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

    feature requestNew feature or requeststaleOver 90 days of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions