Skip to content

[QST] Can AbstractGpuCoalesceIterator.next() split bigger betch into small ones if not RequireSingleBatch? #5387

Answered by revans2
JustPlay asked this question in General
Discussion options

You must be logged in to vote
  1. can we extend the abillity to split bigger batch into small ones (when not RequireSingleBatch)?

Yes, that would be possible. The main issue would be in where to place them. Right now we place GpuCoalesceBatches in locations where we either know we will require a single batch, or where we think we might output small batches and combining them into a bigger batch would make processing more efficient. So we would also need to identify locations where splitting the batch into smaller pieces is worth the overhead of GpuCoalesceBatches.

  1. do we need extend it (small batch means lower oom risc) ?
    I'm not 100% sure on that. There are not many places where the size of the output data could exp…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sameerz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #845 on April 28, 2022 23:14.