Build with OpenAI’s Whisper model in five minutes
Oct 18, 2022

Summary
This post details the process of packaging and deploying OpenAI's Whisper ASR model using Baseten's Truss library. It covers installing Truss, initializing a new Truss project, configuring dependencies (including a Git+HTTPS requirement for the Whisper repository and system packages like ffmpeg), and specifying GPU resource requirements. The core `predict` function is shown, along with `preprocess` and `postprocess` functions for handling audio input from a URL. The deployment process using `truss push` and prediction via `truss predict` is also demonstrated.
More from the Baseten AI Model Deployment and Serving Platform trail
- LangChain trains custom models for LangSmith Engine with Baseten Loops
- DeepSeek-V4.1-Flash: more efficient prefill for coding agents
- Blaxel is joining Baseten to build the future of agentic infrastructure
- How Baseten makes pyannote’s diarization models 9.6x faster
- Optimizing delta weight syncs for managed rollouts