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

Make batch_size for Presto flexible #59

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

kvantricht
Copy link
Contributor

presto-worldcereal wheel was updated and get_presto_features now accepts an optional batch_size parameter. In this PR, it's now set to 4096 (but not yet tested). Idea is that we can see what works best for our case.

@kvantricht kvantricht requested a review from GriffinBabe June 12, 2024 14:43
@kvantricht kvantricht mentioned this pull request Jun 12, 2024
@GriffinBabe GriffinBabe merged commit 679f33c into main Jun 12, 2024
1 check passed
@GriffinBabe GriffinBabe deleted the flexible-batchsize branch June 12, 2024 14:53
@HansVRP
Copy link
Contributor

HansVRP commented Jun 13, 2024

It might be convenient to couple the batch and chuck size to each other per standard value.

If not I would go from an apply_datacube to a reduce dimension.

Being able to both control the batch and chunk size can lead to less optimized inference workflows for less experienced users.

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.

3 participants