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

Add Minibatcher #655

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Add Minibatcher #655

merged 1 commit into from
Jul 24, 2024

Conversation

ian-shim
Copy link
Contributor

Why are these changes needed?

  • Updates MinibatchStore interface
  • Adds Minibatcher that pulls minibatches from encoding streamer and disperses to operator nodes

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@ian-shim ian-shim requested review from pschork and bxue-l2 July 23, 2024 04:36
@ian-shim ian-shim force-pushed the minibatcher branch 2 times, most recently from 9e42776 to f736ca5 Compare July 23, 2024 04:45
@ian-shim ian-shim marked this pull request as ready for review July 23, 2024 04:54
Comment on lines 49 to 50
PutMiniBatch(ctx context.Context, minibatch *MinibatchRecord) error
GetMiniBatch(ctx context.Context, batchID uuid.UUID, minibatchIndex uint) (*MinibatchRecord, error)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: GetMinibatch PutMinibatch

@anupsv anupsv self-requested a review July 24, 2024 14:49
@ian-shim ian-shim merged commit 8f05e50 into Layr-Labs:master Jul 24, 2024
6 checks passed
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.

2 participants