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

🚚 Change parameter name and mark them optional for runtime #173

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

gkumbhat
Copy link
Collaborator

@gkumbhat gkumbhat commented Sep 5, 2023

Changes

  • Change lr to learning_rate to make it more intuitive
  • Mark training parameter with default as optional via type annotation for the correct runtime service generation.

Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
@gkumbhat gkumbhat marked this pull request as ready for review September 5, 2023 19:45
Copy link
Collaborator

@alex-jw-brooks alex-jw-brooks 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 - aside from being more correct type hints, does the lack of optionals here break runtime train jobs if they're not set? I need to learn more about the way type hints are leveraged by it 😄

@gkumbhat
Copy link
Collaborator Author

gkumbhat commented Sep 7, 2023

Thanks @alex-jw-brooks . It doesn't break, just doesn't show up as optional so adds confusion

@gkumbhat gkumbhat merged commit c16c33a into caikit:main Sep 7, 2023
4 checks passed
@gkumbhat gkumbhat deleted the change_param_name branch September 7, 2023 12:04
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.

None yet

2 participants