Installation and Runtime Optimizations#24
Open
gluttony-10 wants to merge 1 commit intozai-org:mainfrom
Open
Conversation
1. Dependency Optimizations 1.1. Pinned gradio to version 5.49.0. Versions gradio>=6 cause unexplained, long hangs on Windows without any error logs. 1.2. Created a new minimal dependencies file, requirements-mini.txt, with looser version constraints for broader compatibility. 1.3. Updated torch to 2.7.1+cu128 to support NVIDIA 50-series GPUs, which are not supported by older versions. 1.4. Added the wetext dependency with system-specific installation logic. On Windows, the easier-to-install wetext package is used, while on Linux, WeTextProcessing is installed. 2. Runtime Optimizations 2.1. Optimized cosyvoice/frontend.py by adding the wetext import. 2.2. Added launch parameters to the Gradio demo file. 2.3. Fixed the Gradio demo file for compatibility with the updated Gradio version. 2.4. Lowered the onnxruntime logging level to reduce verbosity from a specific dependency version. 3. README Optimizations 3.1. Optimized the “Dependency Installation” section. 3.2. Suggestion: The README could benefit from a major restructuring. The introduction and project highlights should be at the top. The quick start guide (minimal installation and run) should be in the middle. Optional installations and other information can be placed at the end. 3.3. Recommendation: Add a models directory to the project structure. This is crucial.
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.
Dependency Optimizations
1.1. Pinned gradio to version 5.49.0. Versions gradio>=6 cause unexplained, long hangs on Windows without any error logs.
1.2. Created a new minimal dependencies file, requirements-mini.txt, with looser version constraints for broader compatibility.
1.3. Updated torch to 2.7.1+cu128 to support NVIDIA 50-series GPUs, which are not supported by older versions.
1.4. Added the wetext dependency with system-specific installation logic. On Windows, the easier-to-install wetext package is used, while on Linux, WeTextProcessing is installed.
Runtime Optimizations
2.1. Optimized cosyvoice/frontend.py by adding the wetext import.
2.2. Added launch parameters to the Gradio demo file.
2.3. Fixed the Gradio demo file for compatibility with the updated Gradio version.
2.4. Lowered the onnxruntime logging level to reduce verbosity from a specific dependency version.
README Optimizations
3.1. Optimized the “Dependency Installation” section.
3.2. Suggestion: The README could benefit from a major restructuring. The introduction and project highlights should be at the top. The quick start guide (minimal installation and run) should be in the middle. Optional installations and other information can be placed at the end.
3.3. Recommendation: Add a models directory to the project structure. This is crucial.