Skip to content

Delete deprecated test files that only tested exir.capture behavior#18338

Merged
meta-codesync[bot] merged 2 commits intopytorch:mainfrom
JacobSzwejbka:export-D95605525
Mar 20, 2026
Merged

Delete deprecated test files that only tested exir.capture behavior#18338
meta-codesync[bot] merged 2 commits intopytorch:mainfrom
JacobSzwejbka:export-D95605525

Conversation

@JacobSzwejbka
Copy link
Contributor

Summary:
Remove test_capture.py (tested exir.capture directly), test_tracer.py
(tested CaptureConfig flags like _unlift and enable_dynamic_shape),
test_backends.py (covered by test_backends_lifted.py), and
Remove corresponding build targets from TARGETS/BUCK files.

Differential Revision: D95605525

…ig refs (pytorch#18135)

Summary:

Migrate etrecord_test, exported_op_graph_test, and size_analysis_tool_test
from exir.capture to torch.export + to_edge. Remove dead CaptureConfig
imports/usage from end2end tests, export_program, and qualcomm utils
(delete qnn_capture_config() which returned a CaptureConfig).

Reviewed By: Gasoonjia

Differential Revision: D95605485
Summary:
Remove test_capture.py (tested exir.capture directly), test_tracer.py
(tested CaptureConfig flags like _unlift and enable_dynamic_shape),
test_backends.py (covered by test_backends_lifted.py), and
Remove corresponding build targets from TARGETS/BUCK files.

Differential Revision: D95605525
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 19, 2026

🔗 Helpful Links

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

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

❌ 1 New Failure, 2 Cancelled Jobs, 1 Unrelated Failure

As of commit fcd30c9 with merge base baa9888 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

FLAKY - The following job failed but was 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 19, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 19, 2026

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

@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.

Copy link
Contributor

@lucylq lucylq left a comment

Choose a reason for hiding this comment

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

Thanks!

@meta-codesync meta-codesync bot merged commit 586af2b into pytorch:main Mar 20, 2026
137 of 150 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.

2 participants