Skip to content

Conversation

@pkuzyc
Copy link
Contributor

@pkuzyc pkuzyc commented Oct 15, 2023

PR types

Bug fixes

PR changes

Others

Description

Pcard-70448
Support dynamic shape in reshape spmd rule, e.g. [-1, -1, -1, 64] --> [0, 0, 0, 2, 32], [-1, -1, -1, 64] --> [0, 0, -1, 32]. When the input shape contains '-1' values, use a special value '256' to replace '-1'.

@pkuzyc pkuzyc force-pushed the reshape_rule_dynamic_shape branch from a922820 to 483f9db Compare October 19, 2023 03:42
Copy link
Contributor

@JZ-LIANG JZ-LIANG left a comment

Choose a reason for hiding this comment

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

LGTM

@JZ-LIANG JZ-LIANG merged commit f984ed1 into PaddlePaddle:develop Oct 23, 2023
hitywt pushed a commit to hitywt/Paddle that referenced this pull request Oct 24, 2023
…58097)

* support dynamic input in reshape spmd rule

* remove the modification in dist_reshape.py

* small fix
jiahy0825 pushed a commit to jiahy0825/Paddle that referenced this pull request Oct 26, 2023
…58097)

* support dynamic input in reshape spmd rule

* remove the modification in dist_reshape.py

* small fix
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
…58097)

* support dynamic input in reshape spmd rule

* remove the modification in dist_reshape.py

* small fix
@pkuzyc pkuzyc deleted the reshape_rule_dynamic_shape branch December 22, 2023 09:39
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