Skip to content

Optimize torch.fft.fftn for real input with an r2c transform#46912

Closed
peterbell10 wants to merge 13 commits intogh/peterbell10/23/basefrom
gh/peterbell10/23/head
Closed

Optimize torch.fft.fftn for real input with an r2c transform#46912
peterbell10 wants to merge 13 commits intogh/peterbell10/23/basefrom
gh/peterbell10/23/head

Conversation

@peterbell10
Copy link
Copy Markdown
Collaborator

@peterbell10 peterbell10 commented Oct 27, 2020

Stack from ghstack:

@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Oct 27, 2020

💊 CI failures summary and remediations

As of commit 06d141e (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build pytorch_libtorch_linux_xenial_cuda11_1_cudnn8_py3_gcc7_build (1/1)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Dec 15 16:51:00 sccache: error: couldn't connect to server
Dec 15 16:51:00 +++ eval 'extract_trap_cmd '
Dec 15 16:51:00 ++++ extract_trap_cmd
Dec 15 16:51:00 ++++ printf '%s\n' ''
Dec 15 16:51:00 +++ printf '%s\n' cleanup
Dec 15 16:51:00 ++ trap -- '
Dec 15 16:51:00 cleanup' EXIT
Dec 15 16:51:00 ++ [[ pytorch-libtorch-linux-xenial-cuda11.1-cudnn8-py3-gcc7-build != *pytorch-win-* ]]
Dec 15 16:51:00 ++ which sccache
Dec 15 16:51:00 ++ sccache --stop-server
Dec 15 16:51:00 Stopping sccache server...
Dec 15 16:51:00 sccache: error: couldn't connect to server
Dec 15 16:51:00 sccache: caused by: Connection refused (os error 111)
Dec 15 16:51:00 ++ true
Dec 15 16:51:00 ++ rm /var/lib/jenkins/sccache_error.log
Dec 15 16:51:00 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Dec 15 16:51:00 ++ true
Dec 15 16:51:00 ++ [[ pytorch-libtorch-linux-xenial-cuda11.1-cudnn8-py3-gcc7-build == *rocm* ]]
Dec 15 16:51:00 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Dec 15 16:51:00 ++ SCCACHE_IDLE_TIMEOUT=1200
Dec 15 16:51:00 ++ RUST_LOG=sccache::server=error
Dec 15 16:51:00 ++ sccache --start-server

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

This comment has been revised 105 times.

peterbell10 added a commit that referenced this pull request Oct 27, 2020
peterbell10 added a commit that referenced this pull request Oct 27, 2020
peterbell10 added a commit that referenced this pull request Oct 29, 2020
peterbell10 added a commit that referenced this pull request Oct 30, 2020
@facebook-github-bot
Copy link
Copy Markdown
Contributor

Hi @peterbell10!

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but we do not have a signature on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@mruberry
Copy link
Copy Markdown
Collaborator

mruberry commented Nov 2, 2020

Test failures look real.

What's the performance difference with this change?

peterbell10 added a commit that referenced this pull request Dec 2, 2020
peterbell10 added a commit that referenced this pull request Dec 2, 2020
peterbell10 added a commit that referenced this pull request Dec 6, 2020
peterbell10 added a commit that referenced this pull request Dec 8, 2020
peterbell10 added a commit that referenced this pull request Dec 8, 2020
peterbell10 added a commit that referenced this pull request Dec 9, 2020
peterbell10 added a commit that referenced this pull request Dec 15, 2020
@peterbell10
Copy link
Copy Markdown
Collaborator Author

I'm just going to close this PR. It doesn't give a clear performance improvement in its current state and torch.fft is performing very well already.

@peterbell10 peterbell10 closed this Jan 7, 2021
@facebook-github-bot facebook-github-bot deleted the gh/peterbell10/23/head branch February 7, 2021 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants