[MLX] Probe the usable Metal compiler in Apple CMake presets
@metascroy がすでに取り組んでいます。
2026年9月10日 から。
評価
この issue はまだ評価されていません。
説明
Problem
The Apple and pybind presets use xcrun -sdk macosx --find metal. On current Xcode releases this can locate a launcher even when the separately installed Metal Toolchain component is unavailable, so configuration enables MLX and fails later during compilation.
The documentation correction is part of #22620. The preset behavior change is intentionally excluded from that documentation-only PR.
Proposed change
Probe xcrun -sdk macosx metal --version in both presets and update the fallback message to point to xcodebuild -downloadComponent MetalToolchain.
Test plan
- Configure on Apple silicon with Xcode and the Metal Toolchain installed; verify MLX remains enabled.
- Configure with Xcode but without the Metal Toolchain; verify MLX is disabled cleanly.
- Run Apple pybind and MLX build CI.
cc @larryliu0820 @GregoryComer @metascroy
- 主要言語
- Python
- スター
- 5k
- フォーク
- 1.2k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 595
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytorch/executorch のほかの issue
-
enhancement triaged
難易度 2/5 半日 初心者へのやさしさ 68/100
pytorch/executorch#21640 ·
-
good first issue module: examples module: webgpu
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
pytorch/executorch#23099 ·
-
good first issue module: examples module: vulkan
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
pytorch/executorch#23098 ·
-
good first issue module: cuda module: examples
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
pytorch/executorch#23097 ·
-
module: qnn partner: qualcomm
pytorch/executorch#23096 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
pytorch/executorch の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·