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

【AutoParallel】Support 'master_grad' in Llama in static auto-parallelism #7658

Merged
merged 7 commits into from
Jan 24, 2024

Conversation

heavyrain-lzy
Copy link
Contributor

PR types

Others

PR changes

Others

Description

Add master_grad optional in static auto-parallelism.You can set --amp_master_grad 1 to enable master_grad in AMP-O2.

Copy link

paddle-bot bot commented Dec 14, 2023

Thanks for your contribution!

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

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

Comparison is base (2a8d138) 56.68% compared to head (b8d3f0d) 56.68%.
Report is 1 commits behind head on develop.

Files Patch % Lines
paddlenlp/trainer/training_args.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7658   +/-   ##
========================================
  Coverage    56.68%   56.68%           
========================================
  Files          588      588           
  Lines        89348    89346    -2     
========================================
  Hits         50647    50647           
+ Misses       38701    38699    -2     

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

Copy link
Collaborator

@wawltor wawltor left a comment

Choose a reason for hiding this comment

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

LGTM

@wawltor wawltor merged commit b456110 into PaddlePaddle:develop Jan 24, 2024
7 of 10 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