Repository navigation
fix(ca): install phoonnx instead of the archived matxa plugin - #181
Closed
openvoiceos-bot wants to merge 1 commit into
Closed
openvoiceos-bot wants to merge 1 commit into
openvoiceos-bot wants to merge 1 commit into
Conversation
The Catalan build cloned OpenVoiceOS/ovos-tts-plugin-matxa-multispeaker-cat and installed it editable under constraints-alpha.txt. That repository is archived, and its dev head caps ovos-plugin-manager <2.2.0 while the constraints file requires >=2.12.5a1, so uv reported "No solution found" and Catalan was the only language whose build failed. The plugin's README is a migration guide to phoonnx, which serves the same matxa acoustic model and vocoder. phoonnx also declares the entry point ovos-tts-plugin-phoonnx, which is the module that ovos-config recommends/offline_male/ca-es.conf selects: the image now installs the plugin its own configuration names. The build pre-downloads OpenVoiceOS/matxa-cat-multiaccent-wavenext into the ovos user's HuggingFace cache, so the image speaks without a network. The download command prints a network error and exits 0, so the build then loads the voice and speaks one sentence with speaker_id 2. That step fails the build if a file is missing, if onnxruntime cannot load the graph on arm64, or if espeak phonemization is broken. The espeak-ng compile stays: the voice index gives this voice phoneme_type "espeak". The offline Catalan image builds on the hybrid one, so the same fix repairs both. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Member
|
Closing as a duplicate: #180 carries the same fix with the espeak and matcha extras, the voice-path check script, and a dispatch run that proves it on a built image. |
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.
The failure
lang_builds/hybrid/build_raspOVOS_ca.shclonedOpenVoiceOS/ovos-tts-plugin-matxa-multispeaker-catand installed it editableunder
constraints-alpha.txt. That repository is archived, and itsdevheadpins
ovos-plugin-manager>=2.1.0,<2.2.0, while the constraints file requiresovos-plugin-manager>=2.12.5a1. Catalan was the only language whose buildstep failed (run 36138056055).
Reproduced, resolution only, for the
aarch64target:No lane can widen that cap. GitHub refuses pull requests to an archived
repository.
The change
The archived plugin's own README is a migration guide to
phoonnx, whichserves the same matxa acoustic model and vocoder.
phoonnxalso declares theentry point
ovos-tts-plugin-phoonnx, and that is the moduleovos-configwrites for this tier:recommends/offline_male/ca-es.confnamesovos-tts-plugin-phoonnxwith the voiceOpenVoiceOS/matxa-cat-multiaccent-wavenextandspeaker_id2. The imageinstalled a plugin its own configuration did not name; it now installs the one
it does.
The same command for the new install resolves:
onnxruntime1.30.0 publishesonnxruntime-1.30.0-cp311-cp311-manylinux_2_28_aarch64.whl.The build now also pre-downloads the voice into the
ovosuser's HuggingFacecache, so the image speaks without a network, and then loads the voice and
speaks one sentence. That step is needed because
phoonnx-voices downloadprints a network failure and exits 0: the download alone is not proof. The
check fails the build if a file is missing, if
onnxruntimecannot load thegraph on arm64, or if espeak phonemization is broken.
The espeak-ng compile stays. The voice index gives this voice
phoneme_type: espeak.The offline Catalan image runs the hybrid script first, so this repairs both
variants.
What is not proven here
A resolution is not an installation. The two
uvvalues above were measuredon
x86_64with--python-platform aarch64-manylinux_2_28, which reads wheeltags and installs nothing. The proof this change needs is a green Catalan
image build, which runs on a push to
devor a manual dispatch; neither isthis branch. The voice load and the synthesis run for the first time in that
build.
Other language images have the same disagreement between the tier
configuration and the installed packages:
offline_male/pt-pt.conf,de-de.conf,en-us.confandnl-nl.confall nameovos-tts-plugin-phoonnx, while their hybrid builds installovos-tts-plugin-piper. Those builds do not fail, so they are not in thispull request. They are filed separately.
🤖 Generated with Claude Code