Skip to content

feat: Example log controller yaml with training state#296

Merged
ashokponkumar merged 4 commits intofoundation-model-stack:mainfrom
seshapad:example_logging_control
Aug 14, 2024
Merged

feat: Example log controller yaml with training state#296
ashokponkumar merged 4 commits intofoundation-model-stack:mainfrom
seshapad:example_logging_control

Conversation

@seshapad
Copy link
Contributor

@seshapad seshapad commented Aug 12, 2024

Description of the change

This PR introduces a more involved example for log controller which uses multiple trainer controller metrics.

Related issue number

Closes #264

How to verify the PR

Was the PR tested

  • I have added >=1 unit test(s) for every new method I have added.
  • I have ensured all unit tests pass

@seshapad seshapad force-pushed the example_logging_control branch from 556b9d5 to b873129 Compare August 12, 2024 06:17
Copy link
Collaborator

@ashokponkumar ashokponkumar left a comment

Choose a reason for hiding this comment

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

nit

class: LogControl
arguments:
log_format: |
Saving model in huggingface format at samples_seen: {trainer_state[global_step]}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Saving model in huggingface format at samples_seen: {trainer_state[global_step]}
Saving model in huggingface format at samples_seen: {trainer_state[global_step]}

It should not be samples_seen, its on a step, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed.

Signed-off-by: Padmanabha V Seshadri <seshapad@in.ibm.com>
Signed-off-by: Padmanabha V Seshadri <seshapad@in.ibm.com>
Signed-off-by: Padmanabha V Seshadri <seshapad@in.ibm.com>
Signed-off-by: Padmanabha V Seshadri <seshapad@in.ibm.com>
@seshapad seshapad force-pushed the example_logging_control branch from 742e6a4 to 53764d1 Compare August 14, 2024 13:37
@ashokponkumar ashokponkumar marked this pull request as ready for review August 14, 2024 14:57
@ashokponkumar ashokponkumar merged commit 2d1c17c into foundation-model-stack:main Aug 14, 2024
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