Skip to content

Conversation

StevenShi-23
Copy link
Contributor

@StevenShi-23 StevenShi-23 commented Apr 3, 2025

This PR updates benchmark README for the latest change from #15955 . Also, it adds AIMODataset to benchmark_throughput.py

@JenZhao @ywang96 Thank you for the comments!

Copy link

github-actions bot commented Apr 3, 2025

👋 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.

🚀


elif args.dataset_path in AIMODataset.SUPPORTED_DATASET_PATHS:
dataset_cls = AIMODataset
common_kwargs['dataset_subset'] = args.hf_subset
Copy link
Contributor

Choose a reason for hiding this comment

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

if dataset_subset is not needed by this dataset you can put it as None

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, thanks for the comments. I leave it because hf_subset by default is None. I'll explicit set it to None to avoid error.

--backend vllm \
--dataset-name hf \
--dataset-path AI-MO/aimo-validation-aime \
--hf-split train \
Copy link
Contributor

Choose a reason for hiding this comment

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

you can remove this line --hf-split train \

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@JenZhao
Copy link
Contributor

JenZhao commented Apr 3, 2025

Thank you! As a precaution, could you run both online and offline with the same seed to see if the token counts match?

@StevenShi-23
Copy link
Contributor Author

Thank you! As a precaution, could you run both online and offline with the same seed to see if the token counts match?

I ran the offline and online benchmark with the same seed, and the input token count did not match (1204 vs 1229). But the token count is reproducible within offline or online benchmark itself using the same seed.

I think it may deserve a separate PR to investigate it.

Comment on lines 479 to 480
elif args.dataset_path in AIMODataset.SUPPORTED_DATASET_PATHS:
assert args.backend == "vllm", "AIMODataset needs to use vllm as the backend." #noqa: E501
Copy link
Member

Choose a reason for hiding this comment

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

Hmm this if elif is growing quite long so let me push a change to make it cleaner

Signed-off-by: Roger Wang <[email protected]>
@ywang96 ywang96 enabled auto-merge (squash) April 4, 2025 16:27
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Apr 4, 2025
@vllm-bot vllm-bot merged commit 95862f7 into vllm-project:main Apr 4, 2025
13 of 19 checks passed
Alex4210987 pushed a commit to LeiWang1999/vllm-bitblas that referenced this pull request Apr 5, 2025
…#15998)

Signed-off-by: StevenShi-23 <[email protected]>
Signed-off-by: Roger Wang <[email protected]>
Co-authored-by: Roger Wang <[email protected]>
Signed-off-by: xinyuxiao <[email protected]>
lulmer pushed a commit to lulmer/vllm that referenced this pull request Apr 7, 2025
…#15998)

Signed-off-by: StevenShi-23 <[email protected]>
Signed-off-by: Roger Wang <[email protected]>
Co-authored-by: Roger Wang <[email protected]>
Signed-off-by: Louis Ulmer <[email protected]>
lk-chen pushed a commit to lk-chen/vllm that referenced this pull request Apr 29, 2025
shreyankg pushed a commit to shreyankg/vllm that referenced this pull request May 3, 2025
RichardoMrMu pushed a commit to RichardoMrMu/vllm that referenced this pull request May 12, 2025
…#15998)

Signed-off-by: StevenShi-23 <[email protected]>
Signed-off-by: Roger Wang <[email protected]>
Co-authored-by: Roger Wang <[email protected]>
Signed-off-by: Mu Huai <[email protected]>
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.

4 participants