pytorch / pytorch/executorch

[CoreML] PT2E requires minimum deployment target as IOS17 and default=None raises error

Open
#13,305 3 comments 0 reactions 1 assignee View on GitHub

@metascroy is already working on this.

Since Aug 12, 2025.

enhancement
Dominant language
Python
Stars
5k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
581

Description

🐛 Describe the bug

Context: https://github.com/pytorch/executorch/pull/13265#discussion_r2267529945

default=None chooses IOS15 but observed an error: ValueError: No available version for quantize in the coremltools.target.iOS15 opset. Please update the minimum_deployment_target to at least coremltools.target.iOS17

Versions

run tests in the PR #13265

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.