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

[AutoParallel] Add transpose spmd rules #59236

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

deepllz
Copy link
Contributor

@deepllz deepllz commented Nov 22, 2023

PR types

New features

PR changes

Others

Description

添加对transpose算子切分推导规则的支持、添加相关的单元测试
Pcard-73145

raise ValueError("Only support cpu or gpu backend.")

self.test_transpose_x_shard()

Copy link
Contributor

Choose a reason for hiding this comment

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

这个单测可以复用 semi_auto_parallel_util.py 里的逻辑,可以参考 cast 的测试逻辑

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@liuzhenhai93 liuzhenhai93 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

@GhostScreaming GhostScreaming left a comment

Choose a reason for hiding this comment

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

LGTM

@GhostScreaming GhostScreaming merged commit f9aa87b into PaddlePaddle:develop Nov 23, 2023
SecretXV pushed a commit to SecretXV/Paddle that referenced this pull request Nov 28, 2023
@deepllz deepllz deleted the transpose branch December 7, 2023 13:29
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.

3 participants