Skip to content

BundleIO: Validate file-based and in-memory test data consistently - #25301

Open
zingo wants to merge 7 commits into
pytorch:mainfrom
zingo:BundleIO-Validate-file-based-and-in-memory-test-data-consistently
Open

zingo wants to merge 7 commits into
pytorch:mainfrom
zingo:BundleIO-Validate-file-based-and-in-memory-test-data-consistently

Conversation

@zingo

@zingo zingo commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Share validation using method I/O metadata for both program sources. Check method names, value counts, types, tensor dtypes and ranks before serialization while keeping expected outputs optional.

The runtime verifier expects one reference value per model output. Require all expected outputs, or none for profiling. Reject partial lists when bundling to avoid out-of-range access during verification.

Add regression coverage for invalid test data and preserve support for tensor sizes that vary within the same rank.

Authored with assistance from OpenAI Codex.

cc @digantdesai @freddan80 @per @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

Share validation using method I/O metadata for both program sources.
Check method names, value counts, types, tensor dtypes and ranks before
serialization while keeping expected outputs optional.

The runtime verifier expects one reference value per model output.
Require all expected outputs, or none for profiling. Reject partial
lists when bundling to avoid out-of-range access during verification.

Add regression coverage for invalid test data and preserve support for
tensor sizes that vary within the same rank.

Authored with assistance from OpenAI Codex.

Change-Id: I62b56ace648ea64278f890b5bc18f7ca99fed771
Signed-off-by: Zingo Andersen <Zingo.Andersen@arm.com>
@zingo
zingo requested a review from Gasoonjia as a code owner November 19, 2026 16:56
@zingo zingo added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes labels Nov 19, 2026
@pytorch-bot

pytorch-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 6 New Failures, 2 Pending, 3 Unrelated Failures, 1 Unclassified Failure

As of commit f12ee8f with merge base 11ce711 (image):

NEW FAILURES - The following jobs have failed:

UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:

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.

@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 Nov 19, 2026
@zingo zingo added ciflow/trunk help wanted Extra attention is needed labels Nov 19, 2026
@zingo zingo removed the help wanted Extra attention is needed label Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants