Skip to content

How can I use dynamic batch? #5401

Closed Answered by dyastremsky
kwanwoo02 asked this question in Q&A
Discussion options

You must be logged in to vote

There's a pull request currently to create a conceptual walkthrough to go into more detail about dynamic batching here.

The dynamic batcher documentation is here. Your config looks correct. If you're getting an error, it's likely because that model does not support batching. You need a model that supports batching. By enabling dynamic batching here, you add an extra dimension before the others, which the model is not expecting. When creating a model for use with server-side batching, you want the first dimension to be the batch dimension.

Depending on what kind of model you want to create, you can see some example model generation scripts we use for tests in this folder. Many of them have…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dyastremsky
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #5357 on February 23, 2023 00:36.