Skip to content

Conversation

@iosmers
Copy link
Contributor

@iosmers iosmers commented Dec 8, 2023

PR types

Bug fixes

PR changes

Others

Description

PP开启SP之后,layernorm层未进行梯度同步,导致layernorm层梯度计算出现问题

@paddle-bot
Copy link

paddle-bot bot commented Dec 8, 2023

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (e6acb0e) 57.85% compared to head (a30927e) 57.85%.

Files Patch % Lines
paddlenlp/transformers/gpt/modeling_pp.py 25.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7613   +/-   ##
========================================
  Coverage    57.85%   57.85%           
========================================
  Files          582      582           
  Lines        86485    86488    +3     
========================================
+ Hits         50038    50040    +2     
- Misses       36447    36448    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@ZHUI ZHUI left a comment

Choose a reason for hiding this comment

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

LGTM

@ZHUI ZHUI merged commit 0a58a1a into PaddlePaddle:develop Dec 12, 2023
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