[data] support bucket batch #49844
Labels
enhancement
Request for new feature and/or capability
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
Description
https://discuss.ray.io/t/how-to-bucket-batch-requests-on-serve/12287
is possible add a feature in ray data about bucket batch.
you can find example here:
https://pytorchnlp.readthedocs.io/en/latest/_modules/torchnlp/samplers/bucket_batch_sampler.html
https://pytorch.org/data/0.4/generated/torchdata.datapipes.iter.MaxTokenBucketizer.html
Use case
for sequence related task
The text was updated successfully, but these errors were encountered: