-
Notifications
You must be signed in to change notification settings - Fork 611
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
Missing symbol for Abseil ParseTime Op #663
Comments
@scentini for whether this might be due to us not exporting all symbols from absl any more |
Yep, seems like it is related to f58c9f8, which changes what we export, see bazelbuild/bazel#7362. The absl symbols probably came from here, and due to f58c9f8 we just don't export the symbol anymore. |
Great thanks that makes sense! cc @helinwang as code owner. Helin if you have time could you submit a patch to add absl as a build dependency. |
After discussion with @r4nt, it might be better to not pass the absl dependency to _parse_time_op.so, but rather add The reason for this is, if we pass I can send out a fix for this tomorrow. |
Thanks, everyone! If there is anything I can help, please let me know. |
thanks guys! when will the bug-fix be ready? next release or next nightly build? |
This should fix tensorflow/addons#663 (cherry picked from commit 17a2394)
…ymbols Imported from GitHub PR #34044 This should fix tensorflow/addons#663, caused by changing logic in Bazel on which symbols we export (see bazelbuild/bazel#7362). Copybara import of the project: PiperOrigin-RevId: 280275294 Change-Id: I1a21010f47367f66ab33ba51aefe5226f8191b30
Hmmm so it seems whatever has landed in the tf_nightly-2.1.0.dev20191114 nightly has not fixed this build issue: I saw there was some issues with merging the patch... can we confirm that the fix landed but didn't solve our issue @scentini @helinwang |
The PR that fixed this was reverted in 5acf6bd. |
Test coverage proved insufficient to catch errors caused by setting the default to true. This PR should fix #34117 tensorflow/addons#663 PiperOrigin-RevId: 281126040 Change-Id: I530963209eaf8dd532b8f7cc6739862d4e9aa4f0
@seanpmorgan it appears to work now with
|
Thanks @georgesterpu! #658 |
Unfortunately this fix caused internal breakages, so we'll be rolling it back. Whatever the solution is, it will be cherrypicked onto r2.1. I'll keep you updated. |
Version: Error:
We'll need to pin it to |
still suffering from this in the current nightly build |
Hi @ezzeldinadel can you confirm the nightly version you're using. We've dropped the ParseTime Op until a fix has landed in TF-core so there should be no issue with the nightlies: https://colab.research.google.com/drive/1KV4J4Gs9VrNmxzstXQOhdYufg1BASaVI |
*** Reason for rollback *** This cl breaks Windows build with --noincompatible_remove_legacy_whole_archive, which is needed in order to fix tensorflow/addons#663 PiperOrigin-RevId: 282765684 Change-Id: Ia557a864d5d5c5b8ca8964ec5985114f7464511c
#728 is passing so I'm assuming this fix landed in nightly. Can we confirm that it was picked into 2.1? |
Hi @scentini so I checked and this build fails on TF2.1rc0 but passes on tf-nightly. Could you point me to the commit that ultimately fixed this so I can request it to be picked into TF2.1? (Assuming that isn't already happening) |
The commit was tensorflow/tensorflow@c9d1b6d, I asked for it to be cherrypicked, you can follow tensorflow/tensorflow#34764. Thank you for your patience! |
Thanks very much for your help! |
Thanks @scentini and @seanpmorgan ! |
Describe the bug
Since the 20101030 nightly, our library fails when opening the
_parse_time_op.so
because of an undefined symbol error. Typically this occurs when there is an ABI incompatibility between core TensorFlow and our custom-ops.This particular custom-op utilizes absl and the mangled symbol name does not match what our compiled operation thinks it should be. I'm not really sure how this would happen since the rest of the TensorFlow library was compiled with a compatible gcc version.
CC'ing some people who may have insight into how this can happen:
@yifeif @r4nt @perfinion @gunan
I suppose we could make absl a dependency in our TFA build and compile it ourselves but this seems to be going down a bad path.
Failing Log:
https://source.cloud.google.com/results/invocations/a71d103a-ecac-421c-bc53-ef06648fdc9f/targets/tensorflow_addons%2Fubuntu%2Fgpu%2Fpy3%2Fpresubmit/log
The text was updated successfully, but these errors were encountered: