Skip to content

feat: improve Linux faster-whisper compatibility#1033

Closed
FidStyle wants to merge 1 commit intoWEIFENG2333:masterfrom
FidStyle:feat/linux-faster-whisper-compat
Closed

feat: improve Linux faster-whisper compatibility#1033
FidStyle wants to merge 1 commit intoWEIFENG2333:masterfrom
FidStyle:feat/linux-faster-whisper-compat

Conversation

@FidStyle
Copy link
Copy Markdown

@FidStyle FidStyle commented Mar 8, 2026

变更说明

本 PR 主要完善了 faster-whisper 在 Linux 场景下的安装与运行兼容性,同时兼容 Windows 行为。

改动内容

  • config:根据系统设置默认程序名(Windows 默认 faster-whisper-xxl.exe,Linux 默认 faster-whisper-xxl)。
  • 设置页:新增 Linux 下载包选项;程序存在性检查同时支持本地 binPATH;Linux 安装后自动补执行权限。
  • ASR 执行逻辑:统一程序解析流程(支持配置路径、PATH、项目 bin);增强错误识别并对 GLIBC 不兼容给出更明确提示。
  • scripts/run.sh:新增 Linux 下 Faster-Whisper-XXL 自动安装流程,按 GLIBC 版本选择包,并支持 FASTER_WHISPER_XXL_LINUX_URL 自定义下载地址。

目的

  • 降低 Linux 环境首次使用门槛。
  • 减少因程序路径或 GLIBC 版本导致的启动失败。
  • 出错时提示更清晰,便于定位和恢复。

测试结果

ubuntu 24.04 测试转录通过

@FidStyle FidStyle closed this by deleting the head repository Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant