Skip to content

Add --method argument to CoreML static LLM runner#18355

Open
lucylq wants to merge 9 commits intogh/lucylq/146/headfrom
gh/lucylq/148/head
Open

Add --method argument to CoreML static LLM runner#18355
lucylq wants to merge 9 commits intogh/lucylq/146/headfrom
gh/lucylq/148/head

Conversation

@lucylq
Copy link
Copy Markdown
Contributor

@lucylq lucylq commented Mar 19, 2026

Allow specifying which method to execute from a multimethod PTE.
Defaults to "forward" for backward compatibility.

Authored with Claude.

[ghstack-poisoned]
@lucylq
Copy link
Copy Markdown
Contributor Author

lucylq commented Mar 19, 2026

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Mar 19, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18355

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 2 Unrelated Failures

As of commit 45901a7 with merge base e90d3c8 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

lucylq added 3 commits March 19, 2026 17:15
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@lucylq lucylq changed the title Add --method argument to CoreML static LLM runner [wip] Add --method argument to CoreML static LLM runner Mar 20, 2026
@lucylq
Copy link
Copy Markdown
Contributor Author

lucylq commented Mar 20, 2026

Note: this doesn't work with 'multifunction' which splits into prefill and decode.

[ghstack-poisoned]
@lucylq lucylq changed the title [wip] Add --method argument to CoreML static LLM runner Add --method argument to CoreML static LLM runner Mar 20, 2026
lucylq added 4 commits March 24, 2026 15:22
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants