-
Notifications
You must be signed in to change notification settings - Fork 527
Update flat tensor ndm to account for named delegate data #10330
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
base: gh/lucylq/64/base
Are you sure you want to change the base?
Conversation
Currently flat_tensor ndm only accounts for tensors in get_data, get_num_keys, get_key functions. Add support to return named_data values as well. TODO: consolidate tensors and named_data into one structure in the flatbuffer. This will simplify all the serialization and runtime code. Currently, we assume that a PTD file has either tensors or named_data, not both. After the consolidation, this won't be an issue. Differential Revision: [D73380805](https://our.internmc.facebook.com/intern/diff/D73380805/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10330
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 6 New Failures, 1 Unrelated FailureAs of commit ad715d9 with merge base 06f912d ( NEW FAILURES - The following jobs have failed:
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. |
Currently flat_tensor ndm only accounts for tensors in get_data, get_num_keys, get_key functions. Add support to return named_data values as well. TODO: consolidate tensors and named_data into one structure in the flatbuffer. This will simplify all the serialization and runtime code. Currently, we assume that a PTD file has either tensors or named_data, not both. After the consolidation, this won't be an issue. Differential Revision: [D73380805](https://our.internmc.facebook.com/intern/diff/D73380805/) ghstack-source-id: 279349252 Pull Request resolved: #10330
This pull request was exported from Phabricator. Differential Revision: D73380805 |
Stack from ghstack (oldest at bottom):
Currently flat_tensor ndm only accounts for tensors in get_data, get_num_keys, get_key functions.
Add support to return named_data values as well.
TODO: consolidate tensors and named_data into one structure in the flatbuffer. This will simplify all the serialization and runtime code.
Currently, we assume that a PTD file has either tensors or named_data, not both. After the consolidation, this won't be an issue.
Differential Revision: D73380805