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

Add benchmark serving to CI #2505

Merged
merged 6 commits into from
Jan 20, 2024

Conversation

simon-mo
Copy link
Collaborator

@simon-mo simon-mo commented Jan 19, 2024

  • Currently we are downloading the full sharegpt but only sending 20 prompts, consider either smaller dataset or generate dummy inputs

Copy link
Collaborator

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@simon-mo
Copy link
Collaborator Author

Working!

Serving Benchmarks
Namespace(backend='vllm', host='localhost', port=8000, endpoint='/v1/completions', model='meta-llama/Llama-2-7b-chat-hf', dataset='./ShareGPT_V3_unfiltered_cleaned_split.json', tokenizer='meta-llama/Llama-2-7b-chat-hf', best_of=1, use_beam_search=False, num_prompts=20, request_rate=inf, seed=0, trust_remote_code=False)

Total time: 58.91 s Throughput: 0.34 requests/s Average latency: 18.55 s Average latency per token: 0.05 s Average latency per output token: 0.10 s

@simon-mo simon-mo merged commit 00efdc8 into vllm-project:main Jan 20, 2024
16 checks passed
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 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

Successfully merging this pull request may close these issues.

None yet

2 participants