Skip to content

Introduce benchgc: a benchmark tool for correctness check #161

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

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

WangJialei-A
Copy link
Contributor

@WangJialei-A WangJialei-A commented Jul 11, 2024

Resolve #58
The single op test is demostrated at here

The Doc PR is #179

@WangJialei-A WangJialei-A added WIP work in progress DO NOT MERGE ci Continuous integration and automation test labels Jul 11, 2024
@WangJialei-A WangJialei-A force-pushed the wangjial/benchgc_op branch 19 times, most recently from 3ffdb7d to c398434 Compare July 16, 2024 02:22
@WangJialei-A WangJialei-A removed the WIP work in progress label Jul 16, 2024
@WangJialei-A WangJialei-A force-pushed the wangjial/benchgc_op branch 2 times, most recently from c3e4e4d to 25f9d5e Compare August 19, 2024 05:36
@WangJialei-A WangJialei-A requested a review from Menooker August 19, 2024 05:47
@WangJialei-A
Copy link
Contributor Author

@leshikus @Menooker @xurui1995 @ZhennanQin @kurapov-peter
Please help to review this PR, thanks

You can check the correctness result here:
https://github.com/intel/graph-compiler/actions/runs/10447798151/job/28927236931?pr=161

Some of the OPs are not working and I raised a related issue #257

@WangJialei-A WangJialei-A force-pushed the wangjial/benchgc_op branch 2 times, most recently from c7e1e78 to bb130aa Compare August 19, 2024 07:23
@WangJialei-A WangJialei-A force-pushed the wangjial/benchgc_op branch 3 times, most recently from ff2821d to c3b54ef Compare August 20, 2024 05:26

def get_constant_op(
self, ctx: gc_mlir.ir.Context, cst: Any
) -> gc_mlir.dialects.tensor.OpView:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use ir.OpView?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xurui1995
What's the difference between them?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are the same, OpView is from the ir then tensor.py imported it

@WangJialei-A WangJialei-A force-pushed the wangjial/benchgc_op branch 4 times, most recently from 279094c to 4772f9a Compare August 22, 2024 08:18
@ZhennanQin
Copy link
Contributor

The llvm revision is updated to include the needed fix from upstream. Please rebase and check the CI result.

@xurui1995 xurui1995 merged commit 67b75ca into main Aug 27, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration and automation ready to review test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Correctness check for single op
5 participants