Skip to content

Fly GPU Machines transcribing an mp3 file with Whisper

Notifications You must be signed in to change notification settings

fly-apps/whisper-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run Whisper on Fly.io GPU Machines

I used this article for reference.

The easiest way to test this out (if your account has GPU access):

# 1. Clone the repo
git clone git@github.com:fly-apps/whisper-example.git
cd whisper-example

# 2. Create an app 
fly apps create <some app>

# 3. Edit fly.toml and add your app name there

# 4. Deploy a GPU Machine
#    --vm-gpu-kind a100-pcie-40gb -> Create a a100 GPU machine, 40b memory
#    --volume-initial-size 20     -> create a new volume on create
#    --wait-timeout 600           -> Wait longer for the Machine to start
#    --ha=false                   -> Only create one Machine instance
#    --restart no                 -> Just run once (alternatively, use --rm)
fly deploy --vm-gpu-kind a100-pcie-40gb \
    --volume-initial-size 20 \
    --wait-timeout 600 --ha=false \
    --restart no

File audio.mp3 provided by https://www.flatworldsolutions.com/transcription/samples.php and converted to mp3 via:

ffmpeg -i Monologue.ogg -b:a 192k audio.mp3

About

Fly GPU Machines transcribing an mp3 file with Whisper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published