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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南