Skip to content

Conversation

@nifarn
Copy link
Contributor

@nifarn nifarn commented Dec 3, 2021

Implementation of best checkpointer as drawn from personalization repo.

@ghost
Copy link

ghost commented Dec 3, 2021

CLA assistant check
All CLA requirements met.

@jsleep jsleep requested a review from egonzalez125 December 6, 2021 22:58
paths.append(super().save(checkpoint_state, index, force))
if self.args.checkpoint and ((index % self.args.period == 0) or force):
# TODO grab this from logged metrics instead
metric = float(checkpoint_state.module_interface_state[self.args.metric_name])
Copy link
Collaborator

Choose a reason for hiding this comment

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

this part feels hacky if not pulled from metrics in terms of the design patterns used here, but either way I think adding logging here would be good (available metrics, metric selected and its value)

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