[macos][local-asr] stable 1.3.18 包缺少 mlx.metallib,点击「加载并测试」进程直接退出(无崩溃报告)
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
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
brew tap Open-Less/openless https://github.com/Open-Less/openless && brew install --cask openless(1.3.18,ad-hoc 签名,xattr -cr后正常启动)- 设置 → 本地模型,下载
qwen3-asr-0.6b:下载完成,model.safetensorsSHA256 与 HF 官方一致(79d6cbd4…23ea),.openless-asr-ready标记已写入 - 点击「加载并测试」→ 应用秒退
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
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Open-Less/openless
-
[账号] github的退出登陆与云同步不在一起Offenenhancement P1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
[windows] 录音快捷键还不支持设置为ScrllLock键Evtl. vergeben @HKLHaoBin hat das vor 11 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Open-Less/openless#1241 · 5 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[area] 同步功能总是提示重新登录。Offenbug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
Open-Less/openless#1384 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[area] 快捷键不起效Evtl. vergeben @HKLHaoBin hat das heute übernommen. Offenbug
Open-Less/openless#1383 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Open-Less/openless
Ähnliche Issues
-
github_actions security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
dekobon/big-code-analysis#1815 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: png-glitch bug P0 security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
chikoski/png-glitch#45 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
nekko-labs/nekko-agent#1756 ·
Maintainer antworten meist innerhalb von 1 Tag
-
upstream
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
yologdev/yoyo-evolve#1138 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
gitbutlerapp/gitbutler#16982 ·
Maintainer antworten meist innerhalb von 1 Tag