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

Fix full_op bug for gradient merge #68391

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

From00
Copy link
Contributor

@From00 From00 commented Sep 23, 2024

PR Category

Auto Parallel

PR Types

Bug fixes

Description

auto_parallel_gradient_merge pass中通过full算子输出scale_op的scalar参数,在full op中未将scalar输出数据指定为cpu place,导致实际运行时scalar参数产生冗余的h2d拷贝,并可能引起pipeline parallel 1F1B调度hang住。本PR修复此问题。

Pcard-76459

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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