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

Calibrate FedEx #120

Merged
merged 7 commits into from
May 30, 2022
Merged

Calibrate FedEx #120

merged 7 commits into from
May 30, 2022

Conversation

joneswong
Copy link
Collaborator

In the original implementation of FedEx, the policy is allowed to use after - before as reward, where after and before refer to the validation loss estimated before after and before the local updates.

This pr extends the base torch trainer so that we can optionally conduct evaluation before and after the local updates.

@joneswong joneswong added the enhancement New feature or request label May 26, 2022
@joneswong joneswong requested review from rayrayraykk and DavdGao May 26, 2022 12:48
@joneswong
Copy link
Collaborator Author

@DavdGao @rayrayraykk As the torch trainer is moved to a new .py file in this pr, all the code is regarded as changes. Please focus on the train() method, where the actual changes happen.

Copy link
Collaborator

@DavdGao DavdGao left a comment

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Collaborator

@rayrayraykk rayrayraykk left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@joneswong joneswong merged commit 4a986e0 into alibaba:master May 30, 2022
@joneswong joneswong deleted the calibrate_fedex branch May 30, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants