Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[executorch][serialization] Serialize PTD files. #7768

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #7270
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/27/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/27/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/26/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/27/orig
@diff-train-skip-merge

Pull Request resolved: #7269

Introduce _convert_to_flat_tensor, which interprets a flat_tensor blob as a flat_tensor schema.

Use this for more comprehensive testing for flat tensor serialization, and later for deserialization.

ghstack-source-id: 261976100
@exported-using-ghexport

Differential Revision: [D67007821](https://our.internmc.facebook.com/intern/diff/D67007821/)
Pull Request resolved: #7270

Introduce top-level serialization file that calls:
- serialize_pte_binary for PTE file
- FlatTensor.serialize_tensors for PTD files.


ghstack-source-id: 262004271
@exported-using-ghexport

Differential Revision: [D66523267](https://our.internmc.facebook.com/intern/diff/D66523267/)
Copy link

pytorch-bot bot commented Jan 18, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 3523843 with merge base 8494b90 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-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 Jan 18, 2025
Base automatically changed from gh/lucylq/26/orig to main January 21, 2025 17:25
@kirklandsign kirklandsign merged commit 948fba6 into main Jan 21, 2025
44 of 45 checks passed
@kirklandsign kirklandsign deleted the gh/lucylq/27/orig branch January 21, 2025 17:26
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. topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants