Skip to content

[CINN] improve FoldRedundantSymbolicBroadcast #70994

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 3 commits into from
Feb 6, 2025

Conversation

ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented Jan 26, 2025

PR Category

CINN

PR Types

Improvements

Description

Pcard-67164
improve FoldRedundantSymbolicBroadcast

  • 修复注释的示例和代码实现不一致的情况
  • 之前只是处理了一组冗余,虽然经过多次的 Pass,也可以完全去除,但是一次去除冗余可能会减少 Pass 次数。

TODO

  • 添加单测

@ooooo-create ooooo-create reopened this Feb 5, 2025
@zyfncg zyfncg merged commit de399d8 into PaddlePaddle:develop Feb 6, 2025
38 checks passed
@ooooo-create ooooo-create deleted the fix_broadcast_simpily branch February 25, 2025 15:15
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
* fix FoldRedundantSymbolicBroadcast

* add test for FoldRedundantBroadcast

* fix ASSERT_TRUE usage
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.

4 participants