Skip to content

Commit

Permalink
Move tensorflow/tsl/protobuf to xla/tsl/protobuf
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 644440378
  • Loading branch information
ddunl authored and tfx-copybara committed Jun 20, 2024
1 parent f94b329 commit 1f06e44
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
'the TF version doesn\'t match with the TF Serving version. '
'We will try importing again with a workaround:%s', err)
from tensorflow.core.protobuf import error_codes_pb2 as old_error_codes_pb2
from tensorflow.tsl.protobuf import error_codes_pb2 as new_error_codes_pb2
from tensorflow.compiler.xla.tsl.protobuf import error_codes_pb2 as new_error_codes_pb2

old_error_codes_pb2._CODE = new_error_codes_pb2._CODE # pylint: disable=protected-access # pytype: disable=module-attr

# Retry.
Expand Down

0 comments on commit 1f06e44

Please sign in to comment.