-
Couldn't load subscription status.
- Fork 10.6k
fix VJP differentiation for TensorFlow autodiff tests #21106
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
Conversation
|
@swift-ci please test tensorflow macos |
|
You can also try to remove non-abi linkage from primal/adjoint functions. @bgogul encountered exactly this verifier error yesterday, so this may fix his problem. |
Yes. Let's discuss this offline tomorrow. |
lib/TBDGen/TBDGen.cpp
Outdated
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.
Clean up the empty line?
20fa282 to
65e1ae4
Compare
|
@swift-ci please test tensorflow |
|
@swift-ci please test tensorflow |
|
@swift-ci please test tensorflow macos |
Fixes/workarounds for some issues:
getTFCompatibleFuncNameable to handleAD__functionsThe SILVerifier error was:
I believe that my PublicNonABI change will bring back https://bugs.swift.org/browse/SR-8723. I don't have swift set up on a macos right now (and I've only seen this failure happen on macos), so I'll run this PR through macos ci to see what happens. Maybe I can fix this by teaching TBDGen to generate symbols for autodiff associated functions?