Skip to content

Implement _fft_r2c core ATen op #8277

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

Merged
merged 2 commits into from
Feb 7, 2025
Merged

Implement _fft_r2c core ATen op #8277

merged 2 commits into from
Feb 7, 2025

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Feb 6, 2025

[ghstack-poisoned]
@swolchok
Copy link
Contributor Author

swolchok commented Feb 6, 2025

Stack from ghstack (oldest at bottom):

Copy link

pytorch-bot bot commented Feb 6, 2025

🔗 Helpful Links

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

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

✅ No Failures

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

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 6, 2025
swolchok added a commit that referenced this pull request Feb 6, 2025
Mostly following suit on PyTorch impl here. (For your reference: https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/mkl/SpectralOps.cpp#L281)

ghstack-source-id: d05d5db7f08d98baec9a37d25c4561128bd8a625
ghstack-comment-id: 2640451211
Pull Request resolved: #8277
@swolchok swolchok added the release notes: ops & kernels Changes to the opset and any new / changed kernel implementations label Feb 6, 2025
@swolchok
Copy link
Contributor Author

swolchok commented Feb 6, 2025

update coming soon to fix internal build issues

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Feb 6, 2025
Mostly following suit on PyTorch impl here. (For your reference: https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/mkl/SpectralOps.cpp#L281)

ghstack-source-id: 5caee518c2de5c48e233b442510007a66a40ee2b
ghstack-comment-id: 2640451211
Pull Request resolved: #8277
@swolchok swolchok requested review from kirklandsign, GregoryComer and manuelcandales and removed request for kirklandsign February 6, 2025 18:12
Copy link
Contributor

@iseeyuan iseeyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @swolchok !

@iseeyuan iseeyuan merged commit 5cab322 into main Feb 7, 2025
45 checks passed
@iseeyuan iseeyuan deleted the gh/swolchok/234/head branch February 7, 2025 03:33
@kimishpatel
Copy link
Contributor

no code sharing for this one?

@swolchok
Copy link
Contributor Author

swolchok commented Feb 8, 2025

no code sharing for this one?

What's to share? The interesting bits are pocketfft, and we use that, same as PyTorch core.

@kimishpatel
Copy link
Contributor

no code sharing for this one?

What's to share? The interesting bits are pocketfft, and we use that, same as PyTorch core.

I havent looked in depth but shouldnt this file kernels/optimized/cpu/op_fft_r2c.cpp be subset of https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/mkl/SpectralOps.cpp#L281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: ops & kernels Changes to the opset and any new / changed kernel implementations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants