Skip to content

Add et_dump related API to module #9284

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
Jun 14, 2025

Conversation

cccclai
Copy link
Contributor

@cccclai cccclai commented Mar 14, 2025

Summary: It is for reusing the exention/module in the module definition in pybindings

class Module final {

Differential Revision: D71135352

@cccclai cccclai requested a review from shoumikhin as a code owner March 14, 2025 18:46
Copy link

pytorch-bot bot commented Mar 14, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job

As of commit bcc2355 with merge base 67b6009 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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

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

Copy link

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@cccclai cccclai marked this pull request as draft March 14, 2025 22:12
@cccclai cccclai force-pushed the export-D71135352 branch from c93a160 to e9198be Compare June 7, 2025 00:48
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 7, 2025
Summary:

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

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

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

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 7, 2025
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

Differential Revision: D71135352
@cccclai cccclai force-pushed the export-D71135352 branch from e9198be to afbb4c0 Compare June 7, 2025 00:54
@@ -489,6 +499,8 @@ class Module {
std::unique_ptr<runtime::EventTracer> event_tracer_;
std::unique_ptr<runtime::DataLoader> data_map_loader_;
std::unique_ptr<NamedDataMap> data_map_;
std::unique_ptr<uint8_t[]> debug_buffer_;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this essentially a std::vector?

@shoumikhin
Copy link
Contributor

Does the PR name match the changes?

@cccclai
Copy link
Contributor Author

cccclai commented Jun 7, 2025

Does the PR name match the changes?

Ah no it doesn't. I rename the diff, but the PR's name doesn't change...

@cccclai cccclai changed the title Add get_method API to module Add et_dump related API to module Jun 7, 2025
@cccclai cccclai marked this pull request as ready for review June 9, 2025 18:34
@facebook-github-bot
Copy link
Contributor

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

@cccclai cccclai force-pushed the export-D71135352 branch from afbb4c0 to 3bee831 Compare June 11, 2025 18:54
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 11, 2025
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

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

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

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 11, 2025
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

Differential Revision: D71135352
@cccclai cccclai force-pushed the export-D71135352 branch from 3bee831 to b9aede0 Compare June 11, 2025 22:39
@cccclai cccclai marked this pull request as draft June 12, 2025 00:04
@facebook-github-bot
Copy link
Contributor

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

@cccclai cccclai force-pushed the export-D71135352 branch from b9aede0 to b181cd1 Compare June 12, 2025 18:44
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 12, 2025
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

Differential Revision: D71135352
@cccclai cccclai marked this pull request as ready for review June 12, 2025 18:56
@facebook-github-bot
Copy link
Contributor

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

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 12, 2025
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

Reviewed By: shoumikhin

Differential Revision: D71135352
@cccclai cccclai force-pushed the export-D71135352 branch from b181cd1 to 5bc4a17 Compare June 12, 2025 19:00
@facebook-github-bot
Copy link
Contributor

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

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 12, 2025
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

Reviewed By: shoumikhin

Differential Revision: D71135352
@cccclai cccclai force-pushed the export-D71135352 branch from 5bc4a17 to 4328895 Compare June 12, 2025 19:06
@facebook-github-bot
Copy link
Contributor

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

@cccclai cccclai force-pushed the export-D71135352 branch from 4328895 to 7bfb28e Compare June 13, 2025 18:47
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Jun 13, 2025
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

Reviewed By: shoumikhin

Differential Revision: D71135352
Summary:
Pull Request resolved: pytorch#9284

It is for reusing the exention/module in the module definition in pybindings https://github.com/pytorch/executorch/blob/1a918c779e16c0ee903a08b30c1c666d1efb2c57/extension/pybindings/pybindings.cpp#L172

Reviewed By: shoumikhin

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

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

@cccclai cccclai force-pushed the export-D71135352 branch from 7bfb28e to bcc2355 Compare June 13, 2025 21:07
@facebook-github-bot facebook-github-bot merged commit 56392aa into pytorch:main Jun 14, 2025
103 of 105 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants