Repository navigation
Conversation
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.
CosyVoice2 could not complete real SSUI synthesis because CUDA speech dependencies were absent from the root runtime, reference tensors were used as booleans, and the adapter discarded all but the first audio chunk.
This change declares the Linux/Windows x64 CUDA inference dependencies in
dependencies/dependencies.yaml, regenerates their requirements/locks, preloads ONNX CUDA libraries, and returns complete WAV-backedVoiceresults. It preserves path-backed prompts and the existing opt-in quantization/CPU-offload controls.Memory use is reduced with lazy, cached language normalizers, low-memory Qwen initialization, and memory-mapped checkpoint loading.
yarn test:cosyvoiceuses pre-normalized text by default; full text normalization is explicitly enabled with--text-frontend. Real-model tests run in a fresh interpreter and retain audio and device reports.Validation:
yarn requirements:check: passed.yarn test:dependency-config: 15 passed, including shared WAV dependencies on every supported profile.yarn test_on cosyvoice_adapter_test: 5 passed.git diff --check: passed.The GPU probe reused the existing Python environment and model cache. A fresh local install of the complete latest-dev dependency set, Windows inference, a full local regression run, and first-time FST compilation were not performed. The hosted macOS build subsequently passed all 393 tests (30 skipped under existing conditions). Other runtime profiles retain upstream constraints.
CI follow-up: SoundFile is shared across runtime profiles; the hosted macOS build passed 393 tests (30 existing skips). Linux jobs that install system dependencies now use Ubuntu 24.04, matching release builds. A CI-only APT helper retains Ubuntu signature verification, suites and third-party repositories, uses HTTPS mirrors with independent fallback, requires complete index updates, and bounds each attempt to 120 seconds. APT failures stop package installation instead of reusing stale indexes. All browser/native test gates remain enabled. Eight focused APT tests and YAML parsing passed locally; hosted validation of commit 66830d4 is in progress.