Skip to content

Bump autodiff tests #1275

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Bump autodiff tests #1275

wants to merge 4 commits into from

Conversation

ChrisRackauckas
Copy link
Member

No description provided.

@@ -27,7 +27,7 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
BenchmarkTools = "1"
DataFrames = "1"
DataFramesMeta = "0.15"
DifferentiationInterface = "0.9"
DifferentiationInterface = "0.6"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
DifferentiationInterface = "0.6"
DifferentiationInterface = "0.7"

unless something is blocking it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Something is.

@gdalle
Copy link
Contributor

gdalle commented Jun 14, 2025

The failure is really weird here

ERROR: function readdir does not accept keyword arguments

ChrisRackauckas pushed a commit that referenced this pull request Aug 1, 2025
This commit addresses performance regression issues identified in PR #1275 by:

1. **Remove broken MooncakeVJP integration**:
   - Remove Mooncake dependency from Project.toml
   - Remove MooncakeVJP usage from BrussScaling.jmd
   - Fix import statements and VJP method configurations

2. **Fix dependency version issues**:
   - Keep DifferentiationInterface at v0.6 (compatible version)
   - Remove references to non-functional MooncakeVJP method

3. **Add regression tests**:
   - Add test_bruss_regression.jl to prevent future regressions
   - Tests verify ForwardDiff numerical stability
   - Tests check that problematic methods are properly removed

The root cause was incomplete MooncakeVJP integration causing numerical
instabilities in ForwardDiff operations, not actual performance regression.
ForwardDiff failures with NaN dt errors made it appear slower when it was
actually failing due to dependency incompatibilities.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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