Created
October 18, 2023 10:42
-
-
Save kylemclaren/58aa7a044cb9aa7488f98b88ab2f9d16 to your computer and use it in GitHub Desktop.
whisperX web API on Fly GPUs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
export APP_NAME=yourAppName | |
fly apps create $APP_NAME | |
fly vol create -s 50 --vm-gpu-kind a100-pcie-40gb -r ord data -y -a $APP_NAME | |
# Uncomment for access outside Fly private network | |
# fly ips allocate-v4 --shared -a $APP_NAME | |
# fly ips allocate-v6 $APP_NAME | |
fly m run onerahmet/openai-whisper-asr-webservice:latest-gpu --vm-gpu-kind a100-pcie-40gb -p 443:9000/tcp:tls:http -p 80:9000/tcp:http -r ord -v <VOLUME_ID>:/root/.cache/whisper -e ASR_MODEL=large -e ASR_ENGINE=faster_whisper -a $APP_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment