[
https://issues.apache.org/jira/browse/BEAM-14044?focusedWorklogId=765204&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-765204
]
ASF GitHub Bot logged work on BEAM-14044:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 02/May/22 23:32
Start Date: 02/May/22 23:32
Worklog Time Spent: 10m
Work Description: zwestrick commented on PR #17527:
URL: https://github.com/apache/beam/pull/17527#issuecomment-1115466571
> I think it should be possible to add a unit test. LMK if you need some
help with that.
>
> Probably a good consistent unit test to add would be to set min and max
size to 2, and then expect sizes of 2 in a mock/fake. I suggest 2 because I
think default might be 1.
Done, added a test that batches 100 elements so that we're very far outside
the range of random initialization
Issue Time Tracking
-------------------
Worklog Id: (was: 765204)
Time Spent: 40m (was: 0.5h)
> Hook In Batching DoFn Apis to RunInference
> ------------------------------------------
>
> Key: BEAM-14044
> URL: https://issues.apache.org/jira/browse/BEAM-14044
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Ryan Thompson
> Assignee: Brian Hulette
> Priority: P2
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Hook into the batching DoFn APIs to the base RunInference interface.
> We should also investigate what defaults we should set for batching, and
> perhaps make that part of the API.
> See
> [s.apache.org/batched-dofns|https://www.google.com/url?q=http://s.apache.org/batched-dofns&sa=D&source=docs&ust=1646063987404027&usg=AOvVaw1VO9QgWlbAhx0Rh2Bzl1nw]
> for more details.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)