Skip to content

Support datasets in vllm bench serve and sync with benchmark_[serving,datasets].py#18566

Merged
mgoin merged 3 commits intovllm-project:mainfrom
neuralmagic:add-vllm-bench-serve-datasets
May 27, 2025
Merged

Support datasets in vllm bench serve and sync with benchmark_[serving,datasets].py#18566
mgoin merged 3 commits intovllm-project:mainfrom
neuralmagic:add-vllm-bench-serve-datasets

Conversation

@mgoin
Copy link
Member

@mgoin mgoin commented May 22, 2025

vllm serve meta-llama/Llama-3.1-8B-Instruct --disable-log-requests

vllm bench serve --model meta-llama/Llama-3.1-8B-Instruct --endpoint-type openai-chat --endpoint /v1/chat/completions --dataset-name hf --dataset-path Aeala/ShareGPT_Vicuna_unfiltered
============ Serving Benchmark Result ============
Successful requests:                     1000      
Benchmark duration (s):                  30.85     
Total input tokens:                      229711    
Total generated tokens:                  203068    
Request throughput (req/s):              32.42     
Output token throughput (tok/s):         6582.87   
Total Token throughput (tok/s):          14029.44  
---------------Time to First Token----------------
Mean TTFT (ms):                          9626.13   
Median TTFT (ms):                        9459.70   
P99 TTFT (ms):                           12666.73  
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          77.86     
Median TPOT (ms):                        48.84     
P99 TPOT (ms):                           211.21    
---------------Inter-token Latency----------------
Mean ITL (ms):                           38.13     
Median ITL (ms):                         25.44     
P99 ITL (ms):                            214.35    
==================================================

…ng/datasets

Signed-off-by: mgoin <mgoin64@gmail.com>
@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

🚀

mgoin added 2 commits May 22, 2025 20:24
Signed-off-by: mgoin <mgoin64@gmail.com>
Signed-off-by: mgoin <mgoin64@gmail.com>
@mgoin mgoin added the ready ONLY add when PR is ready to merge/full CI is needed label May 27, 2025
@mgoin mgoin merged commit e56f44d into vllm-project:main May 27, 2025
71 checks passed
@mgoin mgoin deleted the add-vllm-bench-serve-datasets branch May 28, 2025 00:00
amitm02 pushed a commit to amitm02/vllm that referenced this pull request Jun 1, 2025
…ng,datasets].py (vllm-project#18566)

Signed-off-by: amit <amit.man@gmail.com>
sducouedic pushed a commit to sducouedic/vllm that referenced this pull request Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants