Skip to content

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Nov 1, 2023

Stack from ghstack (oldest at bottom):

This reverts commit 22221c6.

Differential Revision: D50886564

@ezyang ezyang requested a review from Chillee as a code owner November 1, 2023 15:40
Copy link

pytorch-bot bot commented Nov 1, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 7c2a287 with merge base 84f59d8 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the release notes: fx release notes category label Nov 1, 2023
ezyang added a commit that referenced this pull request Nov 1, 2023
@ezyang
Copy link
Contributor Author

ezyang commented Nov 1, 2023

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

@@ -635,7 +635,9 @@ bool TensorImpl::is_non_overlapping_and_dense_custom() const {
}

IntArrayRef TensorImpl::sizes_custom() const {
if (C10_UNLIKELY(matches_python_custom(SizesStridesPolicy::CustomSizes))) {
if (C10_UNLIKELY(
Copy link
Contributor

Choose a reason for hiding this comment

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

I think one consequence of this is that wrapper tensor subclasses during tracing (like DTensor) will see calls to ‘aten.size’ in their torch_dispatch, and need to handle it properly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

only if there are symbolic shapes!

@albanD albanD removed their request for review November 1, 2023 17:27
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 2, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@facebook-github-bot facebook-github-bot deleted the gh/ezyang/2404/head branch November 5, 2023 15:25
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: fx release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants