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

sharding stage 1 check diff lr and use param decay fn #59537

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

FeixLiu
Copy link
Contributor

@FeixLiu FeixLiu commented Nov 29, 2023

PR types

Others

PR changes

Others

Description

PCard-70444
use decay param fn for tensor fusion

@FeixLiu FeixLiu changed the title Update decay param fn sharding stage 1 check diff lr and use param decay fn Nov 29, 2023
Tensor fusion use param decay function.
@FeixLiu FeixLiu force-pushed the update_decay_param_fn branch from 40c588c to f48eee7 Compare November 30, 2023 00:02
@FeixLiu FeixLiu requested a review from ForFishes November 30, 2023 05:27
if lr is None:
lr = param_lr
elif lr != param_lr:
warnings.warn(
Copy link
Member

Choose a reason for hiding this comment

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

warning?不是直接报错吗?

Copy link
Member

@ForFishes ForFishes left a comment

Choose a reason for hiding this comment

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

LGTM

@FeixLiu FeixLiu merged commit 25bace5 into PaddlePaddle:develop Dec 1, 2023
@FeixLiu FeixLiu deleted the update_decay_param_fn branch December 1, 2023 07:40
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