ExecuTorch speeds up streaming speech recognition on Arm devices

News PyTorch Blog · Source account, not independently verified by us.

PyTorch describes optimizing the multilingual Nemotron 3.5 speech recognition model with ExecuTorch for an Arm device, testing it on a Google Pixel 11. With Arm SME2 enabled, processing a 24.9-second recording fell from 9.79 to 4.61 seconds for FP16 and from 5.20 to 3.24 seconds for INT8 quantization.

The results illustrate why streaming recognition needs different evaluation from transcribing a complete recording: shorter audio chunks allow earlier updates, while longer chunks improve final transcript accuracy. Across four datasets, FP16 word error rate fell from 15.2% with 80-millisecond chunks to 11.5% with 1,120-millisecond chunks. INT8 scored 15.5% and 11.7%, respectively.

For the device test, the team used ExecuTorch 1.3.1 with one inference thread. SME2 acceleration mainly reduced matrix multiplication time. Profiling confirmed that optimized KleidiAI kernels ran, while data movement remained a significant share of processing time. With SME2, processing took substantially less time than the recording’s duration, but the wait to collect each audio chunk remains.

The findings show how accuracy, chunk size, and compute time can be considered together. WER results came from host tests; estimated response times came from a separate device benchmark and do not represent a measurement of a complete application experience. The original post also explains profiling, kernel selection, and example configurations: PyTorch blog.

🇬🇧 https://pytorch.org/blog/optimizing-streaming-speech-recognition-on-arm-edge-devices-with-executorch

Leave a Comment

The weekly brief: selected developments, projects and videos