pytorch / pytorch/executorch

Enumerated shape support

Open
#9,622 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

🚀 The feature, motivation and pitch

Support enumerated shapes in ET CoreML delegate.

Long term, we need to see if torch.export will support enumerated shapes. The short-term workaround can be a compile spec.

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

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.

Research direction

Start by locating the ExecuTorch CoreML delegate and the torch.export shape-handling entry points. Determine how enumerated shapes should be represented and whether a short-term compile specification is feasible. Done means the CoreML delegate supports enumerated shapes, with the chosen behavior covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.