Skip to content

Save the representative intputs into the ETRecord object #11244

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
May 30, 2025

Conversation

Juntian777
Copy link
Contributor

Summary: The diff saves representative inputs from a BundledProgram object passed into generate_etrecord, specifically targeting the "forward" method. It iterates through the method_test_suites of the bundled_program, and if it finds a suite with the method_name "forward", it returns the inputs from the first test case.

Differential Revision: D75637400

Copy link

pytorch-bot bot commented May 30, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 5e39a16 with merge base b02ac1b (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 May 30, 2025
@facebook-github-bot
Copy link
Contributor

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

Juntian777 added a commit to Juntian777/executorch that referenced this pull request May 30, 2025
Summary:

The diff saves representative inputs from a BundledProgram object passed into generate_etrecord, specifically targeting the "forward" method. It iterates through the method_test_suites of the bundled_program, and if it finds a suite with the method_name "forward", it returns the inputs from the first test case.

Differential Revision: D75637400
@Juntian777
Copy link
Contributor Author

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label May 30, 2025
Summary:
Pull Request resolved: pytorch#11244

The diff saves representative inputs from a BundledProgram object passed into generate_etrecord, specifically targeting the "forward" method. It iterates through the method_test_suites of the bundled_program, and if it finds a suite with the method_name "forward", it returns the inputs from the first test case.

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

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

Copy link
Contributor

@Gasoonjia Gasoonjia left a comment

Choose a reason for hiding this comment

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

LGTM!

@facebook-github-bot facebook-github-bot merged commit f8a3fd8 into pytorch:main May 30, 2025
97 of 98 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 release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants