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

make benchmark_throughput static support single image input #718

Open
wants to merge 2 commits into
base: habana_main
Choose a base branch
from

Conversation

yma11
Copy link

@yma11 yma11 commented Jan 22, 2025

No description provided.

@yma11 yma11 marked this pull request as draft January 22, 2025 02:57
@yma11 yma11 force-pushed the benchmark_image branch 3 times, most recently from 2ae39d5 to 820b5dd Compare January 27, 2025 01:47
@yma11 yma11 marked this pull request as ready for review January 27, 2025 01:48
@yma11
Copy link
Author

yma11 commented Jan 27, 2025

@kdamaszk Can you also help review this PR?

Copy link

@kdamaszk kdamaszk left a 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?

@@ -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:

Choose a reason for hiding this comment

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

Please fix ruff error

lora_request=lora_request))
if mm_data is not None:
requests.append(
SampleRequest(prompt="<|image|><|begin_of_text|>" + candidate_prompt,

Choose a reason for hiding this comment

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

Formatting

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.

2 participants