mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-06-12 03:00:09 +08:00
fix(backend): 升级 ctranslate2 4.5.0→4.6.0 修复后端启动崩溃
Docker 容器反复重启,启动即报: ImportError: libctranslate2-*.so.4.5.0: cannot enable executable stack as shared object requires: Invalid argument 根因:ctranslate2 4.5.0 预编译 wheel 把共享库标记为「需要可执行栈」, 新内核 / glibc 2.41+ 加载时拒绝并返回 EINVAL。faster-whisper 在 whisper.py 顶层 import,import 失败直接拖垮整个后端启动 → 重启死循环。 ctranslate2 4.6.0 加入 noexecstack 链接标志(OpenNMT/CTranslate2 #1852、 #1861)从 wheel 层根治。faster-whisper 1.1.1 依赖 ctranslate2<5,>=4.0, 4.6.0 兼容;同时覆盖 web / GPU / 桌面 三条构建链。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ click-repl==0.3.0
|
||||
colorama==0.4.6
|
||||
coloredlogs==15.0.1
|
||||
cssselect2==0.8.0
|
||||
ctranslate2==4.5.0
|
||||
ctranslate2==4.6.0
|
||||
distro==1.9.0
|
||||
dnspython==2.7.0
|
||||
email_validator==2.2.0
|
||||
|
||||
Reference in New Issue
Block a user