Skip to content

Runtime API to retrieve attributes #10144

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

Merged
merged 1 commit into from
Apr 18, 2025

Conversation

JacobSzwejbka
Copy link
Contributor

@JacobSzwejbka JacobSzwejbka commented Apr 14, 2025

Summary: Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Differential Revision: D72802654

cc @larryliu0820 @lucylq

Copy link

pytorch-bot bot commented Apr 14, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 61a05d8 with merge base d60d03e (image):
💚 Looks good so far! There are no failures yet. 💚

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 Apr 14, 2025
@facebook-github-bot
Copy link
Contributor

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

@JacobSzwejbka
Copy link
Contributor Author

@cptspacemanspiff We ended up pursuing this approach over the memory planning one to share state between entry points. I think this one is easier to maintain (fewer foot guns setting it up as well), though we can continue supporting both approaches.

@JacobSzwejbka JacobSzwejbka added release notes: api Changes to public facing apis (any interfaces, pybinded runtime methods, etc.) module: runtime Issues related to the core runtime and code under runtime/ labels Apr 14, 2025
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 14, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 14, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 14, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 14, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 14, 2025
Summary:
Pull Request resolved: pytorch#10144

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@JacobSzwejbka JacobSzwejbka force-pushed the export-D72802654 branch 2 times, most recently from 78f72e0 to 522f839 Compare April 14, 2025 22:11
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 14, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 14, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 15, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 15, 2025
Summary:
Pull Request resolved: pytorch#10144

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 15, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 15, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 15, 2025
Summary:
Pull Request resolved: pytorch#10144

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 15, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 15, 2025
Summary:
Pull Request resolved: pytorch#10144

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@JacobSzwejbka JacobSzwejbka force-pushed the export-D72802654 branch 2 times, most recently from a20bd6f to 7fe8391 Compare April 17, 2025 16:53
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 17, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Apr 17, 2025
Summary:

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
Summary:
Pull Request resolved: pytorch#10144

Scan implementation today which is kind of slow. I dont think people wil regularly be scanning for tons of tensors though so perf is not super sensitive. Can always add a cache later if necessary.

Reviewed By: larryliu0820

Differential Revision: D72802654
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit 5b7f235 into pytorch:main Apr 18, 2025
154 of 157 checks passed
keyprocedure pushed a commit to keyprocedure/executorch that referenced this pull request Apr 21, 2025
Differential Revision: D72802654

Pull Request resolved: pytorch#10144
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 module: runtime Issues related to the core runtime and code under runtime/ release notes: api Changes to public facing apis (any interfaces, pybinded runtime methods, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants