-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[AutoDiff upstream] add more validation tests #31112
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
[AutoDiff upstream] add more validation tests #31112
Conversation
@swift-ci please test |
Build failed |
Build failed |
Oh no, there is an |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
@swift-ci please test windows |
} | ||
|
||
// TODO(SR-8699): Fix this test. | ||
// MethodTests.testWithLeakChecking( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe StdlibUnitTest
has a nice built-in way of XFAILing tests. Does this not consistently fail/pass/crash?
} | ||
|
||
// TODO(SR-8699): Fix this test. | ||
// MethodTests.testWithLeakChecking("static method with custom adjoint, differentiated directly") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
// forms a curry thunk of `Float.+` before conversion to @differentiable, and AD | ||
// doesn't know how to differentiate the curry thunk, so it produces a | ||
// "function is not differentiable" error. | ||
// SupersetVJPTests.test("CrossModule") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one can be XFailed explicitly.
Thanks for catching those commented tests. They actually all pass now, so I have uncommented them. |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test windows |
These are copied straight from the
tensorflow
branch without any modifications necessary.