Skip to content
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

Adding a hook for loading TF IO native libraries #468

Merged
merged 4 commits into from
Aug 25, 2022

Conversation

Craigacp
Copy link
Collaborator

@Craigacp Craigacp commented Aug 19, 2022

This exposes the C API method to load in a TF IO filesystem plugin. We can't test it without adding a bunch of binaries to the build, but it seems to load TF IO 2.9 without incident. I checked it by loading <python-3.8-venv>/lib/python3.8/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so.

This will help users with issues like #429, though they'll still need to download and unpack TF IO separately.

karllessard
karllessard previously approved these changes Aug 23, 2022
Copy link
Collaborator

@karllessard karllessard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved but there is a small typo in the comments, feel free to merge it right away after fixing it

@@ -108,6 +109,20 @@ public static OpList loadLibrary(String filename) {
}
}

/**
* Loads the filesystem plugin from fielname and registers all the filesystems it supports.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fielname -> filename

Fixing the javadoc typo.
Because it doesn't report all the errors at once.
@karllessard karllessard merged commit 936e379 into tensorflow:master Aug 25, 2022
Craigacp added a commit to Craigacp/tensorflow-java that referenced this pull request Sep 16, 2022
karllessard pushed a commit to karllessard/tensorflow-java that referenced this pull request Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants