Skip to content

[2/N] Add option context - #11875

Merged
cccclai merged 3 commits into
mainfrom
gh/cccclai/22/orig
Jun 24, 2025
Merged

[2/N] Add option context#11875
cccclai merged 3 commits into
mainfrom
gh/cccclai/22/orig

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #11390 by @cccclai
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/cccclai/22/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/22/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/cccclai/21/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/22/orig
@diff-train-skip-merge

Pull Request resolved: #11389
Introduce backend option as discussed in #10216
Step 1: Introducd Backend Option class
In later stage, it will be plugged in with the rest of the stack. BackendOptions is pretty much a list of BackendOption, and backend option is a key value pair. The key is a string, and the value can be 3 different types, including bool, string and int.
ghstack-source-id: 292257885
Differential Revision: [D75993712](https://our.internmc.facebook.com/intern/diff/D75993712/)
Pull Request resolved: #11390
For future needs without breacking API BC, in case we need to pass more information to the update API
ghstack-source-id: 292257886
Differential Revision: [D75919212](https://our.internmc.facebook.com/intern/diff/D75919212/)
@pytorchbot
pytorchbot requested a review from cccclai as a code ownerJune 24, 2025 08:00
@pytorch-bot

pytorch-botBot commented Jun 24, 2025

Copy link
Copy Markdown

🔗 Helpful Links

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

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

⏳ 1 Pending, 7 Unrelated Failures

As of commit 3ff3c94 with merge base 8f1ded2 (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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.

@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 24, 2025
Base automatically changed from gh/cccclai/21/orig to mainJune 24, 2025 15:35
@cccclai
cccclai merged commit 8e49e01 into mainJun 24, 2025
@cccclai
cccclai deleted the gh/cccclai/22/orig branch June 24, 2025 17:04
@cccclaicccclai added the release notes: api Changes to public facing apis (any interfaces, pybinded runtime methods, etc.) label Jun 24, 2025
hinriksnaer pushed a commit to hinriksnaer/executorch that referenced this pull request Jun 26, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: pytorch#11390 by
@cccclai
^ Please use this as the source of truth for the PR details, comments,
and reviews
ghstack PR base:
https://github.com/pytorch/executorch/tree/gh/cccclai/22/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/22/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/cccclai/21/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/22/orig
@diff-train-skip-merge
---------
Co-authored-by: Chen Lai <chenlai@fb.com>
Co-authored-by: cccclai <chenlai@meta.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.release notes: apiChanges to public facing apis (any interfaces, pybinded runtime methods, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pytorchbot@cccclai@facebook-github-bot