Skip to content

Add helper to resolve debug handles of Event #368

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

Closed
wants to merge 2 commits into from

Conversation

Jack-Khuu
Copy link
Contributor

Summary:
Add a linking function in the form of _gen_resolve_debug_handles

It takes the derived EventBlocks (profiling info, etc.) and links it to ETRecord ("Debug Symbols") via the provided debug_handles


Note: this function only resolves the link (updates the debug_handles field), but does not join the components themselves

Differential Revision: D49117148

@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 Sep 15, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

Jack-Khuu and others added 2 commits September 15, 2023 16:13
Summary:
Pull Request resolved: pytorch/executorch#367

This diff ingests the `ETDump Flatcc` and populates the EventBlocks/Events in the `Inspector` constructor

Notably: This diff only consumes the profile events entries

Differential Revision: https://internalfb.com/D49100624

fbshipit-source-id: d7546d3aeac92e60d4e6aa3e325260dfc93a3397
Summary:
Pull Request resolved: pytorch/executorch#368

Add a linking function in the form of `_gen_resolve_debug_handles`

It takes the derived EventBlocks (profiling info, etc.) and links it to ETRecord ("Debug Symbols") via the provided debug_handles

 ---
Note: this function only resolves the link (updates the debug_handles field), but does not join the components themselves

Reviewed By: tarun292

Differential Revision: D49117148

fbshipit-source-id: 7bc1adf7e72b76b107f56c4aa9c7a4df07c8c1da
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7b29899.

Gasoonjia pushed a commit that referenced this pull request Jul 30, 2024
* add --parallel-prefill options, option validation, and refactor option validation

* handle model is None for model validation

* typo

* move model compile opttions to generator args

* typo

* typo

* typo

* refactor

* update eval
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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants