Skip to content
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

don't check memory format for empty tensors #126593

Closed
wants to merge 4 commits into from

Conversation

shunting314
Copy link
Contributor

@shunting314 shunting314 commented May 18, 2024

Stack from ghstack (oldest at bottom):

Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.

I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)

I just skip the check for empty tensor.

Copy link

pytorch-bot bot commented May 18, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit ddf47c9 with merge base aa6de76 (image):
💚 Looks good so far! There are no failures yet. 💚

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

Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.

I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)

I just skip the check for empty tensor.



[ghstack-poisoned]
Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.

I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)

I just skip the check for empty tensor.



[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request May 22, 2024
…#126594)

This reverts commit 0a9c6e9.

enable the test since it's fixed.
Pull Request resolved: #126594
Approved by: https://github.com/huydhn
ghstack dependencies: #126586, #126593
pytorchmergebot added a commit that referenced this pull request May 23, 2024
@pytorchmergebot
Copy link
Collaborator

@shunting314 your PR has been successfully reverted.

Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.

I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)

I just skip the check for empty tensor.



[ghstack-poisoned]
shunting314 added a commit that referenced this pull request May 24, 2024
ghstack-source-id: 4ad57b6e41ae49cfe2fb0649c9145c1b92e361a0
Pull Request resolved: #126593
@shunting314
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 24, 2024
@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

pytorchmergebot pushed a commit that referenced this pull request May 25, 2024
…#126594)

This reverts commit 0a9c6e9.

enable the test since it's fixed.
Pull Request resolved: #126594
Approved by: https://github.com/huydhn
ghstack dependencies: #126593
pragupta pushed a commit to pragupta/pytorch that referenced this pull request May 28, 2024
Fix pytorch#125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.

I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)

I just skip the check for empty tensor.

Pull Request resolved: pytorch#126593
Approved by: https://github.com/ezyang
titaiwangms pushed a commit to titaiwangms/pytorch that referenced this pull request May 28, 2024
Fix pytorch#125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.

I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)

I just skip the check for empty tensor.

Pull Request resolved: pytorch#126593
Approved by: https://github.com/ezyang
titaiwangms pushed a commit to titaiwangms/pytorch that referenced this pull request May 28, 2024
…25970)" (pytorch#126594)

This reverts commit 0a9c6e9.

enable the test since it's fixed.
Pull Request resolved: pytorch#126594
Approved by: https://github.com/huydhn
ghstack dependencies: pytorch#126593
pruthvistony pushed a commit to ROCm/pytorch that referenced this pull request May 29, 2024
Fix pytorch#125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.

I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)

I just skip the check for empty tensor.

Pull Request resolved: pytorch#126593
Approved by: https://github.com/ezyang

Co-authored-by: Shunting Zhang <shunting@fb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged Reverted topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants