ganesh-skumar opened a new pull request, #41615:
URL: https://github.com/apache/beam/pull/41615

   This PR brings Java's `BatchElements` transform to parity with Python's 
element size and weight based batching.
   
   Previously, batching was based on element count. For transforms like 
`RemoteInference`, where input strings correspond to tokens, this change allows 
more customized batching such as batching by input strings token count 
(calculated using element_size_fn) or setting a token budget per request (using 
element weight). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to