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 shared param grad_add op_device is null #33875

Merged

Conversation

wangxicoding
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

When using shared parameters, grad_add op's op_device is '', fix this.

{Out=['parallel_embedding_0.w_0@GRAD']} = grad_add(inputs={X=['parallel_embedding_0.w_0@GRAD@RENAME@block0@0'], Y=['parallel_embedding_0.w_0@GRAD@RENAME@block0@1']}, op_device = , op_role = 1, op_role_var = ['parallel_embedding_0.w_0', 'parallel_embedding_0.w_0@GRAD'], use_mkldnn = False)

@paddle-bot-old
Copy link

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

Copy link

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

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@wangxicoding wangxicoding merged commit cf4c6fb into PaddlePaddle:develop Jul 2, 2021
@wangxicoding wangxicoding deleted the fix_pp_shared_param branch July 2, 2021 06:24
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