Skip to content
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

Telemetry Support #1376

Closed
simon-mo opened this issue Oct 16, 2023 · 5 comments
Closed

Telemetry Support #1376

simon-mo opened this issue Oct 16, 2023 · 5 comments
Assignees

Comments

@simon-mo
Copy link
Collaborator

We should add telemetry for collecting anonymized information to inform project roadmap. Currently, we are unsure about the following:

  • The types of hardware, specifically GPU types.
  • The relevant performance counters (latency, memory usage) and effectiveness of PagedAttention Kernel.
  • The cloud providers vLLM is running on.
  • The type of architecture and models users are using.

The lack of such visibility and signals harms our prioritization. We are a small team with very little resource; therefore, we want whatever we focus on to be most impactful.

The telemetry would be on by default for CLI and Docker usage. It can be opt-out easily using environment variable/config switches. For library usage (import vllm), I think it would be trickier but we can experiment with turning it on.

Whatever data we collect and the resulting dashboard will be publicly visible.

@simon-mo simon-mo self-assigned this Oct 16, 2023
@simon-mo
Copy link
Collaborator Author

Current design for a v0:

  • Add a hook to LLMEngine class to send information on initialization.
  • Gather GPU configuration and topology, model type, and the entrypoint to vLLM (TGI, TensorRT, Ray Serve, vLLM Server).
  • Allowing disabling of telemetry via environment variable DO_NOT_TRACK, VLLM_NO_USAGE_STATS or a simple configuration file mkdir -p $HOME/.config/vllm/do_not_track.

Generally following the example from Ray here: https://docs.ray.io/en/latest/cluster/usage-stats.html

@simon-mo
Copy link
Collaborator Author

For the server side, we can host a vector.dev http server for log collection. This gives us flexibility choosing and multiplexing the destinations. It can also be used locally for development.

This was referenced Feb 13, 2024
@hmellor
Copy link
Collaborator

hmellor commented Mar 13, 2024

@simon-mo is this work still planned?

@gyliu513
Copy link

gyliu513 commented Apr 2, 2024

Related with #3789

@simon-mo
Copy link
Collaborator Author

simon-mo commented Apr 2, 2024

Oh this is mostly usage stats collection and it has been released, therefore closing.

This is not related to OpenTelemetry.

@simon-mo simon-mo closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants