Skip to content

Auto Parallel support conditional block#39612

Merged
aoyulong merged 13 commits intoPaddlePaddle:developfrom
JZ-LIANG:AutoParallel/conditional_block
Feb 22, 2022
Merged

Auto Parallel support conditional block#39612
aoyulong merged 13 commits intoPaddlePaddle:developfrom
JZ-LIANG:AutoParallel/conditional_block

Conversation

@JZ-LIANG
Copy link
Contributor

PR types

Function optimization

PR changes

Others

Describe

Auto Parallel support conditional block for while op

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@JZ-LIANG JZ-LIANG requested a review from aoyulong February 17, 2022 03:09
aoyulong
aoyulong previously approved these changes Feb 17, 2022

dist_op_context = ctx.dist_op_context
main_block = dist_op_context.get_dst_main_program().global_block()
main_block = dist_op_context.get_work_block()
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change some names and use dist_op_context like these: dist_op_context.main_block, dist_op_context.startup_block, dist_op_context.src_op, dist_op_context.rank_id.

@JZ-LIANG JZ-LIANG requested a review from aoyulong February 22, 2022 03:40
@aoyulong aoyulong merged commit a08ee62 into PaddlePaddle:develop Feb 22, 2022
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