-
Notifications
You must be signed in to change notification settings - Fork 5
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
DI Integration Testing #286
Comments
I think I should probably just add some conversion functionality to ensure that DI doesn't ever have to see weird tangent types for |
I've realised that this was a false alarm -- apologies! The reason is that I need to keep gradients of I'm going to close this, but re-open if it becomes a problem again. |
Perhaps as a smoke test you could add DI testing to your test suite? |
Good shout. I'll make a point of doing this once the 1.11 transition PR is merged. |
The test file should be as simple as this: using DifferentiationInterface, DifferentiationInterfaceTest
import Mooncake
backends = [AutoMooncake(; config=nothing), AutoMooncake(; config=Mooncake.Config())]
test_differentiation(
backends;
excluded=SECOND_ORDER,
logging=true,
); However if you release a breaking version on Mooncake, this will fail to resolve the environment until DI updates its compatibility bounds. That's the downside of handling backend compatibility in DI itself. |
In DI, how will we handle the change from
Array
to other tangent types in 1.11?The text was updated successfully, but these errors were encountered: