-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Fix FFT documentation examples and run doctests in the test suite #60304
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
💊 CI failures summary and remediationsAs of commit 4226688 (more details on the Dr. CI page and at hud.pytorch.org/pr/60304):
🕵️ 2 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
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.
Cool! Thanks @peterbell10.
cc @pmeier, this is another good datapoint that maybe we should default check_strides to False
|
@mruberry has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@peterbell10 when #60637 is landed, you can drop the |
We now have ~three out of three~ four out of four datapoints that `check_stride` will be `partial`'ed to `False`: - `torch` test suite: #58981 (comment) - `torchvision` test suite: #56544 (comment) - `kornia`: https://github.com/kornia/kornia/blob/9041c42b410e6a4bbb664c7134a120be80aa2265/test/utils.py#L25 - `torch.fft`: #60304 (review) Given that the strides in most cases are in implementation detail, IMO we should change the default to `False`. In cases were matching strides is a requirement for closeness / equality it can always set to `True` manually. [ghstack-poisoned]
We now have ~three out of three~ four out of four datapoints that `check_stride` will be `partial`'ed to `False`: - `torch` test suite: #58981 (comment) - `torchvision` test suite: #56544 (comment) - `kornia`: https://github.com/kornia/kornia/blob/9041c42b410e6a4bbb664c7134a120be80aa2265/test/utils.py#L25 - `torch.fft`: #60304 (review) Given that the strides in most cases are in implementation detail, IMO we should change the default to `False`. In cases were matching strides is a requirement for closeness / equality it can always set to `True` manually. [ghstack-poisoned]
We now have ~three out of three~ four out of four datapoints that `check_stride` will be `partial`'ed to `False`: - `torch` test suite: #58981 (comment) - `torchvision` test suite: #56544 (comment) - `kornia`: https://github.com/kornia/kornia/blob/9041c42b410e6a4bbb664c7134a120be80aa2265/test/utils.py#L25 - `torch.fft`: #60304 (review) Given that the strides in most cases are in implementation detail, IMO we should change the default to `False`. In cases were matching strides is a requirement for closeness / equality it can always set to `True` manually. [ghstack-poisoned]
We now have ~three out of three~ four out of four datapoints that `check_stride` will be `partial`'ed to `False`: - `torch` test suite: #58981 (comment) - `torchvision` test suite: #56544 (comment) - `kornia`: https://github.com/kornia/kornia/blob/9041c42b410e6a4bbb664c7134a120be80aa2265/test/utils.py#L25 - `torch.fft`: #60304 (review) Given that the strides in most cases are in implementation detail, IMO we should change the default to `False`. In cases were matching strides is a requirement for closeness / equality it can always set to `True` manually. [ghstack-poisoned]
Summary: Pull Request resolved: #60637 We now have ~three out of three~ four out of four datapoints that `check_stride` will be `partial`'ed to `False`: - `torch` test suite: #58981 (comment) - `torchvision` test suite: #56544 (comment) - `kornia`: https://github.com/kornia/kornia/blob/9041c42b410e6a4bbb664c7134a120be80aa2265/test/utils.py#L25 - `torch.fft`: #60304 (review) Given that the strides in most cases are in implementation detail, IMO we should change the default to `False`. In cases were matching strides is a requirement for closeness / equality it can always set to `True` manually. Test Plan: Imported from OSS Reviewed By: ngimel Differential Revision: D29556355 Pulled By: mruberry fbshipit-source-id: 0029a44280d8f4369fbdb537dce3202eeee4b1d9
Fixes #59514