-
Notifications
You must be signed in to change notification settings - Fork 21
enable CPU benchmark for VLLM Perf Dashboard. #39
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
Closed
Closed
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ec0ac36
first draft to enable CPU benchmark
louie-tsai 1201ea6
Update .github/workflows/vllm-benchmark.yml
louie-tsai c253948
fix for ROCm changes
louie-tsai 1d0271a
change to use public cpu vllm postmerge registry
louie-tsai 9cffd0e
target on 4 NUMA node EMR machine
louie-tsai aa55555
Merge branch 'main' into cpu_vllm_benchmark
louie-tsai 4bc388c
fix an CI issues on cuda and rocm
louie-tsai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| [ | ||
| { | ||
| "test_name": "latency_llama8B_tp1", | ||
| "environment_variables": { | ||
| "VLLM_ALLOW_LONG_MAX_MODEL_LEN": 1, | ||
| "VLLM_CPU_KVCACHE_SPACE": 40 | ||
| }, | ||
| "parameters": { | ||
| "model": "meta-llama/Meta-Llama-3.1-8B-Instruct", | ||
| "tensor_parallel_size": 1, | ||
| "load_format": "dummy", | ||
| "num_iters_warmup": 5, | ||
| "num_iters": 15 | ||
| } | ||
| }, | ||
| { | ||
| "test_name": "latency_llama8B_tp4", | ||
| "environment_variables": { | ||
| "VLLM_ALLOW_LONG_MAX_MODEL_LEN": 1, | ||
| "VLLM_CPU_KVCACHE_SPACE": 40 | ||
| }, | ||
| "parameters": { | ||
| "model": "meta-llama/Meta-Llama-3.1-8B-Instruct", | ||
| "tensor_parallel_size": 4, | ||
| "load_format": "dummy", | ||
| "num_iters_warmup": 5, | ||
| "num_iters": 15 | ||
| } | ||
| } | ||
| ] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
There is a bug here where
DEVICE_NAMEis set tocudaorrocmfor non-cpu cases. In these cases, the logic in.github/scripts/setup_vllm_benchmark.pywill fail to find the JSON benchmark suite because they don't have the_cudaor_rocmsuffix, only_cpuhas it.DEVICE_NAMEshould just be empty in these cases.You can see that https://github.com/pytorch/pytorch-integration-testing/actions/runs/16163751659/job/45620654542#step:13:71 found no JSON file.
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.
@huydhn you are right. made a quick change. hopefully it fixed the issue.