Skip to content

[ET Device Support] Propagate device info from TensorSpec into serialized Tensor#18079

Open
Gasoonjia wants to merge 4 commits intogh/gasoonjia/136/basefrom
gh/gasoonjia/136/head
Open

[ET Device Support] Propagate device info from TensorSpec into serialized Tensor#18079
Gasoonjia wants to merge 4 commits intogh/gasoonjia/136/basefrom
gh/gasoonjia/136/head

Conversation

@Gasoonjia
Copy link
Contributor

@Gasoonjia Gasoonjia commented Mar 10, 2026

Stack from ghstack (oldest at bottom):

Propagate device information from TensorSpec.device (set by PropagateDevicePass) to
the serialized schema.Tensor in the emitted PTE file, to make runtime further aware of it.

Differential Revision: D95899706

…ized Tensor

Propagate device information from `TensorSpec.device` (set by `PropagateDevicePass`) to
the serialized `schema.Tensor` in the emitted PTE file, to make runtime further aware of it.

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 10, 2026

🔗 Helpful Links

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

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

❌ 6 New Failures

As of commit 6d3366e with merge base 89b938a (image):

NEW FAILURES - The following jobs have failed:

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

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

…into serialized Tensor"

Propagate device information from `TensorSpec.device` (set by `PropagateDevicePass`) to
the serialized `schema.Tensor` in the emitted PTE file, to make runtime further aware of it.

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

[ghstack-poisoned]
…into serialized Tensor"

Propagate device information from `TensorSpec.device` (set by `PropagateDevicePass`) to
the serialized `schema.Tensor` in the emitted PTE file, to make runtime further aware of it.

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

[ghstack-poisoned]
…into serialized Tensor"

Propagate device information from `TensorSpec.device` (set by `PropagateDevicePass`) to
the serialized `schema.Tensor` in the emitted PTE file, to make runtime further aware of it.

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

[ghstack-poisoned]
Gasoonjia added a commit that referenced this pull request Mar 15, 2026
…ized Tensor

Pull Request resolved: #18079

Propagate device information from `TensorSpec.device` (set by `PropagateDevicePass`) to
the serialized `schema.Tensor` in the emitted PTE file, to make runtime further aware of it.
ghstack-source-id: 352274088
@exported-using-ghexport

Differential Revision: [D95899706](https://our.internmc.facebook.com/intern/diff/D95899706/)
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.

1 participant