feat: improve Linux faster-whisper compatibility#1033
Closed
FidStyle wants to merge 1 commit intoWEIFENG2333:masterfrom
Closed
feat: improve Linux faster-whisper compatibility#1033FidStyle wants to merge 1 commit intoWEIFENG2333:masterfrom
FidStyle wants to merge 1 commit intoWEIFENG2333:masterfrom
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.
变更说明
本 PR 主要完善了
faster-whisper在 Linux 场景下的安装与运行兼容性,同时兼容 Windows 行为。改动内容
config:根据系统设置默认程序名(Windows 默认faster-whisper-xxl.exe,Linux 默认faster-whisper-xxl)。bin和PATH;Linux 安装后自动补执行权限。PATH、项目bin);增强错误识别并对 GLIBC 不兼容给出更明确提示。scripts/run.sh:新增 Linux 下Faster-Whisper-XXL自动安装流程,按 GLIBC 版本选择包,并支持FASTER_WHISPER_XXL_LINUX_URL自定义下载地址。目的
测试结果
ubuntu 24.04 测试转录通过