-
Notifications
You must be signed in to change notification settings - Fork 25.6k
only compare attributes for meta tensors #72508
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
Conversation
[ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 877f3f9 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Todo: - [ ] document this behavior - [ ] add tests [ghstack-poisoned]
Todo: - [ ] document this behavior - [x] add tests [ghstack-poisoned]
Todo: - [ ] document this behavior - [x] add tests [ghstack-poisoned]
Todo: - [ ] document this behavior - [x] add tests [ghstack-poisoned]
# https://github.com/pytorch/pytorch/issues/67517 | ||
DecorateInfo(unittest.skip("Skipped!"), "TestCommon", "test_noncontiguous_samples"), | ||
# following 2 tests failed intermittenly | ||
DecorateInfo( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just formatting change to keep the line length rather than ignoring flake8
complaining about it (noqa: B950
). The actual added xfail is the last one in this tuple.
Todo: - [ ] document this behavior - [x] add tests [ghstack-poisoned]
Todo: - [ ] document this behavior - [x] add tests [ghstack-poisoned]
Todo: - [ ] document this behavior - [x] add tests [ghstack-poisoned]
Todo: - [ ] document this behavior - [x] add tests [ghstack-poisoned]
elif ( | ||
op in float_only_ops | ||
and (not dtypes[0].is_floating_point and not dtypes[0].is_complex) | ||
and device != "meta" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one also feels like it should still raise an error on meta.
"TestCommon", | ||
"test_out", | ||
device_type="meta", | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably shouldn't fail
"TestCommon", | ||
"test_out", | ||
device_type="meta", | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto, this probably also shouldn't fail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this. Some of the test modifications seem a little questionable but I wouldn't block this PR on it, best to just handle them in follow up.
@ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Pull Request resolved: #72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104
Hey @pmeier. |
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Summary: Pull Request resolved: pytorch/pytorch#72508 Todo: - [x] document this behavior - [x] add tests Test Plan: Imported from OSS Reviewed By: zou3519 Differential Revision: D34262452 Pulled By: ezyang fbshipit-source-id: bc5c9653d5c3ad5c6efccc9c8e0efc0d28e15104 (cherry picked from commit 233142c88e4cff02825c7e233aba9411a6df3e9f)
Two improvements here: 1. To render a bullet list correctly, a blank line before and after is needed. Compare  vs.  2. #72508 added proper support for meta tensors. Thus, we no longer throw an error if we encounter them. [ghstack-poisoned]
Two improvements here: 1. To render a bullet list correctly, a blank line before and after is needed. Compare  vs.  2. #72508 added proper support for meta tensors. Thus, we no longer throw an error if we encounter them. [ghstack-poisoned]
Two improvements here: 1. To render a bullet list correctly, a blank line before and after is needed. Compare  vs.  2. #72508 added proper support for meta tensors. Thus, we no longer throw an error if we encounter them. Pull Request resolved: #89620 Approved by: https://github.com/kit1980
Two improvements here: 1. To render a bullet list correctly, a blank line before and after is needed. Compare  vs.  2. pytorch#72508 added proper support for meta tensors. Thus, we no longer throw an error if we encounter them. Pull Request resolved: pytorch#89620 Approved by: https://github.com/kit1980
Stack from ghstack:
Todo:
Differential Revision: D34262452