Skip to content

Require setting all inputs before execution. #13207

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 3 commits into from
Aug 9, 2025

Conversation

shoumikhin
Copy link
Contributor

Summary: Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Differential Revision: D79849134

Copy link

pytorch-bot bot commented Aug 7, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 194 Pending

As of commit 65f73e0 with merge base 077feaf (image):
💚 Looks good so far! There are no failures yet. 💚

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

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

@shoumikhin shoumikhin added ciflow/trunk release notes: none Do not include this in the release notes labels Aug 7, 2025
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 7, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:
Pull Request resolved: pytorch#13207

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:
Pull Request resolved: pytorch#13207

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
@shoumikhin shoumikhin force-pushed the export-D79849134 branch 2 times, most recently from 8eba69d to 718c2a9 Compare August 8, 2025 05:30
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:
Pull Request resolved: pytorch#13207

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
Copy link
Contributor

@JacobSzwejbka JacobSzwejbka left a comment

Choose a reason for hiding this comment

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

Tentively approving but please watch ci carefully since this is a breaking change

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 8, 2025
Summary:
Pull Request resolved: pytorch#13207

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
Summary:
Fix the ET_CHECK_OK_OR_RETURN_ERROR macro so MSVC picks the right overload for 1 vs 2+ arguments. This removes bogus trailing-comma cases and resolves MSVC compile errors (C2440, C2064, C2059, C4834).


Reviewed By: JacobSzwejbka

Differential Revision: D79865456
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

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

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

shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 9, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 9, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 9, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 9, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 9, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
shoumikhin added a commit to shoumikhin/executorch that referenced this pull request Aug 9, 2025
Summary:

Method never cared to check all the inputs were properly set before execution and basically used some default allocated memory for unset inputs. Here we introduce a safety check to guarantee users don't forget to set all inputs explicitly.

Reviewed By: JacobSzwejbka

Differential Revision: D79849134
@shoumikhin shoumikhin merged commit 3d7fd00 into pytorch:main Aug 9, 2025
229 of 230 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk 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