Skip to content

Conversation

@DrJessop
Copy link
Contributor

@DrJessop DrJessop commented Dec 12, 2025

Summary: Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Also updated test_export_scalar_to_tensor_pass. to_edge already implicitly ran the pass, so the additional pass was idempotent. The updated test manually constructs a graph, checks that the pass modified the graph via graph examination and running the interpreter to check for numerical correctness.

Differential Revision: D89085647

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 12, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 4 Pending

As of commit 2e7d7dd with merge base 9d257c8 (image):

NEW FAILURE - The following job has failed:

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 Dec 12, 2025
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Dec 12, 2025

@DrJessop has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89085647.

@github-actions
Copy link

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.

DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 9, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 9, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 9, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 9, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 21, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 21, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 21, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
@DrJessop DrJessop force-pushed the export-D89085647 branch 2 times, most recently from cc4d69c to 746664f Compare January 21, 2026 23:54
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 21, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.

Reviewed By: hsharma35

Differential Revision: D89085647
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request Jan 27, 2026
…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit.

Reviewed By: hsharma35

Differential Revision: D89085647
@mcremon-meta
Copy link
Contributor

@larryliu0820 @JacobSzwejbka could we get eyes on this please? :)

Copy link
Contributor

@abeakkas abeakkas left a comment

Choose a reason for hiding this comment

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

Approved with comments on Phabricator.

…h#16231)

Summary:

Update ScalarToTensorPass to correctly track the modified bit.

Also updated test_export_scalar_to_tensor_pass. to_edge already implicitly ran the pass, so the additional pass was idempotent. The updated test manually constructs a graph, checks that the pass modified the graph via graph examination and running the interpreter to check for numerical correctness.

Reviewed By: hsharma35

Differential Revision: D89085647
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants