executorch icon indicating copy to clipboard operation
executorch copied to clipboard

Update flat tensor ndm to account for named delegate data

Open lucylq opened this issue 8 months ago • 3 comments

Stack from ghstack (oldest at bottom):

  • -> #10330
  • #10328

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

lucylq avatar Apr 21 '25 19:04 lucylq

:link: Helpful Links

:test_tube: 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.

:x: 6 New Failures

As of commit 75cc0e625e620a7a85caf4e5d7a7419ed0bde701 with merge base 334af4a1a338a9a37a4e5f0830cc37d83d6a5681 (image):

NEW FAILURES - The following jobs have failed:

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

pytorch-bot[bot] avatar Apr 21 '25 19:04 pytorch-bot[bot]

This pull request was exported from Phabricator. Differential Revision: D73380805

facebook-github-bot avatar Apr 21 '25 19:04 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D73380805

facebook-github-bot avatar Apr 23 '25 21:04 facebook-github-bot