Skip to content

Remove deprecated XNNPACK capture utilities and migrate tests (#18134)#18134

Merged
JacobSzwejbka merged 1 commit intopytorch:mainfrom
JacobSzwejbka:export-D95605468
Mar 16, 2026
Merged

Remove deprecated XNNPACK capture utilities and migrate tests (#18134)#18134
JacobSzwejbka merged 1 commit intopytorch:mainfrom
JacobSzwejbka:export-D95605468

Conversation

@JacobSzwejbka
Copy link
Contributor

@JacobSzwejbka JacobSzwejbka commented Mar 12, 2026

Summary:

Delete capture_graph_for_xnnpack() and get_xnnpack_capture_config() which
were only used in test files and relied on the deprecated exir.capture API.
Migrate test_xnnpack_utils.py to use inline to_edge(export(...)) calls.
Remove the deprecated exports from xnnpack/init.py.

Differential Revision: D95605468

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 12, 2026

🔗 Helpful Links

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

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

❌ 2 New Failures, 6 Pending, 2 Unrelated Failures

As of commit 0076b99 with merge base 8c32dc8 (image):

NEW FAILURES - The following jobs have failed:

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

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

meta-codesync bot commented Mar 12, 2026

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

@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@digantdesai
Copy link
Contributor

Looks OK to me. @GregoryComer can you take a look as well?

@meta-codesync meta-codesync bot changed the title Remove deprecated XNNPACK capture utilities and migrate tests Remove deprecated XNNPACK capture utilities and migrate tests (#18134) Mar 16, 2026
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Mar 16, 2026
…h#18134)

Summary:

Delete capture_graph_for_xnnpack() and get_xnnpack_capture_config() which
were only used in test files and relied on the deprecated exir.capture API.
Migrate test_xnnpack_utils.py to use inline to_edge(export(...)) calls.
Remove the deprecated exports from xnnpack/__init__.py.

Differential Revision: D95605468
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Mar 16, 2026
…h#18134)

Summary:

Delete capture_graph_for_xnnpack() and get_xnnpack_capture_config() which
were only used in test files and relied on the deprecated exir.capture API.
Migrate test_xnnpack_utils.py to use inline to_edge(export(...)) calls.
Remove the deprecated exports from xnnpack/__init__.py.

Differential Revision: D95605468
…h#18134)

Summary:

Delete capture_graph_for_xnnpack() and get_xnnpack_capture_config() which
were only used in test files and relied on the deprecated exir.capture API.
Migrate test_xnnpack_utils.py to use inline to_edge(export(...)) calls.
Remove the deprecated exports from xnnpack/__init__.py.

Differential Revision: D95605468
@JacobSzwejbka JacobSzwejbka merged commit 1e17e28 into pytorch:main Mar 16, 2026
157 of 163 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants