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

remove unuseful c_allgather op for pir auto parallel. #64465

Merged
merged 1 commit into from
May 21, 2024

Conversation

winter-wang
Copy link
Contributor

@winter-wang winter-wang commented May 20, 2024

PR Category

Auto Parallel

PR Types

Bug fixes

Description

  • remove unuseful c_allgather op for pir autp parallel.
  • fix other error in lamma dp case.

Other

Pcard-67164

Copy link

paddle-bot bot commented May 20, 2024

你的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.

@winter-wang winter-wang changed the title remove unuseful c_allgather op for pir autp parallel. remove unuseful c_allgather op for pir auto parallel. May 20, 2024
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

)
elif isinstance(self._optimizer._learning_rate, LRScheduler):
buffer_tensor.set(
np.float32(self._optimizer._learning_rate()), self._place
Copy link
Contributor

Choose a reason for hiding this comment

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

是否会 触发 lr_schedule 的迭代,让动静lr 无法对齐

Copy link
Contributor Author

Choose a reason for hiding this comment

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

是的,这个问题我会在下个pr中进行专门的系统性处理。

@winter-wang winter-wang merged commit cc38216 into PaddlePaddle:develop May 21, 2024
31 of 32 checks passed
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