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

add use_fused_dropout_add for gpt3 #5683

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Conversation

lizhenyun01
Copy link
Contributor

PR types

Function optimization

PR changes

Others

Description

add model.use_fused_dropout_add for gpt-3 to disable FusedDropoutAdd in yaml
use it like this:
Model:
module: GPTGenerationModuleAuto
use_fused_dropout_add: False

@paddle-bot
Copy link

paddle-bot bot commented Apr 17, 2023

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Apr 17, 2023

Codecov Report

Merging #5683 (b20414b) into develop (a7b6adb) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #5683   +/-   ##
========================================
  Coverage    60.76%   60.76%           
========================================
  Files          483      483           
  Lines        68184    68185    +1     
========================================
+ Hits         41431    41434    +3     
+ Misses       26753    26751    -2     

see 3 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@vivienfanghuagood vivienfanghuagood 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
Collaborator

@sijunhe sijunhe left a comment

Choose a reason for hiding this comment

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

ok

@sijunhe sijunhe merged commit e33118a into PaddlePaddle:develop Apr 18, 2023
@lizhenyun01 lizhenyun01 deleted the gpt-3 branch April 18, 2023 03:54
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