Skip to content

Conversation

speckhard
Copy link

@speckhard speckhard commented Sep 22, 2025

The dynamic batching sampler currently is fed a maximum number of edges or nodes. This maximum number is used as a check when deciding whether to add a graph to a mini-batch. This PR changes the input to the class to be a maximum number of edges and a maximum number of nodes. The idea here is that both numbers are important when dictating the size of memory that a batch will occupy.

More discussion is found here

@speckhard speckhard changed the title Draft: dynamic batchingCheck for both max num edges and max num nodes in dynamic batching. Draft: Dynamic batching: Check for both max num edges and max num nodes when adding graph. Sep 22, 2025
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.

1 participant