Repository navigation
Benchmark comparison workflow. - #7715
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
/ok to test |
633af1b to
b0f027d
Compare
|
/ok to test |
b0f027d to
66f3822
Compare
|
/ok to test |
66f3822 to
bb77d85
Compare
|
/ok to test |
bb77d85 to
fa09494
Compare
|
/ok to test |
fa09494 to
44f63ef
Compare
|
/ok to test |
44f63ef to
3f4d76a
Compare
|
/ok to test |
3f4d76a to
c9d408a
Compare
|
/ok to test |
fa2aced to
5dd6f72
Compare
|
/ok to test |
5dd6f72 to
637774b
Compare
|
/ok to test |
973f0de to
3471a2c
Compare
|
/ok to test |
3471a2c to
742f33b
Compare
|
/ok to test |
0b0858c to
7207159
Compare
|
/ok to test |
There was a problem hiding this comment.
I have learned a lot reviewing this PR. Thanks @alliepiper
|
Is it possible to add GPU name to the generated artifact, so that it is easier to find the artifact to inspect |
|
It seems that to trigger benchmark run, Is it possible to enable triggering benchmarking job by posting a comment on the PR itself? |
|
Another QOL suggestion: can benchmarking artifact be attached to the comment that posted request to run the benchmark |
I agree that this would be ideal, but it's a can of worms from a security standpoint since these launch work on nvidia owned runners. We'd need to work with the gha-runners team and figure out how to do this securely, and that's out of scope for an MVP. |
7207159 to
ce80311
Compare
This comment has been minimized.
This comment has been minimized.
ce80311 to
76aebaf
Compare
This comment has been minimized.
This comment has been minimized.
76aebaf to
3d58630
Compare
This comment has been minimized.
This comment has been minimized.
3d58630 to
bc82e9b
Compare
Fixes NVIDIA#7260. ci/bench.yaml: Per-PR branch benchmark request file. - Select GPU, benchmark filters, CTK, host, etc. - PR CI parses the yaml at runtime, runs per-GPU jobs for perf regression-tests. - Branch protections will block merging modifications to ci/bench.yaml. - Prevents benchmarks from getting turned on by default. - Update both bench.yaml and bench.template.yaml when modifying the default file.
bc82e9b to
95b4776
Compare
🥳 CI Workflow Results🟩 Finished in 1h 31m: Pass: 100%/445 | Total: 10d 02h | Max: 1h 22m | Hits: 91%/511071See results here. |
Fixes #7260.
Requesting benchmarks in PRs
ci/bench.yamlis the new user interface for requesting perf regression tests in PRs.This is a short example -- the actual file has usage, docs, and tips: ci/bench.yaml.
CI Jobs
A separate CI job is launched for each GPU requested. Each job builds, runs, and compares all requested benchmarks for that GPU. Raw logs and summaries are logged in the job output:
Eg: https://github.com/NVIDIA/cccl/actions/runs/22204344026/job/64224807621?pr=7715
Artifacts
Each benchmark job uploads an artifact with json+md outputs from each benchmark along with all build, etc logs.
The top-level
summary.mdcontains all of the nvbench-compare outputs for all benchmarks.