Skip to content

Conversation

@JacobSzwejbka
Copy link
Contributor

Summary: For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

Differential Revision: D79268134

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 30, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Unrelated Failure

As of commit 16acb4b with merge base 650b32f (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

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

@JacobSzwejbka
Copy link
Contributor Author

All Ive done so far is just a find and replace code mod. Im sure I have to go through and fix 1 billion individual issues. Just wanted to get this out early to give backend authors a heads up on the change.

*/
ET_NODISCARD executorch::runtime::Error prepare_args(
executorch::runtime::EValue** args);
executorch::runtime::Span<EValue*> args);
Copy link
Contributor

Choose a reason for hiding this comment

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

think you need to add the executorch::runtime::Evalue namespace for evalue still.

@facebook-github-bot
Copy link
Contributor

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Aug 6, 2025
…rch#13004)

Summary:
Pull Request resolved: pytorch#13004

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

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

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Aug 6, 2025
…rch#13004)

Summary:
Pull Request resolved: pytorch#13004

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

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

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Aug 6, 2025
…rch#13004)

Summary:
Pull Request resolved: pytorch#13004

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

Differential Revision: D79268134
@JacobSzwejbka JacobSzwejbka force-pushed the export-D79268134 branch 2 times, most recently from 703fdc9 to d7d027d Compare August 8, 2025 17:28
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Aug 8, 2025
…rch#13004)

Summary:

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

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

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

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Aug 8, 2025
…rch#13004)

Summary:

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

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

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

@cccclai cccclai added the release notes: api Changes to public facing apis (any interfaces, pybinded runtime methods, etc.) label Aug 11, 2025
Copy link
Contributor

@cccclai cccclai left a comment

Choose a reason for hiding this comment

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

Makes sense

JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Aug 11, 2025
…rch#13004)

Summary:

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

Differential Revision: D79268134
JacobSzwejbka added a commit to JacobSzwejbka/executorch-1 that referenced this pull request Aug 11, 2025
…rch#13004)

Summary:

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

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

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

…rch#13004)

Summary:
Pull Request resolved: pytorch#13004

For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.

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

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

@facebook-github-bot facebook-github-bot merged commit 8e73c09 into pytorch:main Aug 12, 2025
179 of 188 checks passed
YufengShi-dudu added a commit to YufengShi-dudu/executorch that referenced this pull request Aug 15, 2025
The PR pytorch#13004 moved
`EValue` to the `Span` namespace but did not add the corresponding
using-declaration in VGFBackend.cpp.

Adds the missing using-declaration to fix the build.

Change-Id: I58f1acff3fec41aee433283495ff4bbf6cb34512
Signed-off-by: Yufeng Shi <[email protected]>
zingo pushed a commit that referenced this pull request Aug 15, 2025
The PR #13004 moved `EValue`
to the `Span` namespace but did not add the corresponding
using-declaration in VGFBackend.cpp.

Adds the missing using-declaration to fix the build.


Signed-off-by: Yufeng Shi <[email protected]>
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
Differential Revision: D79268134

Pull Request resolved: pytorch#13004
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
…#13460)

The PR pytorch#13004 moved `EValue`
to the `Span` namespace but did not add the corresponding
using-declaration in VGFBackend.cpp.

Adds the missing using-declaration to fix the build.


Signed-off-by: Yufeng Shi <[email protected]>
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: api Changes to public facing apis (any interfaces, pybinded runtime methods, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants