-
Notifications
You must be signed in to change notification settings - Fork 277
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
Allow configuring gcs file system in runtime. #1443
Conversation
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
… of the tensorflow package anymore Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
…well, as tensorflow_io_gcs_filesystem will only be imported explicitly so no need to use TF_USE_MODULAR_FILESYSTEM to switch on and off. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This PR is ready for review now. The tensorflow dependency has also been bumped to 2.6.0rc0 to match the upcoming 2.6.0 release. |
/cc @kvignesh1420 @vnvo2409 FYI |
With tensorflow 2.6.0 the s3 and hdfs only exists on tensorflow-io so we do want to make sure everything works fine. |
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.
@yongtang this looks good. Thanks!!
we can update our tests to verify the "configuration on fly" op for s3 and hdfs as well. WDYT? |
@kvignesh1420 Yes. In fact starting tensorflow 2.6, user will have to install tensorflow-io to get S3 and HDFS support. And they don't need
We will need to make sure we can release tensorflow-io 0.20.0 (next version) the same time tensorflow 2.6 is released. |
@yongtang Could you please contribute the Python API and C++ operation for setting file system options introduced by this PR to the core TF repository? There is a need for that API internally and it would be more convenient for that API to exist in core TF instead of tensorflow_io. Thank you. |
@jsimsa Sure I can take a look. |
Hi @yongtang, do you have an ETA for this? This is currently blocking an internal user. |
@jsimsa I am on the road this week but will be back during the weekend. I will work on it starting next week. |
Thank you for the update Yong. |
This is a follow up to PR in tensorflow/io#1443 to add set_configuration support to tensorflow core repo. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This is a follow up to PR in tensorflow/io#1443 to add set_configuration support to tensorflow core repo. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This is a follow up to PR in tensorflow/io#1443 to add set_configuration support to tensorflow core repo. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This is a follow up to PR in tensorflow/io#1443 to add set_configuration support to tensorflow core repo. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
PR #52316: Add support of filesystem_set_configuration to tensorflow core Imported from GitHub PR #52316 This is a follow up to PR in tensorflow/io#1443 to add set_configuration support to tensorflow core repo. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Copybara import of the project: -- a11f081 by Yong Tang <yong.tang.github@outlook.com>: Add support of filesystem_set_configuration to tensorflow core This is a follow up to PR in tensorflow/io#1443 to add set_configuration support to tensorflow core repo. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> -- eb8559d by Yong Tang <yong.tang.github@outlook.com>: Expose tf.experimental.filesystem_set_configuration API Signed-off-by: Yong Tang <yong.tang.github@outlook.com> -- 16ad176 by Yong Tang <yong.tang.github@outlook.com>: Add placeholder SetOption for gcs file system Signed-off-by: Yong Tang <yong.tang.github@outlook.com> PiperOrigin-RevId: 406210322 Change-Id: Ia1fd891a522c6f6a81bfab5c86c00e9940b1084a
* Work in Progress Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix lint Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update WORKSPACE Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Remove TF_USE_MODULAR_FILESYSTEM for s3 and hdfs as they are not part of the tensorflow package anymore Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Remove TF_USE_MODULAR_FILESYSTEM for tensorflow_io_gcs_filesystem as well, as tensorflow_io_gcs_filesystem will only be imported explicitly so no need to use TF_USE_MODULAR_FILESYSTEM to switch on and off. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This is a working in progress PR to have set_configuration support for configuring gcs in runtime.
This PR depends on tensorflow/tensorflow#49951
FYI @vnvo2409
Signed-off-by: Yong Tang yong.tang.github@outlook.com