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?

posta un anno fa237 visualizzazioni
1 Risposta
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
con risposta 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande