Skip to content

Conversation

@yolhan83
Copy link
Contributor

This PR adds a new benchmark to test sparse automatic differentiation (AD) methods on a simple diffusion operator implemented using a loop. It evaluates various AD backends, including Enzyme, ForwardDiff, Mooncake, and sparse configurations with TracerSparsityDetector and GreedyColoringAlgorithm. A manual Jacobian is provided for validation, and the benchmark framework compares performance and accuracy for a random input vector of size 1000.

@ChrisRackauckas
Copy link
Member

Error: ArgumentError: Package DifferentiationInterfaceTest not found in cur
rent path.
- Run `import Pkg; Pkg.add("DifferentiationInterfaceTest")` to install the 
DifferentiationInterfaceTest package.

The project/manifest need to get updated.

@yolhan83
Copy link
Contributor Author

It should work now, thank you

@yolhan83
Copy link
Contributor Author

yolhan83 commented Dec 16, 2024

wait were the tests suppose to be in 1.10.5 ? The other sparse test runs fine on 1.11 though

@ChrisRackauckas ChrisRackauckas merged commit 40c4bce into SciML:master Dec 20, 2024
2 checks passed
@ChrisRackauckas
Copy link
Member

I'm not sure if the table is nicely displayed? But we'll see in the dev version of the docs. The results look nice and useful though.

@yolhan83
Copy link
Contributor Author

If it's not there is the parse from the Julia AD Benchmark which can be used, will see

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