Skip to content

Conversation

@HulekJakub
Copy link
Contributor

@HulekJakub HulekJakub commented Dec 15, 2022

PR types

Others

PR changes

Others

Describe

Deleted old C++ scale matmul fuse pass test and updated python one

Currently in PaddlePaddle there are 3 unit-test frameworks - one written in C++ and 2 in Python.
Old fuse pass tests (C++) fuse_pass_tester.cc are checking only if graph has correct number of / type of vertices after fusion. It doesn't check data. So these tests pass even if accuracy drops.
New python framework is superior because it checks both graph fusion and accuracy after fusion.

@paddle-bot
Copy link

paddle-bot bot commented Dec 15, 2022

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Member

@Silv3S Silv3S left a comment

Choose a reason for hiding this comment

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

LGTM

@HulekJakub HulekJakub requested a review from Silv3S December 16, 2022 13:01
Copy link
Contributor

@yeliang2258 yeliang2258 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@XieYunshen XieYunshen left a comment

Choose a reason for hiding this comment

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

LGTM

@HulekJakub
Copy link
Contributor Author

@kolinwei Please review. Your approval is needed for Coverage check.

@HulekJakub HulekJakub changed the title Scale Matmul Fuse pass rewritten Rewrite scal matmul mkldnn fuse pass Dec 22, 2022
@HulekJakub HulekJakub changed the title Rewrite scal matmul mkldnn fuse pass Rewrite scal matmul mkldnn fuse pass tester Dec 22, 2022
@HulekJakub HulekJakub changed the title Rewrite scal matmul mkldnn fuse pass tester Rewrite scale matmul mkldnn fuse pass tester Dec 22, 2022
Copy link
Contributor

@XieYunshen XieYunshen left a comment

Choose a reason for hiding this comment

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

LGTM

@jczaja jczaja merged commit 18c0a00 into PaddlePaddle:develop Jan 2, 2023
@paddle-bot
Copy link

paddle-bot bot commented Jan 2, 2023

你的PR已合入Paddle库,请关注后续测试结果。
Your PR has been merged into the repository. An official integration test will be conducted later. Stay tuned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers Intel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants