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

[Core ML] Avoid unnecessary portable-kernel linkage from coremldelegate

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

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

2026年9月10日 から。

評価

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

説明

bug module: build/install module: coreml
Problem

The Core ML CMake target links portable_ops_lib and portable_kernels privately when the standalone runner option is enabled. The standalone Xcode runner already links those archives itself, while other Core ML consumers should not pull in a second operator registry.

A proposed switch from link edges to build dependencies surfaced another requirement: add_dependencies fails when portable operators are disabled unless both targets are guarded. This was found during the source-build validation for #22620 and is intentionally excluded from that documentation-only PR.

Proposed change

Use build-order dependencies instead of private linkage where appropriate, guarded with TARGET portable_ops_lib and TARGET portable_kernels.

Test plan
  • Configure the macOS preset with Core ML enabled and portable operators disabled.
  • Build the Core ML runner configuration with portable operators enabled.
  • Run Core ML model and operator CI.

cc @larryliu0820 @GregoryComer @kimishpatel @YifanShenSZ @cymbalrush @metascroy

主要言語
Python
スター
5k
フォーク
1.2k
平均マージ
2日 12時間
マージ済み PR(30日)
588

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

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

はじめの一歩

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

pytorch/executorch のほかの issue

pytorch/executorch の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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