AI Cloud Architect

How Deepgram optimized voice AI at scale with AWS Trainium

AWSHow-to by Pierre Lienhart, Andre Gomes, Elyse Zhang, Haotian An, Niraj Chaudhari, Rohit Thekkanal and Victor WangAWS Artificial Intelligence Blog

Deepgram worked with the AWS Forward Deployed Engineering team to port its Nova-3 speech-to-text model to AWS Trainium2 for offline batch inference. This post covers porting to the AWS Neuron stack, kernel-level tuning, a data-parallel Rust runtime, and the throughput and cost results on batch transcription.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Deepgram ported its Nova-3 speech-to-text model to AWS Trainium2 for offline batch transcription, using the Neuron stack, NKI kernel tuning and multiple replicas per device.

Who it is for

Teams running high-volume offline speech-to-text batch jobs on AWS who are weighing Trainium against GPU instances.

Key points

  • Final setup runs multiple model replicas on one EC2 trn2.3xlarge instance.
  • Deepgram says hand-tuned kernels gave 1.5x to 50x gains at module level versus reference or default compiled code.
  • Price-performance gains are measured as audio processed per dollar, using instance pricing at evaluation time; no exact figures are given.

The same at other vendors

Timeline

Posts about AWS Trainium, oldest first.

  1. How-toAccelerating decode-heavy LLM inference with speculative decoding on AWS Trainium and vLLM · AWS · How-to
  2. Update to an existing featureAWS Neuron SDK 2.29.0 now available with NKI and Neuron Explorer out of Beta, a new CPU Simulator, and an expanded NKI Library · AWS · Release note
  3. New featureAWS Neuron SDK now available with Neuron Agentic Development for NKI kernel development on Trainium · AWS · Announcement
  4. How-toStop hand-tuning kernels: How Neuron Agentic Development accelerates AWS Trainium optimizations · AWS · How-to
  5. This postHow Deepgram optimized voice AI at scale with AWS Trainium
  6. PreviewAWS announces TorchNeuron: Native PyTorch Support for AWS Trainium (Public Beta) · AWS · Announcement
  7. How-toBeyond the KV cache: Training and serving i14’s Laplace 3B linear attention model on AWS Trainium2 with native PyTorch · AWS · How-to
  8. How-toTrain Qwen3 on AWS Trainium with torchtitan · AWS · How-to
  9. How-toDeploy frontier AI models on AWS Trainium with SGLang-Neuron · AWS · How-to
Show all 10 posts
  1. Customer storySplash Music transforms music generation using AWS Trainium and Amazon SageMaker HyperPod · AWS · Customer story
  2. How-toAccelerating decode-heavy LLM inference with speculative decoding on AWS Trainium and vLLM · AWS · How-to
  3. Update to an existing featureAWS Neuron SDK 2.29.0 now available with NKI and Neuron Explorer out of Beta, a new CPU Simulator, and an expanded NKI Library · AWS · Release note
  4. New featureAWS Neuron SDK now available with Neuron Agentic Development for NKI kernel development on Trainium · AWS · Announcement
  5. How-toStop hand-tuning kernels: How Neuron Agentic Development accelerates AWS Trainium optimizations · AWS · How-to
  6. This postHow Deepgram optimized voice AI at scale with AWS Trainium
  7. PreviewAWS announces TorchNeuron: Native PyTorch Support for AWS Trainium (Public Beta) · AWS · Announcement
  8. How-toBeyond the KV cache: Training and serving i14’s Laplace 3B linear attention model on AWS Trainium2 with native PyTorch · AWS · How-to
  9. How-toTrain Qwen3 on AWS Trainium with torchtitan · AWS · How-to
  10. How-toDeploy frontier AI models on AWS Trainium with SGLang-Neuron · AWS · How-to