Skip to content
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

matmul performance regression pipeline #647

Merged
merged 12 commits into from
Oct 16, 2024
Merged

Conversation

AlexAUT
Copy link

@AlexAUT AlexAUT commented Sep 26, 2024

Adds a pipeline step to test for a performance regression for matmul.

It compares the performance with the last successful workflow from the main_perf branch. The workflow is started for each pull request into main_perf and for the main_perf branch after the merge. This run will then act as the new baseline if it was successful.

@AlexAUT AlexAUT changed the title tune_gemm performance regression pipeline matmul performance regression pipeline Sep 26, 2024
@zhanglx13
Copy link

@AlexAUT Is this PR for testing purpose only? IIRC, github does not have MI300 runners, does it?

@AlexAUT
Copy link
Author

AlexAUT commented Sep 30, 2024

Was a confusion due to the call on Tuesday. I reverted it back to the jenkins pipeline. I will ping here when this is tested. The mi300 runners are quite congested at the moment.

@AlexAUT AlexAUT force-pushed the perf_regression_pipeline branch 6 times, most recently from 429661f to f2510ae Compare October 4, 2024 13:34
@AlexAUT
Copy link
Author

AlexAUT commented Oct 7, 2024

Most changes we discussed last week are implemented. Should we merge this as a first step. We can add tests for other kernels/datatypes as a separate pull request?
After this is merged I can finalize the pipeline setup and update the documentation on how a branch/pull is registered for the regression pipeline.

@zhanglx13 zhanglx13 merged commit 16b0bbf into main_perf Oct 16, 2024
4 checks passed
micmelesse pushed a commit that referenced this pull request Oct 28, 2024
* Added regression tests to tune_gemm

* Add regression tests to pipelines

* Add missing imports

* Use warnings to signal that no performance comparison is found

* Split regression tests into separate file

* Disable github pipeline in favour of jenkins

* Improve output and skip tests if no performance reference can be found

* Add testcase for overall mean regression

* Extend parameters which can be adjusted for perf regression tests

* Switch to geo mean for overall result

* Always recompile kernels in perf regression tests in case the user does no specify otherwise

* Report default values in exported result to support changing them in the future
@AlexAUT AlexAUT deleted the perf_regression_pipeline branch October 30, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants