Skip to content

Commit

Permalink
Update to the latest FCP version.
Browse files Browse the repository at this point in the history
This also requires updating the TFF version.

Change-Id: I1d434d06b9ce506de67e65e2256b245964e9ac8b
  • Loading branch information
bmclarnon committed Nov 21, 2024
1 parent 7b58aaf commit faeb5a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ python_register_toolchains(
http_archive(
name = "org_tensorflow_federated",
patches = [
# Patch to make TFF v0.88 compatible with TF 2.18.
# Patch to make TFF compatible with TF 2.18.
"//third_party/org_tensorflow_federated:tensorflow_2_18.patch",
],
sha256 = "f34970933f368ef77edabcedc8d00a52845e399412249f0895db06cf98f51455",
strip_prefix = "tensorflow-federated-0.88.0",
url = "https://github.com/google-parfait/tensorflow-federated/archive/v0.88.0.tar.gz",
sha256 = "391dea2c6f3ec1279d802d36703c1cec690c4a1642cc8cd19a078f440b3e7fa8",
strip_prefix = "tensorflow-federated-03b32cfbd38b58bb9c09f2649632c3376cb95163",
url = "https://github.com/google-parfait/tensorflow-federated/archive/03b32cfbd38b58bb9c09f2649632c3376cb95163.tar.gz",
)

# Use a newer version of BoringSSL than what TF gives us, so we can use
Expand Down Expand Up @@ -192,9 +192,9 @@ http_archive(
"//third_party/federated_compute:libcppbor.patch",
"//third_party/federated_compute:visibility.patch",
],
sha256 = "09af33592f41bacd353c25a9820af141328a676767151d22625fccd6d5807fad",
strip_prefix = "federated-compute-9f2706684b91de10f39e5f291847370621d0fce3",
url = "https://github.com/google/federated-compute/archive/9f2706684b91de10f39e5f291847370621d0fce3.tar.gz",
sha256 = "cf811d94df68ccf39123a6782fb237c0eb896bdd679516509d4fb701f577b6fa",
strip_prefix = "federated-compute-57bec0884b2c8a231b10c274e93aadb57a5cde1c",
url = "https://github.com/google/federated-compute/archive/57bec0884b2c8a231b10c274e93aadb57a5cde1c.tar.gz",
)

http_archive(
Expand Down
12 changes: 6 additions & 6 deletions third_party/org_tensorflow_federated/tensorflow_2_18.patch
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ index 57f1c05d7..05bdcd907 100644
+ "@local_xla//xla/client:xla_computation",
+ "@local_xla//xla/service",
+ "@local_xla//xla/service:hlo_proto_cc",
+ "@local_xla//xla/stream_executor",
+ "@local_xla//xla/stream_executor:multi_platform_manager",
+ "@local_xla//xla/stream_executor:platform",
+ "@local_xla//xla/stream_executor/host:host_platform", # buildcleaner: keep # Linking in the host platform here ensures that the stream executor can execute on CPU.
"@org_tensorflow//tensorflow/compiler/jit:xla_cpu_jit", # buildcleaner: keep # Linking in this dependency ensures that XLA can compile its code for the CPU host.
"@org_tensorflow//tensorflow/compiler/tf2xla:common",
Expand All @@ -104,8 +104,8 @@ index 57f1c05d7..05bdcd907 100644
- "@org_tensorflow//tensorflow/compiler/xla/client:xla_computation",
- "@org_tensorflow//tensorflow/compiler/xla/service",
- "@org_tensorflow//tensorflow/compiler/xla/service:hlo_proto_cc",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor:multi_platform_manager",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor:platform",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor/host:host_platform", # buildcleaner: keep # Linking in the host platform here ensures that the stream executor can execute on CPU.
"@org_tensorflow//tensorflow/core:framework",
"@org_tensorflow//tensorflow/core:protos_all_cc",
Expand All @@ -119,14 +119,14 @@ index 57f1c05d7..05bdcd907 100644
+ "@local_xla//xla/client:xla_builder",
+ "@local_xla//xla/client:xla_computation",
+ "@local_xla//xla/service:platform_util",
+ "@local_xla//xla/stream_executor",
+ "@local_xla//xla/stream_executor:platform",
"@org_tensorflow//tensorflow/compiler/tf2xla:common",
- "@org_tensorflow//tensorflow/compiler/xla:shape_util",
- "@org_tensorflow//tensorflow/compiler/xla:xla_data_proto_cc",
- "@org_tensorflow//tensorflow/compiler/xla/client:xla_builder",
- "@org_tensorflow//tensorflow/compiler/xla/client:xla_computation",
- "@org_tensorflow//tensorflow/compiler/xla/service:platform_util",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor:platform",
"@org_tensorflow//tensorflow/core:framework",
"@org_tensorflow//tensorflow/core:protos_all_cc",
"@org_tensorflow//tensorflow/core/platform:statusor",
Expand All @@ -139,7 +139,7 @@ index 57f1c05d7..05bdcd907 100644
+ "@local_xla//xla/client:xla_builder",
+ "@local_xla//xla/client:xla_computation",
+ "@local_xla//xla/service:platform_util",
+ "@local_xla//xla/stream_executor",
+ "@local_xla//xla/stream_executor:platform",
+ "@local_xla//xla/stream_executor/cuda:cuda_platform", # buildcleaner: keep # Linking in the host platform here ensures that the stream executor can execute on GPU.
"@org_tensorflow//tensorflow/compiler/jit:xla_gpu_jit", # buildcleaner: keep # Linking in this dependency ensures that XLA can compile its code for the GPU.
"@org_tensorflow//tensorflow/compiler/tf2xla:common",
Expand All @@ -148,7 +148,7 @@ index 57f1c05d7..05bdcd907 100644
- "@org_tensorflow//tensorflow/compiler/xla/client:xla_builder",
- "@org_tensorflow//tensorflow/compiler/xla/client:xla_computation",
- "@org_tensorflow//tensorflow/compiler/xla/service:platform_util",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor:platform",
- "@org_tensorflow//tensorflow/compiler/xla/stream_executor/cuda:cuda_platform", # buildcleaner: keep # Linking in the host platform here ensures that the stream executor can execute on GPU.
"@org_tensorflow//tensorflow/core:framework",
"@org_tensorflow//tensorflow/core:protos_all_cc",
Expand Down

0 comments on commit faeb5a1

Please sign in to comment.