Skip to content

Conversation

@Gasoonjia
Copy link
Contributor

Summary:
Currently ExecuTorchProgram's debug handle map and delegate map will be empty if we didn't call its _get_emitter_output function directly or indrectly before. This behavior doesn't make sense because:
a. the empty result can not reflect the executorch program's state
b. not in line with ExecuTorchProgramManager behavior
c. other attributes, like self.buffer and self.program, do not have such behavir and can always return valid result.

This PR makes them always has valid value..

Differential Revision: D79706058

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 6, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Unrelated Failure

As of commit 5a3e4c1 with merge base 134becb (image):

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.

@meta-cla meta-cla 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 Aug 6, 2025
@facebook-github-bot
Copy link
Contributor

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

@github-actions
Copy link

github-actions bot commented Aug 6, 2025

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

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

Gasoonjia added a commit to Gasoonjia/executorch-1 that referenced this pull request Aug 6, 2025
…e map (pytorch#13149)

Summary:

Currently ExecuTorchProgram's debug handle map and delegate map will be empty if we didn't call its _get_emitter_output function directly or indrectly before. This behavior doesn't make sense because:
a. the empty result can not reflect the executorch program's state
b. not in line with ExecuTorchProgramManager behavior
c. other attributes, like self.buffer and self.program, do not have such behavir and can always return valid result.

This PR makes them always has valid value..

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

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

Gasoonjia added a commit to Gasoonjia/executorch-1 that referenced this pull request Aug 6, 2025
…e map (pytorch#13149)

Summary:
Pull Request resolved: pytorch#13149

Currently ExecuTorchProgram's debug handle map and delegate map will be empty if we didn't call its _get_emitter_output function directly or indrectly before. This behavior doesn't make sense because:
a. the empty result can not reflect the executorch program's state
b. not in line with ExecuTorchProgramManager behavior
c. other attributes, like self.buffer and self.program, do not have such behavir and can always return valid result.

This PR makes them always has valid value..

Differential Revision: D79706058
Gasoonjia added a commit to Gasoonjia/executorch-1 that referenced this pull request Aug 6, 2025
…e map (pytorch#13149)

Summary:

Currently ExecuTorchProgram's debug handle map and delegate map will be empty if we didn't call its _get_emitter_output function directly or indrectly before. This behavior doesn't make sense because:
a. the empty result can not reflect the executorch program's state
b. not in line with ExecuTorchProgramManager behavior
c. other attributes, like self.buffer and self.program, do not have such behavir and can always return valid result.

This PR makes them always has valid value..

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

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

Gasoonjia added a commit to Gasoonjia/executorch-1 that referenced this pull request Aug 6, 2025
…e map (pytorch#13149)

Summary:

Currently ExecuTorchProgram's debug handle map and delegate map will be empty if we didn't call its _get_emitter_output function directly or indrectly before. This behavior doesn't make sense because:
a. the empty result can not reflect the executorch program's state
b. not in line with ExecuTorchProgramManager behavior
c. other attributes, like self.buffer and self.program, do not have such behavir and can always return valid result.

This PR makes them always has valid value..

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

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

…e map (pytorch#13149)

Summary:

Currently ExecuTorchProgram's debug handle map and delegate map will be empty if we didn't call its _get_emitter_output function directly or indrectly before. This behavior doesn't make sense because:
a. the empty result can not reflect the executorch program's state
b. not in line with ExecuTorchProgramManager behavior
c. other attributes, like self.buffer and self.program, do not have such behavir and can always return valid result.

This PR makes them always has valid value..

Reviewed By: JacobSzwejbka

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

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

@facebook-github-bot facebook-github-bot merged commit a87723d into pytorch:main Aug 7, 2025
100 of 104 checks passed
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
…e map

Differential Revision: D79706058

Pull Request resolved: pytorch#13149
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