Skip to content

real tensor prop for composite ops#135717

Closed
pianpwk wants to merge 1 commit intomainfrom
export-D62512551
Closed

real tensor prop for composite ops#135717
pianpwk wants to merge 1 commit intomainfrom
export-D62512551

Conversation

@pianpwk
Copy link
Contributor

@pianpwk pianpwk commented Sep 11, 2024

Fixes #135632

Adds real tensor propagation for decompositions, checking any symbols on their outputs

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 11, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 4bb6b36 with merge base 83c594e (image):

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.

@pytorch-bot pytorch-bot bot added ciflow/inductor release notes: fx release notes category labels Sep 11, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@pianpwk has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@pianpwk pianpwk changed the title [export] real tensor prop for composite ops real tensor prop for composite ops Sep 12, 2024
@pianpwk pianpwk requested review from ezyang and removed request for ezyang September 12, 2024 00:07
@facebook-github-bot
Copy link
Contributor

@pianpwk has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ezyang
Copy link
Contributor

ezyang commented Sep 12, 2024

This doesn't actually have anything to do with composites, it has to do with ops that return the unbacked symbol as an inner size/stride

go,
tuple(pytree.tree_flatten(fake_out)),
tuple(pytree.tree_flatten(real_out)),
)
Copy link
Contributor

Choose a reason for hiding this comment

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

this probably will make perf worse

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, just updated to use the old version by default. Hopefully that's better.

Summary:
Fixes #135632

Adds real tensor propagation for decompositions, checking any symbols on their outputs


Reviewed By: ezyang

Differential Revision: D62512551

Pulled By: pianpwk
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge -f 'Landed internally'

(Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Sep 20, 2024
Fixes pytorch#135632

Adds real tensor propagation for decompositions, checking any symbols on their outputs

Pull Request resolved: pytorch#135717
Approved by: https://github.com/ezyang
@github-actions github-actions bot deleted the export-D62512551 branch October 14, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Real tensor prop failing for max(u0, u1) call on export

4 participants