Home icon

Reduce ASR inference costs by 75% with NVIDIA MPS on Amazon EC2

Machine Learning Blog



This article demonstrates how NVIDIA CUDA Multi-Process Service (MPS) combined with NVIDIA Triton Inference Server on Amazon EC2 reduces automatic speech recognition (ASR) inference infrastructure requirements by 75 percent.

  • Single ASR requests use only 15-20% of GPU compute capacity, leaving 80% idle with default time-slicing behavior
  • CUDA MPS enables concurrent kernel execution across multiple processes without code changes, eliminating context-switching overhead
  • Hybrid optimization stack combines ONNX Runtime with TensorRT for the encoder and PyTorch CUDA for the decoder
  • Triton Inference Server handles dynamic batching for transcription and sequence batching for streaming diarization
  • On g7e.4xlarge instances, achieves 92.1 requests per second per GPU at 352ms mean latency with sub-second SLA compliance
  • TensorRT + ONNX + MPS configuration delivers 88% infrastructure reduction (2 GPUs vs 16) at 111.6 RPS
  • Complete implementation provided in GitHub repository with Dockerfiles, Triton configs, FastAPI gateway, and benchmark scripts

The solution reduces Heidi Health's GPU infrastructure from 16 instances to 4 while maintaining strict latency requirements for processing 2.4 million clinical consultations weekly.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Mar 12
2026
Fine-tuning NVIDIA Nemotron Speech ASR on Amazon EC2 for domain adaptation
Aug 3
2026
Run GPU batch inference on Amazon ECS Managed Instances with scale to zero
Sep 1
2026
Fast model loading for AI inference on Amazon EKS
Aug 25
2026
GPU-accelerated Apache Spark with Amazon EMR and NVIDIA RTX PRO 4500 on Amazon EC2 G7 instances runs up to 3.7x faster

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.