Skip to content

multivalue autodiff #221

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 4 commits into from
Mar 22, 2023
Merged

multivalue autodiff #221

merged 4 commits into from
Mar 22, 2023

Conversation

vpuri3
Copy link
Contributor

@vpuri3 vpuri3 commented Mar 12, 2023

close #215

@codecov
Copy link

codecov bot commented Mar 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (200be24) 0.31% compared to head (ab697a0) 0.31%.

❗ Current head ab697a0 differs from pull request most recent head babd518. Consider uploading reports for the commit babd518 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #221      +/-   ##
=========================================
- Coverage    0.31%   0.31%   -0.01%     
=========================================
  Files          14      14              
  Lines         940     944       +4     
=========================================
  Hits            3       3              
- Misses        937     941       +4     
Impacted Files Coverage Δ
ext/SparseDiffToolsZygote.jl 0.00% <0.00%> (ø)
src/SparseDiffTools.jl 37.50% <0.00%> (ø)
src/differentiation/jaches_products.jl 0.00% <0.00%> (ø)
src/differentiation/vecjac_products.jl 0.00% <0.00%> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vpuri3
Copy link
Contributor Author

vpuri3 commented Mar 12, 2023

@ChrisRackauckas good to go

@@ -115,8 +116,8 @@ function SparseDiffTools.auto_vecjac(f, x, v)
return vec(back(reshape(v, size(vv)))[1])
end

function SparseDiffTools.ZygoteVecJac(args...; autodiff = true, kwargs...)
VecJac(args...; autodiff = autodiff, kwargs...)
function SparseDiffTools.ZygoteVecJac(args...; kwargs...)
Copy link
Member

Choose a reason for hiding this comment

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

this should just be renamed to VecJac, and AutoZygote is the Zygote version of it (but then we want to make Enzyme etc. versions soon.

@ChrisRackauckas ChrisRackauckas merged commit 3be742b into JuliaDiff:master Mar 22, 2023
@vpuri3 vpuri3 deleted the ad branch March 22, 2023 12:25
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.

Todos for v2
2 participants