-
Notifications
You must be signed in to change notification settings - Fork 66
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
make benchmark_throughput static support single image input #718
base: habana_main
Are you sure you want to change the base?
Conversation
2ae39d5
to
820b5dd
Compare
@kdamaszk Can you also help review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michalkuligowski @kzawora-intel please review, this PR modifies native vllm benchmark. Is that ok?
benchmarks/benchmark_throughput.py
Outdated
@@ -363,35 +374,46 @@ def main(args: argparse.Namespace): | |||
lora_request, lora_tokenizer = get_random_lora_request(args) | |||
if lora_tokenizer: | |||
request_tokenizer = lora_tokenizer | |||
|
|||
if args.mm_data: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix ruff error
benchmarks/benchmark_throughput.py
Outdated
lora_request=lora_request)) | ||
if mm_data is not None: | ||
requests.append( | ||
SampleRequest(prompt="<|image|><|begin_of_text|>" + candidate_prompt, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting
Signed-off-by: yan ma <[email protected]>
Signed-off-by: yan ma <[email protected]>
No description provided.