-
Notifications
You must be signed in to change notification settings - Fork 289
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
NotImplementedError: unable to open file: libtensorflow_io.so #1313
Comments
@dgoldenberg-audiomack With PR #1309, the tensorflow-io-nightly has been switched to depending on tf-nightly. Since there are some changes in tensorflow core repo, tf-nightly's API might be slightly different from tensorflow 2.4.0. For your specific issues, I think if you use a specific tensorflow-io-nightly version earlier than 2021/02/10:
The issue will be resolved for your case for now. |
@yongtang Thanks for your fast response on this one. Oddly, I pushed my configuration back to |
@yongtang Hi, I'm looking to run some code with Tensorflow v.2.3.1. What version of tensorflow io would you recommend that would be compatible with 2.3.1? Also, any way to get a hold of a compatible version which would have this fix for parquet processing? When installing tensorflow-io with pip, any way to cause it not to install tensorflow? I want to make sure I'm using the pre-installed TF 2.3.1 and not change anything there. Thanks. |
@dgoldenberg-audiomack You can find version compatibility on: We normally don't do patch for past releases due to the resource limitation. We can consider it if there is a great need (or for security/vulnerability reasons). |
Thank you for that pointer, @yongtang. Specifically for TF 2.3.1, it was released on Sep 24, 2020. Looking at that table, I see
I assume I'll want to run TF IO 0.16.0. So without a patch to 0.16.0, there is no support for strings in Parquet, which I would classify as a great need. Could we please have this patch generated? Thank you. |
@dgoldenberg-audiomack Do you know the specific commit that fixed this issue? To release a patch we will need the following:
|
@yongtang Hi, I don't know, I was just going by your earlier comment
|
@dgoldenberg-audiomack The issue fixed by #1309 is the API compatibility issue which is different from the comment of |
@yongtang My goal is to be able to read parquet into tf datasets without any issues. We had started this discussion here: #1254. You had added PR #1262 for the fix to that issue. If I'm using this:
then the question is, will I be able to? TF 2.4.0 or 2.4.1, TFRS v0.4.0. What version of TF IO should I use? so that I have the fix for #1254 but also don't get the error described in this ticket:
I'm just looking for a clean deployment. Whether any more fixes or patches are necessary, I cannot tell you. It seems like if I do
then parquet is loaded with no issues. Maybe your fix for #1254 is already in TF IO latest? With this, I don't seem to get the undefined symbol, either... |
To release a version that includes #1262 and works with tensorflow 2.4.x, I think the easiest paths could be:
cc @kvignesh1420 @terrytangyuan any insight on next release? |
@yongtang I think it's better to go with the first option: "Release 0.17.1 with cherry-pick of #1262 and pin to tensorflow 2.4.x" due to the following reasons:
|
V0.17.1 has been released: binaries:
|
@dgoldenberg-audiomack With the release of 0.17.1 the issue should have been fixed. I will close this issue for now, but please feel free to re-open if the issue persists. |
@yongtang Hi. Great, thanks very much for the fix and for the update. |
Running on AWS in EMR, bootstrapping as follows:
Seeing a library load error as below. The code is basically like this:
I'm loading a parquet file like this: Loading s3://my-bucket/dir1/dir2/part-00000-6f1f5a9d-95ac-462c-b148-fcb9404d6972-c000.snappy.parquet
Error:
The text was updated successfully, but these errors were encountered: