-
Notifications
You must be signed in to change notification settings - Fork 4.3k
How to handle large audio files with Whisper API in openai-python without hitting memory limits? #2547
-
Hi,
I’m working with Whisper API in openai-python to transcribe long recordings (over 1 hour), and I’m running into memory and timeout issues when sending large files in one request.
Beta Was this translation helpful? Give feedback.
All reactions
If you’re running into memory or timeout issues with Whisper API when transcribing long recordings (1+ hours), it’s best to avoid sending the entire file in a single request. Large uploads increase both memory usage and the chance of hitting request timeouts.
Replies: 2 comments
-
Think I need anything from the center
Beta Was this translation helpful? Give feedback.
All reactions
-
If you’re running into memory or timeout issues with Whisper API when transcribing long recordings (1+ hours), it’s best to avoid sending the entire file in a single request. Large uploads increase both memory usage and the chance of hitting request timeouts.
Beta Was this translation helpful? Give feedback.