{"id":20698053,"url":"https://github.com/fly-apps/whisper-example","last_synced_at":"2025-03-11T03:33:53.222Z","repository":{"id":206565209,"uuid":"717183390","full_name":"fly-apps/whisper-example","owner":"fly-apps","description":"Fly GPU Machines transcribing an mp3 file with Whisper","archived":false,"fork":false,"pushed_at":"2023-11-10T19:41:59.000Z","size":2881,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-01-17T18:55:08.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fly-apps.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-10T18:48:12.000Z","updated_at":"2024-02-21T08:49:36.000Z","dependencies_parsed_at":"2023-11-10T20:42:07.848Z","dependency_job_id":null,"html_url":"https://github.com/fly-apps/whisper-example","commit_stats":null,"previous_names":["fly-apps/whisper-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fwhisper-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fwhisper-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fwhisper-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fwhisper-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-apps","download_url":"https://codeload.github.com/fly-apps/whisper-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242967659,"owners_count":20214280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T00:22:13.929Z","updated_at":"2025-03-11T03:33:53.200Z","avatar_url":"https://github.com/fly-apps.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Run Whisper on Fly.io GPU Machines\n\nI used [this article](https://nlpcloud.com/how-to-install-and-deploy-whisper-the-best-open-source-alternative-to-google-speech-to-text.html) for reference.\n\nThe easiest way to test this out (if your account [has GPU access](https://community.fly.io/t/fly-gpus-are-here/16110)):\n\n```bash\n# 1. Clone the repo\ngit clone git@github.com:fly-apps/whisper-example.git\ncd whisper-example\n\n# 2. Create an app \nfly apps create \u003csome app\u003e\n\n# 3. Edit fly.toml and add your app name there\n\n# 4. Deploy a GPU Machine\n#    --vm-gpu-kind a100-pcie-40gb -\u003e Create a a100 GPU machine, 40b memory\n#    --volume-initial-size 20     -\u003e create a new volume on create\n#    --wait-timeout 600           -\u003e Wait longer for the Machine to start\n#    --ha=false                   -\u003e Only create one Machine instance\n#    --restart no                 -\u003e Just run once (alternatively, use --rm)\nfly deploy --vm-gpu-kind a100-pcie-40gb \\\n    --volume-initial-size 20 \\\n    --wait-timeout 600 --ha=false \\\n    --restart no\n```\n\nFile `audio.mp3` provided by https://www.flatworldsolutions.com/transcription/samples.php and converted to mp3 via:\n\n```bash\nffmpeg -i Monologue.ogg -b:a 192k audio.mp3\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fwhisper-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-apps%2Fwhisper-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fwhisper-example/lists"}