Skip to content

Conversation

pytorchbot
Copy link
Collaborator

Summary:
Error happening when we have older PTE files with extended header size 24.

When we call 'from_bytes', we expect header size 32 after adding segment_data_size field.

This is BC on C++ side because we have a minimum length.
Add minimum length to python to make the change BC.

Differential Revision: D82492169

Differential Revision: D82492169

Pull Request resolved: #14320

(cherry picked from commit d1e1bf8)
Copy link

pytorch-bot bot commented Sep 16, 2025

🔗 Helpful Links

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

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

❌ 2 Cancelled Jobs, 1 Unrelated Failure

As of commit 19fa0ec with merge base 10e93fb (image):

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

BROKEN TRUNK - The following job 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 Sep 16, 2025
@GregoryComer GregoryComer merged commit 93274bb into release/1.0 Sep 17, 2025
120 of 124 checks passed
@GregoryComer GregoryComer deleted the cherry-pick-14320-by-pytorch_bot_bot_ branch September 17, 2025 22:20
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants