[macos][local-asr] stable 1.3.18 包缺少 mlx.metallib,点击「加载并测试」进程直接退出(无崩溃报告)

Offen
#1,098 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
macos, rust, tauri
Bereich
ci-cd, release

Rechercherichtung

The failing load happens in the vendored MLX code referenced at openless-all/app/src-tauri/vendor/qwen3-asr-rs/mlx-c/mlx/c/stream.cpp:40, so start by checking how the Tauri bundle declares resources (tauri.conf.json / bundling settings) and the macOS release workflow that produces the Homebrew cask. Compare with the v2.0.0-Beta.1 build, which does ship Contents/Resources/mlx.metallib. Done means a rebuilt stable .app contains that file (verify with find OpenLess.app -iname '*.metallib') and the release CI fails when an MLX-enabled bundle is missing it.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Describe the bug

macOS stable 1.3.18(Homebrew cask 安装):设置 → 本地模型下载 Qwen3-ASR 0.6B 成功后,点击「加载并测试」应用立即自行退出。不生成任何崩溃报告(~/Library/Logs/DiagnosticReports 无新 .ips,无 jetsam 事件),日志戛然而止。

To Reproduce
  1. brew tap Open-Less/openless https://github.com/Open-Less/openless && brew install --cask openless(1.3.18,ad-hoc 签名,xattr -cr 后正常启动)
  2. 设置 → 本地模型,下载 qwen3-asr-0.6b:下载完成,model.safetensors SHA256 与 HF 官方一致(79d6cbd4…23ea),.openless-asr-ready 标记已写入
  3. 点击「加载并测试」→ 应用秒退
Evidence

终端直接运行二进制捕获 stderr,退出前最后一行:

MLX error: Failed to load the default metallib. library not found library not found library not found library not found  at /Users/runner/work/openless/openless/openless-all/app/src-tauri/vendor/qwen3-asr-rs/mlx-c/mlx/c/stream.cpp:40

包体对比(同一台机器实测):

stable 1.3.18 v2.0.0-Beta.1-tauri
find OpenLess.app -iname "*.metallib" -o -iname "*mlx*" 空 Contents/Resources/mlx.metallib ✅
app 总体积 46 MB 181 MB

即 stable 发行包缺少 MLX 后端必需的 mlx.metallib 资源,但可执行文件内仍编入了 qwen3-asr-rs/mlx-c 调用路径,且失败后进程直接退出而非报错回退。

Device information
  • Type of Mac: MacBook Air, Apple M5 (10C CPU + 8C GPU), 16 GB
  • macOS version: 26 (Tahoe)
  • OpenLess version: 1.3.18 stable(Homebrew cask)
Additional information
  • 若 stable 线不打算支持 MLX 后端,请在 UI 隐藏 MLX 渠道;否则「加载并测试」失败应显示明确错误或回退 C 后端,而不是整个进程自退(自退且无 crash report 对排障非常不友好)。
  • 关联:#1006(验证路径读错配置)。注意 #1058/#1072 的修复合入时间为 9/12、9/13,晚于 v2.0.0-Beta.1 的 tag(9/10),与本条 stable 包缺 metallib 的打包问题是两回事——Beta.1 包内 metallib 是存在的。
  • 建议 release CI 增加 macOS 包内容断言:启用 MLX 后端的构建必须包含 Contents/Resources/mlx.metallib,否则 fail the build。
Vorherrschende Sprache
Rust
Sterne
3.7k
Forks
349
Ø Merge
1 T. 18 Std.
Gemergte PRs (30 T.)
93

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Open-Less/openless

Alle Issues in Open-Less/openless

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.