Will AWS Neuron support a PyTorch model that inferences audio to audio?

0

The audio going into the model would be different lengths, and I saw a post saying "At the time of writing, the AWS Neuron SDK does not support dynamic shapes, which means that the input size needs to be static for compiling and inference."

Does this mean I can't use Neuron (and therefore Inferentia2) without truncating my audio going into the model to a fixed size? Or am I misunderstanding?

已提问 1 年前237 查看次数
1 回答
0

Variable shape tensors are normally dealt with using bucketing (to a nearest tensor size) and padding. So the limitation currently exists, but customers can normally work around it: https://awsdocs-neuron.readthedocs-hosted.com/en/v2.11.0/general/appnotes/torch-neuron/bucketing-app-note.html?highlight=bucketing

AWS
已回答 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容