-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark parts of spectral tests as slow (#46509)
Summary: According to https://app.circleci.com/pipelines/github/pytorch/pytorch/228154/workflows/31951076-b633-4391-bd0d-b2953c940876/jobs/8290059 TestFFTCUDA.test_fftn_backward_cuda_complex128 takes 242 seconds to finish, where most of the time spent checking 2nd gradient Refactor common part of test_fft_backward and test_fftn_backward into _fft_grad_check_helper Introduce `slowAwareTest` decorator Split test into fast and slow parts by checking 2nd degree gradient only during the slow part Pull Request resolved: #46509 Reviewed By: walterddr Differential Revision: D24378901 Pulled By: malfet fbshipit-source-id: 606670c2078480219905f63b9b278b835e760a66
- Loading branch information
1 parent
e7564b0
commit 172ed51
Showing
2 changed files
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters