feat(backends): add Whisper-Medusa transcription - #11290
Open
localai-org-maint-bot wants to merge 2 commits into
Open
feat(backends): add Whisper-Medusa transcription#11290localai-org-maint-bot wants to merge 2 commits into
localai-org-maint-bot wants to merge 2 commits into
Conversation
Add a dedicated Python gRPC backend for aiola Whisper-Medusa checkpoints, including mono 16 kHz preprocessing, bounded clip validation, CPU/CUDA 12 images, backend gallery metadata, and user documentation. Assisted-by: Codex:gpt-5
The standalone Python release used by libbackend does not publish a 3.11.18 artifact. Pin Whisper-Medusa to the available 3.11.13 build and cover the generated download URL. Assisted-by: Codex:gpt-5 [systematic-debugging]
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a dedicated Python gRPC backend for aiola Whisper-Medusa checkpoints.
The upstream project is archived and pins PyTorch 2.2.2. This PR intentionally does not advertise macOS, ROCm, Intel GPU, or Jetson images because upstream has not published compatibility for those targets.
Closes #3127
Testing
python3 -m unittest discover -s backend/python/whisper-medusa -p "test_unit.py"python3 -m py_compile backend/python/whisper-medusa/backend.py backend/python/whisper-medusa/test_unit.pygit diff --check.github/backend-matrix.ymlandbackend/index.yamlwithgopkg.in/yaml.v3make -n docker-build-whisper-medusa BUILD_TYPE= BASE_IMAGE=ubuntu:24.04The focused Go gallery suite could not run because generated protobuf stubs are absent in a fresh worktree and the pinned protoc download was rejected by the environment proxy with HTTP 403. A full backend image build was not run because it downloads the multi-gigabyte Whisper-Medusa model/dependency stack.
Checklist