-
Notifications
You must be signed in to change notification settings - Fork 56
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
Integrating custom metrics and inference parameters #82
Conversation
The new "include_text" parameter will only work after NVIDIA/NeMo#8198 is merged on the nemo side (and included in the aligner Dockerfile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a first quick review -- I'm still missing the bigger picture and how everything fits together, but I'll come back to it once it's closer to completion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor cleanup in latest commit
2ad0c96
to
e2bc490
Compare
Added a new cherry-picked commit to Dockerfile for this PR which is required for metrics to work: NVIDIA/NeMo@7d3d9ac |
d98591c
to
77e457a
Compare
your MR LGTM, I'm running the SFT nemo-ci to make sure this didn't break anything |
c70227a
to
1f9107d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, thanks for cleaning things up and adding this new feature.
I believe it's just missing an entry in CHANGELOG to mention this addition.
(side note, regarding the question "should Aligner hold metrics?" => I think so, yes, as long as we believe they may be useful to users in general -- fancy custom metrics specific to a single use case should stay in users' own codebases)
398ad45
to
f1aec3e
Compare
@odelalleau thanks for the reminder! I updated the changelog, but please let me know if any more details are needed there |
CI passed on this branch, you can merge once @odelalleau resolves the conversation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would just like to suggest a clarification to the changelog
Signed-off-by: Gerald Shen <geshen@nvidia.com> Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Gerald Shen <geshen@nvidia.com> Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Gerald Shen <geshen@nvidia.com> Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
for more information, see https://pre-commit.ci Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Co-authored-by: Olivier Delalleau <507137+odelalleau@users.noreply.github.com> Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com> Co-authored-by: Gerald Shen <119401249+gshennvm@users.noreply.github.com> Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
Signed-off-by: Igor Gitman <igitman@nvidia.com>
37bbd18
to
27ca524
Compare
I don't have write access, @odelalleau or @gshennvm can one of you please help to merge? |
Signed-off-by: Gerald Shen <geshen@nvidia.com> Signed-off-by: Igor Gitman <igitman@nvidia.com> Co-authored-by: Gerald Shen <geshen@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Olivier Delalleau <507137+odelalleau@users.noreply.github.com> Co-authored-by: Gerald Shen <119401249+gshennvm@users.noreply.github.com>
What does this PR do ?
Besides adding support for metrics/inference params, this PR has the following 2 small changes:
(let me know if you'd like me to split the PR into multiple independent pieces)
There are a few things that I didn't finish yet, but want to push this out in case there is additional refactoring that needs to be done based on the feedback. Here is what I'm going to do next
Changelog
Usage
# Add a code snippet demonstrating how to use this
Before your PR is "Ready for review"
Pre checks:
Checklist when contributing a new algorithm
max_steps=-1
andvalidation
?Additional Information