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

RHELAI-2756 Adding Batching After Every Block #484

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

eshwarprasadS
Copy link

The Problem:

Resolves #480, related to #424

Key Changes Implemented

Re-batch After Each Block:

After processing the dataset through a block, split it into batches based on the current batch_size (reuses ._split_dataset within class Pipeline)

Sequential Execution for Each Block:

Process batches sequentially within each block, and does not spawn any more threads of execution.

Recombine Batch Outputs:

Combine the processed batches back into a single dataset before sending it to the next block. (reuses concatenate_datasets())

@mergify mergify bot added testing Relates to testing ci-failure labels Jan 16, 2025
Signed-off-by: eshwarprasadS <[email protected]>
Signed-off-by: eshwarprasadS <[email protected]>
@eshwarprasadS eshwarprasadS force-pushed the RHELAI-2756-batch-after-every-block branch from d94c659 to 2b999bf Compare January 16, 2025 19:47
@mergify mergify bot removed the ci-failure label Jan 16, 2025
@mergify mergify bot added the ci-failure label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-failure testing Relates to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configured batch_size not used to re-split output samples from each Pipeline Block
1 participant