Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[MLX] Probe the usable Metal compiler in Apple CMake presets

オープン
#22,683 コメント 0 件 リアクション 0 件 担当者 3 名 GitHub で見る

@metascroy がすでに取り組んでいます。

2026年9月10日 から。

評価

この issue はまだ評価されていません。

説明

bug module: build/install module: mlx
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pytorch/executorch のほかの issue

pytorch/executorch の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。