feat: v3.0.3 installer refactor and shared env#1
Closed
doomsday616 wants to merge 1 commit into
Closed
Conversation
English: - Add stage-based installer.py with resumable dependency setup and health checks - Support shared uv venv via setup_env.py and OneKeyStart.bat - Make OneKeyStart.bat run pre-launch checks and repair incomplete environments - Relax spaCy patch pin and make Demucs installation more resilient - Fall back to global HuggingFace cache when project WhisperX cache is incomplete - Bump version metadata to v3.0.3 中文: - 新增分阶段 installer.py,支持可重复执行的依赖安装和环境健康检查 - setup_env.py 与 OneKeyStart.bat 支持共享 uv venv - OneKeyStart.bat 启动前自动检查环境,缺失或过期时自动修复 - 放宽 spaCy patch 版本约束,提升 Demucs 安装容错 - 项目内 WhisperX 缓存不完整时自动回退到全局 HuggingFace 缓存 - 版本元数据升级到 v3.0.3
Owner
Author
|
Closing this fork-internal PR. Superseded by an upstream PR to Huanshere/VideoLingo. |
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.
English:
This is a stacked PR on top of
feat/v3.0.2-i18n-and-bugfixes/ upstream PR Huanshere#576.Changes:
installer.py, a stage-based, resumable installer with health checks.setup_env.pyto create/reuse local or shared uv virtual environments and delegate installs toinstaller.py.OneKeyStart.batto prefer a shared venv, run pre-launch checks, repair incomplete/outdated environments, and show colored status output.install.pyas a backward-compatible wrapper._model_cacheis incomplete, use the global HuggingFace cache instead of failing on a half-downloaded cache.Verification:
python -m py_compile installer.py setup_env.py install.py core/asr_backend/whisperX_local.pypython installer.py --checkOneKeyStart.bat --check-onlysetup_env.py --path <temp-venv> --skip-install --yes中文:
这是基于
feat/v3.0.2-i18n-and-bugfixes/ 上游 PR Huanshere#576 的 stacked PR。改动:
installer.py,并加入环境健康检查。setup_env.py,支持本地/共享 uv 虚拟环境,安装逻辑交给installer.py。OneKeyStart.bat,优先使用共享 venv,启动前检查环境,缺失或过期时自动修复,并加入彩色状态输出。install.py保留为兼容入口。_model_cache不完整时自动回退到全局 HuggingFace 缓存。