Testing workflow for llama3.1-8b (MLC2 self hosted runner)#286
Draft
anandhu-eng wants to merge 2 commits intomainfrom
Draft
Testing workflow for llama3.1-8b (MLC2 self hosted runner)#286anandhu-eng wants to merge 2 commits intomainfrom
anandhu-eng wants to merge 2 commits intomainfrom
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
Type of change
Related issues
Testing
Checklist
TBD
Extra Details
This workflow runs an automated performance benchmark comparing the PR branch against main, using a self-hosted GitHub GPU runner on MLC2.
Jobs
1.
setup_vllm_serversef-hosted-runner-benchmark-approvalenvironment before any GPU work begins.nvidia-smievery 60 s (up to 2 hours) until at least one GPU is free, then selects it.vllm/vllm-openai:latestcontainer (vllm_server_llama3_endpts) on port 9000, servingmeta-llama/Llama-3.1-8B-Instruct./healthendpoint until the server is ready (up to 20 min), then passes the base and head commit SHAs to downstream jobs.2.
run_benchmarks(matrix: concurrency [1, 4, 16] · max-parallel: 1)Each matrix leg runs sequentially (one at a time) and covers both branches in a single job:
llama-3.1-8b_vllm_perf_concurrency${{ matrix.target_concurrencies }}-${{ needs.setup_vllm_server.outputs.base_sha }}-${{ needs.setup_vllm_server.outputs.head_sha }}-Main.llama-3.1-8b_vllm_perf_concurrency${{ matrix.target_concurrencies }}-${{ needs.setup_vllm_server.outputs.base_sha }}-${{ needs.setup_vllm_server.outputs.head_sha }}--PR.This produces 6 artifacts in total (3 concurrency levels × 2 branches), each retained for 30 days.
3.
post_pr_commentresult_summary.jsonpair (main vs PR) per concurrency level, computes percentage deltas for QPS, TTFT (median/p90/p99), and latency (median/p90/p99), and flags any metric that regresses by more than 2%.4.
teardown_server(runsif: always())Stops and removes the vLLM container, deletes the Python venv, and cleans the workspace — regardless of whether earlier jobs succeeded or failed.
Trigger