Skip to content
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

Remove wrong rule to fix issue #35 #36

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Remove wrong rule to fix issue #35 #36

merged 2 commits into from
Dec 11, 2023

Conversation

roflmaostc
Copy link
Member

Hi @trahflow,

AD support should be ok, now?

@roflmaostc
Copy link
Member Author

Tests are still passing:

@testset "adjoint convolution" begin

@trahflow
Copy link

Thanks for the fix!

I think the rrule for the planned version is still incorrect.
However the adjoints for planned real ffts in Zygote are also incorrect, so just removing the rule won't fix everything (until JuliaMath/AbstractFFTs.jl#67 is released)

@roflmaostc
Copy link
Member Author

Ah yes, referring to this:

function ChainRulesCore.rrule(::typeof(p_conv_aux), P, P_inv, u, v)

@codecov
Copy link

codecov bot commented Mar 21, 2023

Codecov Report

Merging #36 (79cd82a) into main (87352d2) will decrease coverage by 0.35%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   93.34%   93.00%   -0.35%     
==========================================
  Files          17       17              
  Lines         947      958      +11     
==========================================
+ Hits          884      891       +7     
- Misses         63       67       +4     
Impacted Files Coverage Δ
src/convolutions.jl 97.91% <ø> (-0.45%) ⬇️

... and 3 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@roflmaostc roflmaostc merged commit 35939bb into main Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants