Skip to content

Replace AD testing utilities with DifferentiationInterfaceTest.jl#596

Open
simsurace wants to merge 4 commits intomasterfrom
diff-interface-test
Open

Replace AD testing utilities with DifferentiationInterfaceTest.jl#596
simsurace wants to merge 4 commits intomasterfrom
diff-interface-test

Conversation

@simsurace
Copy link
Member

Summary
We update the AD testing infrastructure to better deal with new/changing backends.

Proposed changes
We replace all AD test utils with DifferentiationInterfaceTest.jl calls. We remove some tests for allocations that have been flaky in the past.

What alternatives have you considered?
None.

Breaking changes
None.

@github-actions
Copy link
Contributor

KernelFunctions.jl documentation for PR #596 is available at:
https://JuliaGaussianProcesses.github.io/KernelFunctions.jl/previews/PR596/

@codecov
Copy link

codecov bot commented Mar 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.50%. Comparing base (ce18b29) to head (fa88cb9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #596      +/-   ##
==========================================
- Coverage   94.46%   93.50%   -0.96%     
==========================================
  Files          52       52              
  Lines        1463     1463              
==========================================
- Hits         1382     1368      -14     
- Misses         81       95      +14     

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Member

@theogf theogf left a comment

Choose a reason for hiding this comment

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

Since the diff is pretty big I might be missing something but I see you delete the tests for the kernels but don't really replace them? Is that correct?

@simsurace
Copy link
Member Author

Yeah the perf ones I decided to drop. The others have been replaced in testutils.

@simsurace
Copy link
Member Author

Strange that the 1.6 tests are still listed.

@theogf
Copy link
Member

theogf commented Mar 15, 2026

Is your branch maybe behind compared to main?

No just checked

@simsurace simsurace force-pushed the diff-interface-test branch from 0325190 to fa88cb9 Compare March 15, 2026 23:09
@simsurace simsurace requested a review from theogf March 16, 2026 10:39
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