Skip to content

Add a backend option + runtime spec for weight cache, refactor option handling#18253

Open
GregoryComer wants to merge 2 commits intopytorch:mainfrom
GregoryComer:export-D96879876
Open

Add a backend option + runtime spec for weight cache, refactor option handling#18253
GregoryComer wants to merge 2 commits intopytorch:mainfrom
GregoryComer:export-D96879876

Conversation

@GregoryComer
Copy link
Member

Summary: Enable runtime setting of weight cache on/off for XNNPACK via ET backend options (global) and runtime spec (model-level). Light refactoring of options handling in the backend.

Differential Revision: D96879876

… handling

Summary: Enable runtime setting of weight cache on/off for XNNPACK via ET backend options (global) and runtime spec (model-level). Light refactoring of options handling in the backend.

Differential Revision: D96879876
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 17, 2026

🔗 Helpful Links

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

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

❌ 1 New Failure, 3 Pending, 3 Unrelated Failures

As of commit 498899f with merge base ed57040 (image):

NEW FAILURE - The following job has failed:

  • pull / unittest / macos / macos-job (gh)
    Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/Users/ec2-user/runner/_work/executorch/executorch/test-infra/.github/actions/check-disk-space'. Did you forget to run actions/checkout before running your local action?

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs failed but was 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.

@meta-cla meta-cla 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 Mar 17, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 17, 2026

@GregoryComer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96879876.

@GregoryComer GregoryComer added the release notes: xnnpack Changes to the XNNPack backend delegate label Mar 17, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 17, 2026

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this in D96879876.

Copy link
Contributor

@kimishpatel kimishpatel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

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. fb-exported meta-exported release notes: xnnpack Changes to the XNNPack backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants