Skip to content

[1/N] Add BackendOptions class #11874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025
Merged

[1/N] Add BackendOptions class #11874

merged 1 commit into from
Jun 24, 2025

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #11389 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/21/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/21/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/cccclai/21/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/)
@pytorchbot pytorchbot requested a review from cccclai as a code owner June 24, 2025 08:00
Copy link

pytorch-bot bot commented Jun 24, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit ec8e11c with merge base 222d9e3 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-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
@cccclai cccclai merged commit 8f1ded2 into main Jun 24, 2025
96 of 97 checks passed
@cccclai cccclai deleted the gh/cccclai/21/orig branch June 24, 2025 15:35
@cccclai cccclai 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#11389 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/21/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/21/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/21/orig
@diff-train-skip-merge

Co-authored-by: Chen Lai <[email protected]>
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. release notes: api Changes 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