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

Making default_split_batch public #3116

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

ShashankMosaicML
Copy link
Contributor

@ShashankMosaicML ShashankMosaicML commented Mar 14, 2024

What does this PR do?

This PR makes the _default_split_batch public. It is already being used outside the file it is defined in (see composer/datasets/in_context_learning_evaluation.py) and it also has unit tests (see tests/test_split_batch.py). This function can be used as a base function to write other batch splitting functions.

Copy link
Contributor

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

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

Why? Please add PR description

@ShashankMosaicML
Copy link
Contributor Author

Why? Please add PR description

Done, PTAL

@ShashankMosaicML ShashankMosaicML marked this pull request as ready for review March 14, 2024 22:35
@ShashankMosaicML ShashankMosaicML requested a review from a team as a code owner March 14, 2024 22:35
@vchiley vchiley merged commit cd590a7 into dev Mar 15, 2024
14 checks passed
@vchiley vchiley deleted the shashank/make_default_split_batch_public branch March 15, 2024 00:58
j316chuck pushed a commit that referenced this pull request May 16, 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.

4 participants