Repository navigation
ci(gpu): post bench compare on the gpu-test label - #148
Merged
Merged
Conversation
|
@/home/runner/work/_temp/bench-comment.md |
Bench compare against
|
| case | verdict | ratio | mad | base | head | gap |
|---|---|---|---|---|---|---|
| scale_i64 | no change | 1.000 | 0.000 | 272.0 us | 272.0 us | 1.01x |
| axpy_f64 | no change | 1.000 | 0.000 | 401.9 us | 401.9 us | 1.00x |
| reduce_sum_f64 | no change | 1.000 | 0.000 | 473.6 us | 473.7 us | 1.64x |
| matmul_f64_naive | no change | 1.000 | 0.000 | 45.3 us | 45.3 us | 1.49x |
| matmul_f64_tiled | no change | 1.000 | 0.000 | 360.9 us | 360.9 us | 1.58x |
| attention_f32 | no change | 1.000 | 0.000 | 1251.0 us | 1251.0 us | 9.72x |
- Base:
14a99ffc14ab83c7f00f95d37381dcc214ba5b9b - Head:
0bc3c6829f347635ca81795008eba296faaf1c9b - Rental:
11397ec7000b1e5e28d8eace2894aa60, driver 13.3, SM clock 2460 MHz, memory clock 8501 MHz,sm_89
cursor
Bot
force-pushed
the
cursor/gpu-bench-pr-comment-6272
branch
2 times, most recently
from
November 8, 2026 23:31
79605a0 to
1cf6c5f
Compare
The gpu-test label runs bench compare of GitHub's merge commit against the base commit that merge used, then posts one comment. A finished run is a markdown table of the case rows, then bullets for the base commit, the head commit, and the rental.
cursor
Bot
force-pushed
the
cursor/gpu-bench-pr-comment-6272
branch
from
November 8, 2026 23:59
89a3201 to
972f3b2
Compare
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.
Why
Adding the gpu-test label runs the GPU tests and leaves the pull request with a pass or fail check. The same run should say what that pull request does to performance against canon, and how far the result sits from CUDA.
The job runs one
bench compareof GitHub's merge commit against the base commit that merge used, then posts the result as a single comment. A later label edits that comment.What changed
bench compare --commentwrites the review body before the process exits, including when a case is slower.Scope
bench gap. Compare already records the CUDA gap in the same rental.Tradeoffs
Blast Radius
The labeled job gains two compiler builds and one more rental, with a 25 minute limit on the compare step so a slow rental can still post. The label is still removed at the end. The checkout fetch depth is now 2 for every run of this workflow, including a push to canon.
Verification
uv run pytest -q gpu_test/test_bench_comment.py gpu_test/test_bench_compare.py -m "not gpu"passed 35 tests.uv run ruff checkanduv run ruff format --checkpassed on the touched Python files.gh api -F, which reads the comment file.-fwould send the path string. The next label edits the comment that starts with the marker. The older path-only comment does not, so delete that one by hand.