-
Notifications
You must be signed in to change notification settings - Fork 34
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
differentiating rfft
on CuArray
leads to error
#95
Comments
ziyiyin97
added a commit
to ziyiyin97/AbstractFFTs.jl
that referenced
this issue
Mar 28, 2023
ziyiyin97
added a commit
to ziyiyin97/AbstractFFTs.jl
that referenced
this issue
Mar 28, 2023
ziyiyin97
added a commit
to ziyiyin97/AbstractFFTs.jl
that referenced
this issue
Mar 28, 2023
ziyiyin97
added a commit
to ziyiyin97/AbstractFFTs.jl
that referenced
this issue
Mar 29, 2023
ziyiyin97
added a commit
to ziyiyin97/AbstractFFTs.jl
that referenced
this issue
Mar 30, 2023
ziyiyin97
added a commit
to ziyiyin97/AbstractFFTs.jl
that referenced
this issue
Mar 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Redirected from FluxML/Zygote.jl#1406
gradient (based on
rrule
) onrfft
(in FFTW.jl, doing Fast Fourier Transform for real-valued entities) leads to error. On the other hand,fft
onCuArray
, orrfft
on CPU array, both run fine.Pointed out by @ToucheSir, this comes from the fact that the AbstractFFTs
rrule
forrfft
is unconditionally creating a CPU array and using it in https://github.com/JuliaMath/AbstractFFTs.jl/blob/v1.3.1/ext/AbstractFFTsChainRulesCoreExt.jl#L33-L40.The text was updated successfully, but these errors were encountered: