Skip to content

Commit bbe677d

Browse files
Bump TensorFlow to 2.8.0 (#15)
1 parent 9307f1a commit bbe677d

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ BUILD_MODE ?= opt # can also be dbg
1111
BUILD_CACHE ?= $(TEMP)/xla_extension
1212
TENSORFLOW_GIT_REPO ?= https://github.com/tensorflow/tensorflow.git
1313

14-
# Tensorflow 2.6.0
15-
TENSORFLOW_GIT_REV ?= 919f693420e35d00c8d0a42100837ae3718f7927
14+
# Tensorflow 2.8.0
15+
TENSORFLOW_GIT_REV ?= 3f878cff5b698b82eea85db2b60d65a2e320850e
1616

1717
# Private configuration
1818
BAZEL_FLAGS = --define "framework_shared_object=false" -c $(BUILD_MODE)

Makefile.win

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ TENSORFLOW_GIT_REPO=https://github.com/tensorflow/tensorflow.git
2121
!ENDIF
2222

2323
!IFNDEF TENSORFLOW_GIT_REV
24-
# Tensorflow 2.6.0
25-
TENSORFLOW_GIT_REV=919f693420e35d00c8d0a42100837ae3718f7927
24+
# Tensorflow 2.8.0
25+
TENSORFLOW_GIT_REV=3f878cff5b698b82eea85db2b60d65a2e320850e
2626
!ENDIF
2727

2828
# Private configuration

extension/BUILD

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
load("@org_tensorflow//tensorflow:tensorflow.bzl", "if_cuda_or_rocm",)
22
load("@org_tensorflow//tensorflow:tensorflow.bzl", "if_with_tpu_support",)
3-
load("@org_tensorflow//tensorflow:tensorflow.bzl", "tf_grpc_cc_dependency",)
3+
load("@org_tensorflow//tensorflow:tensorflow.bzl", "tf_grpc_cc_dependencies",)
44
load("@org_tensorflow//tensorflow:tensorflow.bzl", "transitive_hdrs",)
55
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar",)
66

@@ -50,11 +50,13 @@ cc_binary(
5050
"@org_tensorflow//tensorflow/compiler/xla/pjrt:tpu_client",
5151
"@org_tensorflow//tensorflow/core:lib",
5252
"@org_tensorflow//tensorflow/core:lib_internal_impl",
53-
# GRPC Dependency (needed for PjRt distributed)
54-
tf_grpc_cc_dependency(),
55-
] + if_with_tpu_support([
53+
]
54+
# GRPC Dependencies (needed for PjRt distributed)
55+
+ tf_grpc_cc_dependencies()
56+
+ if_with_tpu_support([
5657
"@org_tensorflow//tensorflow/core/tpu:tpu_executor_dlsym_initializer",
57-
]) + if_cuda_or_rocm([
58+
])
59+
+ if_cuda_or_rocm([
5860
"@org_tensorflow//tensorflow/compiler/xla/service:gpu_plugin",
5961
]),
6062
linkopts = ["-shared"],
@@ -100,6 +102,8 @@ genrule(
100102
# Remap llvm paths
101103
d="$${d/llvm\\/include\\/llvm/llvm}"
102104
d="$${d/llvm\\/include\\/llvm-c/llvm-c}"
105+
# Remap mlir paths
106+
d="$${d/mlir\\/include\\/mlir/mlir}"
103107
# Remap google path
104108
d="$${d/src\\/google/google}"
105109
# Remap grpc paths

0 commit comments

Comments
 (0)