Skip to content

Commit

Permalink
fix: Fix Bigframes tensorflow serializer dependencies
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 574226794
  • Loading branch information
matthew29tang authored and Copybara-Service committed Oct 17, 2023
1 parent 598d57d commit b4cdb05
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,9 @@ def serialize(
BigframeSerializer._metadata.custom_commands.append("pip install torcharrow")
elif detected_framework == "tensorflow":
tensorflow_io_dep = "tensorflow-io==" + self._get_tfio_verison()
tensorflow_io_gcs_fs_dep = "tensorflow-io-gcs-filesystem==" + self._get_tfio_verison()
BigframeSerializer._metadata.dependencies.append(tensorflow_io_dep)
BigframeSerializer._metadata.dependencies.append(tensorflow_io_gcs_fs_dep)

# Check if index.name is default and set index.name if not
if to_serialize.index.name and to_serialize.index.name != "index":
Expand Down

0 comments on commit b4cdb05

Please sign in to comment.