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

feature(models): Add model comm group to predict_step #77

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

cathalobrien
Copy link
Contributor

Small change to allow predict_step to take an optional model_comm_group, like model.forward does.

This is needed for parallel-inference, which calls predict_step

japols
japols previously approved these changes Jan 14, 2025
Copy link
Member

@japols japols 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

HCookie
HCookie previously approved these changes Jan 14, 2025
@cathalobrien cathalobrien dismissed stale reviews from HCookie and japols via fdd92e6 January 15, 2025 12:49
@HCookie HCookie changed the title Predict_step can take model comm group now feature(models): Add model comm group to predict_step Jan 15, 2025
Copy link
Member

@ssmmnn11 ssmmnn11 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 :-)

@cathalobrien cathalobrien merged commit db587fe into develop Jan 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants