Skip to content

Commit

Permalink
Move tsl/platform/{cloud,default,windows} to xla/tsl/platform
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 698575496
  • Loading branch information
ddunl authored and tensorflow-copybara committed Nov 21, 2024
1 parent db746a0 commit 2c9e66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_serving/serving.bzl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library")
load("@local_tsl//tsl/platform/default:build_config.bzl", "py_proto_library")
load("@local_xla//xla/tsl/platform/default:build_config.bzl", "py_proto_library")

def if_oss(oss_value):
"""Returns oss_value if in OSS build env.
Expand Down

1 comment on commit 2c9e66b

@gallir
Copy link

@gallir gallir commented on 2c9e66b Jan 20, 2025

Choose a reason for hiding this comment

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

Just in case, this change make the build of the Doeckerfile.devel to fail:

ERROR: /tensorflow-serving/tensorflow_serving/model_servers/BUILD:52:11: error loading package 'tensorflow_serving/config': at /tensorflow-serving/tensorflow_serving/serving.bzl:2:6: Label '@local_xla//xla/tsl/platform/default:build_config.bzl' is invalid because 'xla/tsl/platform/default' is not a package; perhaps you meant to put the colon here: '@local_xla//xla/tsl:platform/default/build_config.bzl'? and referenced by '//tensorflow_serving/model_servers:platform_config_util'
....

Please sign in to comment.