[Core ML] Avoid unnecessary portable-kernel linkage from coremldelegate
@metascroy がすでに取り組んでいます。
2026年9月10日 から。
評価
この issue はまだ評価されていません。
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytorch/executorch のほかの issue
-
enhancement triaged
難易度 2/5 半日 初心者へのやさしさ 68/100
pytorch/executorch#21640 ·
-
enhancement module: cuda module: examples module: mlx module: vulkan module: xnnpack
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
pytorch/executorch#23131 · リアクション 1 件 ·
-
bug module: qnn module: quantization
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
pytorch/executorch#23108 ·
-
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 ·
pytorch/executorch の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·