AI Cloud Architect

Speaker-labeled transcription with WhisperX on SageMaker AI

AWSHow-to by Ayush Sharma, Dmitry Soldatkin, Yadan Wei and Daniel WirjoAWS Artificial Intelligence Blog

The AWS WhisperX Deep Learning Container packages Whisper, wav2vec2 forced alignment, and speaker diarization into a GPU-ready image. Learn how to deploy it to Amazon SageMaker AI real-time and asynchronous endpoints for word-level, speaker-labeled transcription, plus the production details that matter: the GPU AMI pin, scaling, and cost controls.

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

AI: Summary

What it is

A prebuilt WhisperX Deep Learning Container can be deployed on SageMaker AI real-time or asynchronous endpoints for word-level, speaker-labeled transcripts.

Who it is for

Teams on AWS transcribing calls, meetings or media audio that need speaker labels and precise word timestamps on SageMaker AI.

Key points

  • Real-time endpoints are limited to 60-second responses; asynchronous endpoints suit long audio via S3.
  • GPU endpoints must pin InferenceAmiVersion al2-ami-sagemaker-inference-gpu-3-1 or the container fails to start.
  • Inference runs one request per container, so throughput scales by adding instances.
  • Example image uses us-west-2 and ml.g4dn.xlarge or ml.g5.2xlarge instance types.

The same at other vendors