Skip to content

update HyperHessians extension for 0.3 - #1053

Merged
gdalle merged 2 commits into
JuliaDiff:mainfrom
KristofferC:kc/hyperhessians
Aug 10, 2026
Merged

update HyperHessians extension for 0.3#1053
gdalle merged 2 commits into
JuliaDiff:mainfrom
KristofferC:kc/hyperhessians

Conversation

@KristofferC

@KristofferC KristofferC commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Maybe requires SciML/ADTypes.jl#176 to merge + tag first?

  • forward the new simd and jet backend options into HessianConfig /
    HVPConfig (jet selects the symmetric Jet representation for Hessians;
    HVPs stay chunked HyperDuals)
  • HyperDual gained a simd backend type parameter; use the scalar
    default HyperDual{1, 1, T, false} for cache translation
  • preserve simd/jet when threshold_batchsize rebuilds the backend
  • bump HyperHessians compat to 0.3 and test the new option combinations

- forward the new simd and jet backend options into HessianConfig /
  HVPConfig (jet selects the symmetric Jet representation for Hessians;
  HVPs stay chunked HyperDuals)
- HyperDual gained a simd backend type parameter; use the scalar
  default HyperDual{1, 1, T, false} for cache translation
- preserve simd/jet when threshold_batchsize rebuilds the backend
- bump HyperHessians compat to 0.3 and test the new option combinations
@KristofferC
KristofferC requested a review from gdalle as a code owner August 8, 2026 12:12
@codecov

codecov Bot commented Aug 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.66%. Comparing base (82b57f8) to head (31c0314).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1053   +/-   ##
=======================================
  Coverage   97.66%   97.66%           
=======================================
  Files         143      143           
  Lines        8267     8269    +2     
=======================================
+ Hits         8074     8076    +2     
  Misses        193      193           
Flag Coverage Δ
DI 98.27% <100.00%> (+<0.01%) ⬆️
DIT 96.03% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread DifferentiationInterface/Project.toml Outdated

@gdalle gdalle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@gdalle
gdalle merged commit fab82f3 into JuliaDiff:main Aug 10, 2026
72 of 74 checks passed
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